Bharat Mediratta
cc0fcc8961
Use a clearer query syntax for deleting extra search and exif records (thanks Romain LE DISEZ)
2009-05-10 18:44:03 +00:00
Tim Almdal
0fdc4639c3
Remove duplicate word from status message
2009-04-21 14:41:06 +00:00
Bharat Mediratta
6c911d2d7c
Make the task iteration duration 1 second instead of 500ms.
2009-04-21 04:16:30 +00:00
Bharat Mediratta
ace6335e64
Add a key on item_id for the search_records table so that when we left
...
join it against the item table to find missing ids it's fast.
2009-04-21 03:12:14 +00:00
Bharat Mediratta
1d6554764c
Make the update_index task continue until it has used half a second
...
before stopping. This is *way* more efficient than just doing 2 per
request.
2009-04-17 10:02:13 +00:00
Bharat Mediratta
d7719a7e72
Gracefully deal with the case where we resume a stalled task but there
...
was no work left to be done. This fixes a divide by zero error.
2009-03-26 20:26:06 +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
938bca7601
Remove back ticks from sql
2009-03-18 03:35:08 +00:00
Tim Almdal
8e1817d4e4
Couple of sql statements that had incorrect prefix handling or no
...
prefix handling.
2009-03-18 01:20:30 +00:00
Tim Almdal
7dae7dc510
Strip down the loin page (not sure if this is what bharat had in mind)
2009-03-12 03:54:17 +00:00
Bharat Mediratta
f32f1697c9
Get rid of Task_Definition types: they're not necessary. This
...
incidentally fixes the the problem that admin/maintenance tasks have
been broken.
2009-03-09 07:02:09 +00:00
Bharat Mediratta
23937ff135
Avoid using default task types. Require task::get_definitions() to
...
specify a single type and ask for it appropriately in
admin_maintenance. Specify a type for every existing task.
2009-03-05 06:38:11 +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
c04ff8e02f
Change the pattern to identify tables that need prefix substitution to
...
mirror the drupal pattern of using braces {}.
2009-02-28 06:37:28 +00:00
Tim Almdal
bd15853708
This implements table prefix for all the queries in core, user, exif,
...
tag, search, comment and notification modules (Ticket #68 )
2009-02-27 21:07:18 +00:00
Chad Kieffer
5dad40b1ae
Ticket #2 . Tighten up search results UI.
2009-02-13 03:21:19 +00:00
Tim Almdal
0836f507f2
Corrected indentation
2009-02-12 16:17:20 +00:00
Tim Almdal
2df75c11fb
Correct typo in variable name
2009-02-12 14:02:11 +00:00
Chad Kieffer
67d551d5e3
jQuery-based buttons! Form updates, short form updates. Need to fix add user/group buttons and search form on search results page.
2009-02-06 06:34:47 +00:00
Tim Almdal
a70f3bf386
Have the quick delete file "item_before_delete" so that search and
...
notification modules can do their thing. In addition, correct search
so it works properly and doesn't try to create an Item_id_Model class.
2009-02-02 04:58:19 +00:00
Bharat Mediratta
51f13f0ca2
Reconcile search_records and items when we list the tasks so that we can tell if there're any out of date records that need updating
2009-02-02 01:24:13 +00:00
Bharat Mediratta
d728e274f6
First time running search maintenance task, remove any search_records
...
that are missing matching items.
2009-02-02 01:13:52 +00:00
Tim Almdal
9275742ef9
Change the event handlers for maintaining the search index to update
...
the index when items change.
2009-01-18 23:23:12 +00:00
Tim Almdal
dd5be1ece0
Remove blank line at the top of the file
2009-01-18 16:55:55 +00:00
Bharat Mediratta
883db822f1
Update the index right away if there are only < 10 items
2009-01-18 09:08:51 +00:00
Bharat Mediratta
3d1ea2904d
Rename theme callback helpers from xxx_block to xxx_theme to make room
...
for us to rename the dashboard helper to be a block helper since
sidebar blocks are not just in the dashboard.
2009-01-18 05:01:00 +00:00
Bharat Mediratta
58402f6fbf
Fix typo.. rebuild_index -> update_index
2009-01-17 05:27:15 +00:00
Bharat Mediratta
ccff396fae
Fix a silly bug in item_created()
2009-01-17 05:22:07 +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
Bharat Mediratta
f3ba69c1d6
Make sure that helper functions are all static. Add new
...
File_Structure_Test to make sure we don't regress.
According to the PHP docs, the "public" keyword is implied on static
functions, so remove it. Also, require private static functions to
start with an _.
http://php.net/manual/en/language.oop5.visibility.php
2009-01-14 04:12:02 +00:00
Andy Staudacher
a631fe29f3
i18n refactoring: Rename all _() (reserved by gettext) calls to t().
...
- And refactor printf to our string interpolation / pluralization syntax
- Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2009-01-08 17:13:06 +00:00
Bharat Mediratta
6399081494
Update description.
2009-01-04 00:30:05 +00:00
Bharat Mediratta
cd1d023754
Change the preamble for views in two ways:
...
1) drop unnecessary semicolon
2) start with <?php for extra security in the case that the server itself doesn't
have short_tags enabled (the app won't work, but we need to make sure that we're
still secure)
2009-01-01 00:23:29 +00:00
Bharat Mediratta
fe27bd1eb3
Change the way that we track modules.
...
Each module now has a "module.info" file that has information about
the module, including the core. We can display the installed version,
and the version in the code.
Also take a first shot at a modules admin page.
2008-12-22 03:41:33 +00:00
Chad Kieffer
3c05b95620
Added JS to set/reset simple forms' input values to their corresponding labels' value. Labels should always be used with visible inputs. Use this to style and control short form input display and behavior.
2008-12-17 00:45:52 +00:00
Chad Kieffer
92102c891c
Layout cleanup and simplification. Move view-mode buttons into sidebar, search to header_top. Reduced borders. Started album grid improvements. Minor white space improvements. Still need to handle text/photo alignment in album grid, improve placement of search.
2008-12-13 23:02:16 +00:00
Bharat Mediratta
c95c17b133
Centralize logging around installing/uninstalling modules.
2008-11-27 09:45:26 +00:00
Bharat Mediratta
51ada4c2e2
Move search out into its own module and have it display its link at
...
the header_bottom() insertion point.
2008-11-23 08:08:12 +00:00