Bharat Mediratta
b6c1ba7ea6
Use SQL_CALC_FOUND_ROWS instead of doing the search twice, for better performance.
...
Fixes ticket #835 , thanks Joe7!
2009-10-11 11:22:41 -07:00
Chad Kieffer
3e6ba7acc3
Renamed most, if not all css selectors from gName to g-name. Moved a few shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
2009-10-04 00:27:22 -06:00
Chad Kieffer
e1e8904e4a
Convert gDialog and gCancel over to g-dialog and g-cancel. Refactor CSS id's and classes in the login/reset password dialog.
2009-09-30 22:49:36 -06:00
Andy Staudacher
ddb84c84e1
Rename mark_safe() to mark_clean()
2009-08-31 00:42:18 -07:00
Andy Staudacher
effccfd41d
Change all instances of SafeString::of_safe_html() to html::mark_safe() in views.
2009-08-30 07:00:56 -07:00
Andy Staudacher
b4b638be44
Undo url helper changes - url methods no longer return a SafeString.
...
Adding SafeString::of_safe_html() calls where urls are passed as parameters to t() and t2().
2009-08-29 16:28:30 -07:00
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