Commit Graph

55 Commits

Author SHA1 Message Date
Miguel Dantas ab3e8ce21d [LIB_REFACTOR] Fix requires 2021-07-16 19:44:34 +01:00
Miguel Dantas 2ab2e22a36 [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00
Siebrand Mazeland 65045a26f3 * update translator documentation.
* remove superfluous whitespace.
* L10n updates.
* small refactoring in publicrss.php.
* remove PHP4-isms
2011-02-17 20:58:22 +01:00
Brion Vibber 53c86c43c4 Bringing Sphinx search support up to code: broken out to a plugin, now supports multiple sites on a single server.
Upgrade notes:
* Index names have changed from hardcoded 'Identica_people' and 'Identica_notices' to use the database name and actual table names. Must reindex.

New events:
* GetSearchEngine to override default search engine class selection from plugins

New scripts:
* gen_config.php generates a sphinx.conf from database configuration (with theoretical support for status_network table, but it doesn't seem to be cleanly queriable right now without knowing the db setup info for that. Needs generalized support.)
* Replaced old sphinx-indexer.sh and sphinx-cron.sh with index_update.php

Other fixes:
* sphinx.conf.sample better matches our live config, skipping unused stopword list and using a more realistic indexer memory limit

Further notes:
* Probably doesn't work right with PostgreSQL yet; Sphinx can pull from PG but the extraction queries currently look like they use some MySQL-specific functions.
2009-11-10 13:44:40 -08:00
Sarven Capadisli 277b464054 Created autofocus method to give focus to an element (primarily a form
control) on page onload.

Updated some of the pages to use autofocus.
2009-09-03 19:42:50 +00:00
Evan Prodromou df86aa7214 define LACONICA and accept LACONICA for backwards compatibility 2009-08-26 10:41:36 -04:00
Evan Prodromou 865b716f09 change LACONICA to STATUSNET 2009-08-25 18:42:34 -04:00
Evan Prodromou ae883ceb9b change controlyourself.ca to status.net 2009-08-25 18:19:04 -04:00
Evan Prodromou d35b2d3f3c change laconi.ca to status.net 2009-08-25 18:16:46 -04:00
Evan Prodromou 4737563b95 a distributed -> the distributed 2009-08-25 18:14:12 -04:00
Evan Prodromou c8b8f07af1 change Laconica and Control Yourself to StatusNet in PHP files 2009-08-25 18:12:20 -04:00
Evan Prodromou 72d0ee4e25 move peoplesearchresults class to action/peoplesearch 2009-07-03 10:10:12 -04:00
Evan Prodromou aec6456c91 Update copyright dates in files modified in 2009 2009-06-20 16:12:55 -07:00
Evan Prodromou 793a6a1155 change Controlez-Vous to Control Yourself 2009-06-20 16:00:04 -07:00
Robin Millette 9ad8307b7e external search now depends on site.server. 2009-04-06 05:04:11 +00:00
Robin Millette 84d2aa7df4 refactored search suggestions and added forgotten sprintf. 2009-04-06 01:14:59 +00:00
Robin Millette 1ee24a2aaf added filler text to people search, suggesting other search options. 2009-04-05 23:11:40 +00:00
Evan Prodromou d1b2a9d708 Somewhat better behaviour with mixed caps in search
Deal somewhat better with mixed caps in people and notice search.
2009-03-19 11:01:58 -04:00
Evan Prodromou d8b6762e6d move peoplesearchresults to its own module 2009-02-18 09:35:59 -05:00
Robin Millette 0f6bc2190a mark a bunch of actions read-only 2009-01-23 09:15:15 +00:00
Robin Millette 4a4efc3b0a uiredesign 2009-01-23 01:00:57 +00:00
Evan Prodromou eaa81d25fa Convert all actions to use new UI functions
I did a massive search-and-replace to get all the action subclasses to
use the new output function (common_element() -> $this->element(), etc.)

There's still a lot to do, but it's a first step
2009-01-15 22:57:15 +00:00
Evan Prodromou b264c03d32 move opening brace of class declaration to next line
Another gigantor PEAR coding standards patch. Here, I've moved the
opening curly bracket on a class statement to the following line.

darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
2008-12-23 14:49:23 -05:00
Evan Prodromou 04ef1ba8ee change function headers to K&R style
Another huge change, for PEAR code standards compliance. Function
headers have to be in K&R style (opening brace on its own line),
instead of having the opening brace on the same line as the function
and parameters. So, a little perl magic found all the function
definitions and move the opening brace to the next line (properly
indented... usually).

darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
2008-12-23 14:33:23 -05:00
Evan Prodromou eb2f9c98ac replace NULL with null
Another global search-and-replace update. Here, I've replaced the PHP
keyword 'NULL' with its lowercase version. This is another PEAR code
standards change.

darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
2008-12-23 14:21:29 -05:00
Evan Prodromou edbc0c665c replace all tabs with four spaces
The PEAR coding standards decree: no tabs, but indent by four spaces.
I've done a global search-and-replace on all tabs, replacing them by
four spaces. This is a huge change, but it will go a long way to
getting us towards phpcs-compliance. And that means better code
readability, and that means more participation.

darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
2008-12-23 14:19:07 -05:00
millette 095ff0feed conflict resolution on people search
darcs-hash:20081123190555-099f7-cd09b07e99355e2f61562324221840f869fea5bb.gz
2008-11-23 14:05:55 -05:00
millette 6b29f6ed70 sphinx integration for notices and profiles
darcs-hash:20081123185136-099f7-ca600dbdfff09762802e1cc58cf8777c45a24402.gz
2008-11-23 13:51:36 -05:00
millette bf72cde96f sphinx search for notices
darcs-hash:20081120215041-099f7-db396a60755d551099122b58634b7550d5606d88.gz
2008-11-20 16:50:41 -05:00
millette 0bd6f76451 sphinx search of people
darcs-hash:20081120211347-099f7-d5588788dcd9a16cf72ece59da3d2bf9b8171b85.gz
2008-11-20 16:13:47 -05:00
Evan Prodromou d94e5f57ac correct constructor for PeopleSearchResults
darcs-hash:20081120105223-84dde-d4b44f20e9bd0e3ce96e6834e04ad05cb451ba6a.gz
2008-11-20 05:52:23 -05:00
Evan Prodromou d1361c6e27 abstract people lists from search results
darcs-hash:20081120105027-84dde-e1c0faace07d9f2439d3a51a42cfe83464da5319.gz
2008-11-20 05:50:27 -05:00
CiaranG 3632a76773 PostgreSQL: support for full text searching (notice and people)
darcs-hash:20080914201744-f6e2c-71b2a3aec4c0b91557465323d79645e7eab2bfd1.gz
2008-09-14 16:17:44 -04:00
Mike Cochrane 08dfd72bad A couple more notice errors
darcs-hash:20080720025546-533db-7044949bfaa6676c86f3e1d84d20ecb85aab0937.gz
2008-07-19 22:55:46 -04:00
Evan Prodromou 7853df51ce quote match terms
darcs-hash:20080718183534-84dde-a8cdb4cbcb3eb67152eb74179e3b00061e2287cf.gz
2008-07-18 14:35:34 -04:00
Mike Cochrane 8b32942658 Trailing whitespace on lines
darcs-hash:20080710051201-533db-2d5fb38710ce1dedcb6e161b08e31611dbaba666.gz
2008-07-10 01:12:01 -04:00
Mike Cochrane ce2b174c4a More _t( to _( and sprintfs in new code
darcs-hash:20080710051035-533db-4a3d824a50545b8a291a81059dcbb97487a13630.gz
2008-07-10 01:10:35 -04:00
Evan Prodromou 573de867aa lost a closing tag in peoplesearch
darcs-hash:20080710042930-84dde-e8caef45ae3efb095c81f62736d2cf888b2b85ef.gz
2008-07-10 00:29:30 -04:00
Evan Prodromou 354ee48eee better highlighting in URL
darcs-hash:20080709231638-84dde-91dd99af8fbeae8b2400543913efedec3938b2aa.gz
2008-07-09 19:16:38 -04:00
Evan Prodromou 161cbe6f5d found missing second term
darcs-hash:20080709231539-84dde-4414d122b3b396d31d393ab2f74b0d51758afbc2.gz
2008-07-09 19:15:39 -04:00
Evan Prodromou 86f02018cd some debug code to find a problem with terms
darcs-hash:20080709231503-84dde-e9a00ec6b5c038c8ea7fab62a61f3d9de2dbe2c8.gz
2008-07-09 19:15:03 -04:00
Evan Prodromou 9d3b7e3d7a require search action lib in search actions
darcs-hash:20080709231217-84dde-2df00042fd1a0c571f232ad0815b191af043c5a0.gz
2008-07-09 19:12:17 -04:00
Evan Prodromou 6eb9e89209 refactor common code between searches and between search and settings
darcs-hash:20080709231031-84dde-929095ca3844ed6fe7ebd535fc9696678a5fcb0f.gz
2008-07-09 19:10:31 -04:00
Evan Prodromou 7469d14787 specialchars() text in search results
darcs-hash:20080709225942-84dde-80c201825f566af717456f13d17e7382ce234692.gz
2008-07-09 18:59:42 -04:00
Evan Prodromou 09e1b247f9 highlight homepage in search results
darcs-hash:20080709225929-84dde-ddc83a90cb56f9abdd596561eeebb6ce078e5e5a.gz
2008-07-09 18:59:29 -04:00
Evan Prodromou ecac2ebf4e better instructions
darcs-hash:20080709223910-84dde-dc2e01e3fddb335b84cbee1e4979eb07b978988f.gz
2008-07-09 18:39:10 -04:00
Evan Prodromou e6d772a5a8 remove hr -- CSS takes care of it
darcs-hash:20080709221826-84dde-e218ebeadd8c17fc6612159f2cb7fefa9174ba67.gz
2008-07-09 18:18:26 -04:00
Evan Prodromou 70d41055df add instructions to people search
darcs-hash:20080709221754-84dde-1ad060768f3d4cd9ac8238474e1e418482c15843.gz
2008-07-09 18:17:54 -04:00
Evan Prodromou 0506a7265d change formatting of search output
darcs-hash:20080709220045-84dde-b81ebf4e5f9c8c0eef17e785de28d93e2987979f.gz
2008-07-09 18:00:45 -04:00
Evan Prodromou 9b50dcc384 show p.error when there are no results.
darcs-hash:20080709215632-84dde-fc2270bcebc64e3a616e681868f44bff26f7540e.gz
2008-07-09 17:56:32 -04:00