/[drupal]/contributions/modules/search_files/search_files.module
ViewVC logotype

Log of /contributions/modules/search_files/search_files.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.19.2.24 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 30 21:23:30 2009 UTC (2 months, 3 weeks ago) by thl
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-BETA4
Changes since 1.19.2.23: +23 -4 lines
Diff to previous 1.19.2.23 , to branch point 1.19 , to next main 1.32
#514324 by Thomas Lotterer: implement input validation inspired from patch posted by Brenda Wallace

Revision 1.19.2.23 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 30 20:41:15 2009 UTC (2 months, 3 weeks ago) by thl
Branch: DRUPAL-6--2
Changes since 1.19.2.22: +10 -10 lines
Diff to previous 1.19.2.22 , to branch point 1.19
Database abstraction layer may need to manipulate SQL (e.g. db_query_range appending LIMIT clause) and expects no existing semicolon, so remove ours

Revision 1.19.2.22 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 30 18:11:42 2009 UTC (2 months, 3 weeks ago) by thl
Branch: DRUPAL-6--2
Changes since 1.19.2.21: +13 -7 lines
Diff to previous 1.19.2.21 , to branch point 1.19
make "which" work on all kinds of Unix

Revision 1.19.2.21 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 30 17:41:21 2009 UTC (2 months, 3 weeks ago) by thl
Branch: DRUPAL-6--2
Changes since 1.19.2.20: +22 -16 lines
Diff to previous 1.19.2.20 , to branch point 1.19
#559412 by Thomas Lotterer: compatibility with PostgreSQL

Revision 1.19.2.20 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 30 17:27:32 2009 UTC (2 months, 3 weeks ago) by thl
Branch: DRUPAL-6--2
Changes since 1.19.2.19: +16 -0 lines
Diff to previous 1.19.2.19 , to branch point 1.19
update search_total after manually updating index for attachments or directories, making search results available immediately

Revision 1.19.2.19 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 24 01:26:46 2009 UTC (3 months ago) by jrglasgow
Branch: DRUPAL-6--2
Changes since 1.19.2.18: +7 -7 lines
Diff to previous 1.19.2.18 , to branch point 1.19
since the helper app auto configuration function was moved my fix for
trimming the newline character off os the end of the location of the helper
app needed to be moved as well. This has been done

Revision 1.19.2.18 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 23 21:12:30 2009 UTC (3 months ago) by thl
Branch: DRUPAL-6--2
Changes since 1.19.2.17: +1 -1 lines
Diff to previous 1.19.2.17 , to branch point 1.19
#454588 by Thomas Lotterer: fix helper_path too short

Revision 1.19.2.17 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 23 08:55:24 2009 UTC (3 months ago) by thl
Branch: DRUPAL-6--2
Changes since 1.19.2.16: +96 -0 lines
Diff to previous 1.19.2.16 , to branch point 1.19
#250502 by Thomas Lotterer: make "Autodetect" of helper applications an user choice

Revision 1.19.2.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 23 01:39:23 2009 UTC (3 months ago) by jrglasgow
Branch: DRUPAL-6--2
Changes since 1.19.2.15: +13 -13 lines
Diff to previous 1.19.2.15 , to branch point 1.19
removed the rest of the backticks from the rest of the queries in the
modules

Revision 1.19.2.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 15 23:21:33 2009 UTC (3 months, 1 week ago) by thl
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-BETA3
Changes since 1.19.2.14: +7 -4 lines
Diff to previous 1.19.2.14 , to branch point 1.19
code cosmetics, no functional changes

Revision 1.19.2.14 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 15 23:19:26 2009 UTC (3 months, 1 week ago) by thl
Branch: DRUPAL-6--2
Changes since 1.19.2.13: +38 -80 lines
Diff to previous 1.19.2.13 , to branch point 1.19
usabilit: rearrange menus and split dashboard into independent code pieces grouped by module. This is a prerequisite for enabling/disabling the modules individually

Revision 1.19.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 15 21:24:40 2009 UTC (3 months, 1 week ago) by thl
Branch: DRUPAL-6--2
Changes since 1.19.2.12: +1 -1 lines
Diff to previous 1.19.2.12 , to branch point 1.19
use ugly but orthogonally correct table name search_files_directories_directories

Revision 1.19.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 15 17:18:54 2009 UTC (3 months, 1 week ago) by thl
Branch: DRUPAL-6--2
Changes since 1.19.2.11: +1 -1 lines
Diff to previous 1.19.2.11 , to branch point 1.19
bugfix: need to check form_state instead of form

Revision 1.19.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 15 16:48:38 2009 UTC (3 months, 1 week ago) by thl
Branch: DRUPAL-6--2
Changes since 1.19.2.10: +1 -0 lines
Diff to previous 1.19.2.10 , to branch point 1.19
fix "Undefined variable: output" one more time

Revision 1.19.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 21 21:17:03 2009 UTC (4 months ago) by thl
Branch: DRUPAL-6--2
Changes since 1.19.2.9: +1 -0 lines
Diff to previous 1.19.2.9 , to branch point 1.19
#514324 by Thomas Lotterer: import fix for "Undefined variable: output" from patch posted by Brenda Wallace

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 21 21:16:52 2009 UTC (4 months ago) by thl
Branch: MAIN
CVS Tags: HEAD
Changes since 1.31: +2 -1 lines
Diff to previous 1.31
#514324 by Thomas Lotterer: import fix for "Undefined variable: output" from patch posted by Brenda Wallace

Revision 1.19.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 19 22:24:46 2009 UTC (4 months, 1 week ago) by thl
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-BETA2
Changes since 1.19.2.8: +15 -15 lines
Diff to previous 1.19.2.8 , to branch point 1.19
obey coder module review of Coding Standards, Commenting Standards, SQL Standards, Security Checks reviews and fix warnings at or above "minor" level; no functional changes

Revision 1.19.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 19 21:33:11 2009 UTC (4 months, 1 week ago) by thl
Branch: DRUPAL-6--2
Changes since 1.19.2.7: +24 -33 lines
Diff to previous 1.19.2.7 , to branch point 1.19
name space and visible text cleanup: SQL statement unification, WHERE argument bracketing, natural SQL statements using terminating semicolon and single quotes for strings, no quotes for numbers, leaving double quotes for the whole statement; cosmetics with spaces, indentation and case, put small statements in a single line, fold large statements across multiple lines; fix typos; use appropriate database table and row quoting; no functional changes

Revision 1.19.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jul 18 20:19:09 2009 UTC (4 months, 1 week ago) by thl
Branch: DRUPAL-6--2
Changes since 1.19.2.6: +6 -6 lines
Diff to previous 1.19.2.6 , to branch point 1.19
name space cleanup: functions, database tables and rows; schema update

Revision 1.19.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 28 00:29:11 2009 UTC (4 months, 4 weeks ago) by thl
Branch: DRUPAL-6--2
Changes since 1.19.2.5: +72 -3 lines
Diff to previous 1.19.2.5 , to branch point 1.19
#504204 by Thomas Lotterer: Added dashboard as default local task to search_files menu to allow some status insight. Merge from search_files.module 1.31.

Revision 1.19.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 28 00:23:11 2009 UTC (4 months, 4 weeks ago) by thl
Branch: DRUPAL-6--2
Changes since 1.19.2.4: +8 -1 lines
Diff to previous 1.19.2.4 , to branch point 1.19
#504204 by Thomas Lotterer: Added detection for PHP safe_mode and skip over shell_exec() which would fail anyway. Merge from search_files.module 1.30.

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 22 21:45:04 2009 UTC (5 months ago) by thl
Branch: MAIN
Changes since 1.30: +65 -3 lines
Diff to previous 1.30
#430096 by Thomas Lotterer: Added dashboard as default local task to search_files menu to allow some status insight.

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 22 21:44:53 2009 UTC (5 months ago) by thl
Branch: MAIN
Changes since 1.29: +12 -0 lines
Diff to previous 1.29
#430096 by Thomas Lotterer: Added detection for PHP safe_mode and skip over shell_exec() which would fail anyway.

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 22 21:44:38 2009 UTC (5 months ago) by thl
Branch: MAIN
Changes since 1.28: +17 -2 lines
Diff to previous 1.28
#430096 by Thomas Lotterer: Changed hardcoded "Directory Rescan Age" into a configurable parameter

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 22 21:44:27 2009 UTC (5 months ago) by thl
Branch: MAIN
Changes since 1.27: +8 -3 lines
Diff to previous 1.27
#430096 by Thomas Lotterer: Added support for relative pathes. Changed handling of trailing slash to be more user friendly.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 22 21:44:15 2009 UTC (5 months ago) by thl
Branch: MAIN
Changes since 1.26: +10 -7 lines
Diff to previous 1.26
#430096 by Thomas Lotterer: Fixed issue with files vanished after being indexed. Skip over them, otherwise otherwise functions like filectime() will get passed a nonexistent file name and fail.

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 22 21:44:03 2009 UTC (5 months ago) by thl
Branch: MAIN
Changes since 1.25: +6 -0 lines
Diff to previous 1.25
#430096 by Thomas Lotterer: Fixed issue with files vanished before being indexed. Skip over them, otherwise helper applications will get passed a nonexistent file name and fail.

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 22 21:43:48 2009 UTC (5 months ago) by thl
Branch: MAIN
Changes since 1.24: +26 -0 lines
Diff to previous 1.24
#430096 by Thomas Lotterer: Fixed functional gap where vanished files were not handled at all. Regularly compare database to filesystem and remove vanished files from database. Create and leverage function search_files_delete_content_by_file_fullpath().

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 22 21:43:30 2009 UTC (5 months ago) by thl
Branch: MAIN
Changes since 1.23: +15 -23 lines
Diff to previous 1.23
#430096 by Thomas Lotterer: Added code to clear associated data from search_dataset, search_files_files and search_files_directories tables when manually deleting a directory. Create and leverage function search_files_delete_content_by_directory_fullpath().

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 22 21:43:14 2009 UTC (5 months ago) by thl
Branch: MAIN
Changes since 1.22: +0 -1 lines
Diff to previous 1.22
#430096 by Thomas Lotterer: Fixed superfluous debugging output.

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 22 21:42:59 2009 UTC (5 months ago) by thl
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21
#430096 by Thomas Lotterer: Fixed configuration of "Search Label" must use #default_value not #value.

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 22 21:41:58 2009 UTC (5 months ago) by thl
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20
#430096 by Thomas Lotterer: Fixed typo.

Revision 1.19.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 22 15:29:55 2009 UTC (7 months ago) by jrglasgow
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-BETA1
Changes since 1.19.2.3: +2 -2 lines
Diff to previous 1.19.2.3 , to branch point 1.19
made admin/settings/search_files/helpers MENU_DEFAULT_LOCAL_TASK

Revision 1.19.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 22 15:25:54 2009 UTC (7 months ago) by jrglasgow
Branch: DRUPAL-6--2
Changes since 1.19.2.2: +14 -14 lines
Diff to previous 1.19.2.2 , to branch point 1.19
code cleanup: replace all tabs with spaces

Revision 1.19.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 12 16:35:34 2009 UTC (10 months, 1 week ago) by lee20
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-0-ALPHA1
Changes since 1.19.2.1: +9 -6 lines
Diff to previous 1.19.2.1 , to branch point 1.19
Implemented static caching when retrieving helper information.

Revision 1.17.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 9 23:53:48 2009 UTC (10 months, 2 weeks ago) by schildi
Branch: DRUPAL-5
Changes since 1.17.2.4: +2 -2 lines
Diff to previous 1.17.2.4 , to branch point 1.17 , to next main 1.32
*** empty log message ***

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 6 15:26:38 2009 UTC (10 months, 2 weeks ago) by jrglasgow
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19
#355011 by artur.ejsmont: added missing call to db_query()

Revision 1.17.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 24 21:18:13 2008 UTC (11 months ago) by schildi
Branch: DRUPAL-5
Changes since 1.17.2.3: +41 -105 lines
Diff to previous 1.17.2.3 , to branch point 1.17
Applied patches sent  by the community. See
* 349232
* 348806#comment-1169817 (partially applied)

Revision 1.17.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 8 16:33:01 2008 UTC (11 months, 2 weeks ago) by schildi
Branch: DRUPAL-5
Changes since 1.17.2.2: +3 -3 lines
Diff to previous 1.17.2.2 , to branch point 1.17
Applied "save settings" patch described in http://drupal.org/node/266127

Revision 1.17.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 28 10:55:33 2008 UTC (11 months, 4 weeks ago) by schildi
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-1-BETA1
Changes since 1.17.2.1: +43 -45 lines
Diff to previous 1.17.2.1 , to branch point 1.17
updates code to be in sync with revision 1.19 of D6.
After that merging with "search_attachments" wil start.

Revision 1.17.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 28 09:44:04 2008 UTC (11 months, 4 weeks ago) by schildi
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-0-RC1
Changes since 1.17: +350 -136 lines
Diff to previous 1.17
Initial version of backport to D5 as supplied by elpepeuy.

Revision 1.19.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 27 10:00:42 2008 UTC (12 months, 4 weeks ago) by lee20
Branch: DRUPAL-6--2
Changes since 1.19: +64 -596 lines
Diff to previous 1.19
First commit after merging search_files with search_attachments. A bit messy, but mostly functional. Still needs another iteration of testing and code review.

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 5 16:59:32 2008 UTC (14 months, 2 weeks ago) by jrglasgow
Branch: MAIN
Branch point for: DRUPAL-6--2
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
Added filename to text string being indexed. now at the begining of the indexed string ther is 'file name: '.  .', text: '. . This is a personal request from jbrauer.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 20 15:14:25 2008 UTC (17 months ago) by jrglasgow
Branch: MAIN
CVS Tags: DRUPAL-6--1-6
Changes since 1.17: +40 -40 lines
Diff to previous 1.17
adds better support for localization, issue [#272496]

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 11 09:49:45 2008 UTC (19 months, 2 weeks ago) by jrglasgow
Branch: MAIN
CVS Tags: DRUPAL-5--1-2, DRUPAL-6--1-4, DRUPAL-6--1-5
Branch point for: DRUPAL-5
Changes since 1.16: +10 -1 lines
Diff to previous 1.16
added some more watchdog entries, trying to troubleshoot issue[#243784]

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 10 12:36:01 2008 UTC (19 months, 2 weeks ago) by jrglasgow
Branch: MAIN
CVS Tags: DRUPAL-6--1-3
Changes since 1.15: +10 -2 lines
Diff to previous 1.15
fixed issue [#244834]

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 7 16:32:04 2008 UTC (19 months, 2 weeks ago) by jrglasgow
Branch: MAIN
Changes since 1.14: +8 -10 lines
Diff to previous 1.14
changed search_files_menu() function to use MENU_DEFAULT_LOCAL_TASK

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 1 00:38:26 2008 UTC (19 months, 3 weeks ago) by jrglasgow
Branch: MAIN
Changes since 1.13: +6 -6 lines
Diff to previous 1.13
fixed problem where it continually not incrementing files that had failed indexng too many times

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 30 06:19:40 2008 UTC (19 months, 3 weeks ago) by jrglasgow
Branch: MAIN
CVS Tags: DRUPAL-6--1-2
Changes since 1.12: +3 -4 lines
Diff to previous 1.12
coding standards as per coder module

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 30 05:44:49 2008 UTC (19 months, 3 weeks ago) by jrglasgow
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11
changed the way we record a failed index on a file

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 30 04:19:25 2008 UTC (19 months, 3 weeks ago) by jrglasgow
Branch: MAIN
Changes since 1.10: +7 -5 lines
Diff to previous 1.10
fixed type in directory_add_submit function, plus added text to indicate to user that it may take up to one day to start indexing

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 30 03:06:05 2008 UTC (19 months, 4 weeks ago) by jrglasgow
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9
edits for the helper apps wasn't saving, I was using the form_values['values'] array which aparrently is the default values so I switched to form_values['clicked_button']['#post'] array, this works

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 30 01:22:47 2008 UTC (19 months, 4 weeks ago) by jrglasgow
Branch: MAIN
Changes since 1.8: +2 -3 lines
Diff to previous 1.8
when after we fail to index the file 5 times we set a watchdog message, change the type from emergency to error

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 29 21:38:19 2008 UTC (19 months, 4 weeks ago) by jrglasgow
Branch: MAIN
Changes since 1.7: +183 -13 lines
Diff to previous 1.7
add inline documentation in accordance with Drupal coding standards

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 29 18:26:46 2008 UTC (19 months, 4 weeks ago) by jrglasgow
Branch: MAIN
Changes since 1.6: +10 -4 lines
Diff to previous 1.6
instead of listing the directories once per cron run and putting the files in the search_files_files table, only do it once per day

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 29 16:29:26 2008 UTC (19 months, 4 weeks ago) by jrglasgow
Branch: MAIN
Changes since 1.5: +43 -37 lines
Diff to previous 1.5
implemented tracking how many times indexing attempts are made, attempts are stopped after maximum of 5

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 29 04:39:43 2008 UTC (19 months, 4 weeks ago) by jrglasgow
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4
I had it relying on a funcition in another module that was recently disabled, I forgot to update the funciton name to use the fnstion in this module

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 29 03:46:48 2008 UTC (19 months, 4 weeks ago) by jrglasgow
Branch: MAIN
CVS Tags: DRUPAL-6--1-1
Changes since 1.3: +12 -1 lines
Diff to previous 1.3
fixes to hook_schema(), mainly I forgot to add the fields in the  tables, and the whole thing was commented out

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 29 02:30:05 2008 UTC (19 months, 4 weeks ago) by jrglasgow
Branch: MAIN
Changes since 1.2: +5 -2 lines
Diff to previous 1.2
added support for 'view search_files results' in user_access()

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 29 02:16:29 2008 UTC (19 months, 4 weeks ago) by jrglasgow
Branch: MAIN
Changes since 1.1: +1 -12 lines
Diff to previous 1.1
removed extra variables, added support for using search modules indeing limit per cron run

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 29 01:54:28 2008 UTC (19 months, 4 weeks ago) by jrglasgow
Branch: MAIN
CVS Tags: DRUPAL-6--1-0
initial commit of search_files

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2