Macro criteria (not actions) as one additional criteria format.

NEW
Unassigned

Status

enhancement
P3
normal
19 years ago
4 years ago

People

(Reporter: netdragon, Unassigned)

Tracking

(Depends on 1 bug)

Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

19 years ago
There should be the ability to write javascript filters (as macros). These 
filters would act just like c++ filter code, but would be possible for users to 
enter through the Macro IDE - and reference in the filters box. These macros 
would called the registered function that does the events. These macros would be 
written in the IDE.
Reporter

Comment 1

19 years ago
Added dependancy
Depends on: 59337
Reporter

Comment 2

19 years ago
Added another dependancy (never done this before).
Depends on: 59335

Comment 3

19 years ago
fixing summary.

To clarify the difference between this bug and bug 59341, this is a bug for
having an entire filter (criteria AND actions) written in JavaScript
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Javascript filters as macros → Javascript filters
Reporter

Comment 4

19 years ago
Instead of both the action AND criteria portion of the filters. This bug 
is only for macros (javascript programmable and storable scripts for the end 
user) for the criteria section. It would send the action to the registered 
action for the macro. Basically, one would hit new filter - choose the criteria 
to be the macro, then choose the action to be whatever. When the script is run, 
it would call the registered action just like a normal criteria code would.
No longer depends on: 59337
Reporter

Updated

19 years ago
Depends on: 59368
Summary: Javascript filters → Javascript filter criteria (not actions)

Comment 5

19 years ago
reassigning my filter bugs to gayatrib..
Assignee: alecf → gayatrib
Reporter

Comment 6

19 years ago
I agreed with alecf that I should add individual bugs for each format. This 
format will consist of the following...

"if <Macro Filter> returns a match"

This filter will run a macro filter (javascript only for now) - that will pass 
all the matches to the registered Action for this filter.

For Macro Filters, there will be a drop down box that you can choose the macros. 
Please refer to bug 59335 for info on Macros.

This will give the user more functionality in filters. IE - they can create 
their own criteria this way.
Summary: Javascript filter criteria (not actions) → Macro criteria (not actions) as one additional criteria format.

Updated

19 years ago
QA Contact: esther → laurel
Reporter

Updated

19 years ago
Blocks: 66425

Comment 7

18 years ago
reassigning to naving
Assignee: gayatrib → naving
I think that bug 59821(this), and bug 59341, and bug 59339 should be marked as
dupes of bug 11037.
mass re-assign.
Assignee: naving → sspitzer
Product: MailNews → Core
sorry for the spam.  making bugzilla reflect reality as I'm not working on these bugs.  filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Filter on "Nobody_NScomTLD_20080620"
QA Contact: laurel → filters
Product: Core → MailNews Core
Duplicate of this bug: 488016
how does this differ from bug 59335?
the logic escapes me at this early hour.

Updated

4 years ago
See Also: → 323773
You need to log in before you can comment on or make changes to this bug.