Commit Graph

17 Commits

Author SHA1 Message Date
Tim Almdal
eb90fc9e63 Remove debugging print statement in search.php
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-07-30 01:32:24 +08:00
Bharat Mediratta
44bc74edb9 Change search callbacks to use the event system, so move them out of
xxx_search helpers and into xxx_event helpers.
2009-07-28 20:30:34 -07:00
Romain LE DISEZ
350c1b0267 Use BOOLEAN instead of integer to describe the permissions :
- DENY = false
 - ALLOW = true
 - UNKNOW = null  (for intent only)
 - INHERIT = null (for cache)

Upgrade is not included for now.
(cherry picked from commit 719c59e040)
2009-07-23 09:11:55 -07:00
Bharat Mediratta
788a458a11 Remove success logging. Only log on errors, otherwise the log is huge. 2009-07-19 13:43:06 -07:00
Tim Almdal
e7e2d99255 Revert "Revert "Add task logging to the "Update Search Index" task""
This reverts commit 5118afc959.
2009-07-09 08:43:42 -07:00
Tim Almdal
5118afc959 Revert "Add task logging to the "Update Search Index" task"
This reverts commit 6ac5238b83.
2009-07-09 08:39:00 -07:00
Tim Almdal
6ac5238b83 Add task logging to the "Update Search Index" task 2009-07-08 09:27:37 -07:00
Romain LE DISEZ
da09185a4b SQL is case insensitive
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-24 06:05:56 +08:00
Romain LE DISEZ
297ac6ebd1 Improve compatibility with other RDBMS
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-24 06:05:48 +08:00
Bharat Mediratta
7aed923908 Restructure the module lifecycle.
Install: <module>_installer::install() is called, any necessary tables
are created.

Activate: <module>_installer::activate() is called.  Module
controllers are routable, helpers are accessible, etc.  The module is
in use.

Deactivate: <module>_installer::deactivate() is called.  Module code
is not accessible or routable.  Module is *not* in use, but its tables
are still around.

Uninstall: <module>_installer::uninstall() is called.  Module is
completely removed from the database.

Admin > Modules will install and activate modules, but will only
deactivate (will NOT uninstall modules).
2009-05-26 05:28:59 +00:00
Bharat Mediratta
774e0b3737 Avoid complex inserts in available_tasks() to make admin/maintenance
run faster.  This fixes ticket #235.

Incidentally, refactor exif and search to use the same patterns
overall so that if you understand one, you understand the other and
they generally use the same strings for localization.
2009-05-20 06:10:14 +00:00
Bharat Mediratta
5495037a3d Gee it's May already. Update copyright to 2009. 2009-05-13 20:04:58 +00:00
Andy Staudacher
ed7175092c Refactor all translation strings that have ambiguous placeholders.
E.g. "%link_startClick here%link_end" is now '<a href="%url">Click here</a>'.

Note: This isn't always the best solution. E.g. consider "Foo <a href='%url' class='gDialogLink'>bar</a>." Now the translator has to deal with 
preserving CSS classes too...
2009-03-21 07:44:46 +00:00
Tim Almdal
7bcab31f5d Fix issue identified by security review... some table names where not
being translated.
2009-03-03 03:52:21 +00:00
Tim Almdal
2df75c11fb Correct typo in variable name 2009-02-12 14:02:11 +00:00
Bharat Mediratta
58402f6fbf Fix typo.. rebuild_index -> update_index 2009-01-17 05:27:15 +00:00
Bharat Mediratta
d568a1e9fd Implement relevance ranked boolean searching on a full text index of
item and comment data.  Whew!

It's not pretty yet.  And you have to manually update the index
currently in admin/maintenance.  But it works.
2009-01-17 00:52:50 +00:00