Dhruv Goel
b16e70ae1d
[feature/sphinx-fulltext-search] remove bin_path
...
fulltext_sphinx_bin_path from ACP as it is no longer required.
PHPBB3-10946
2012-07-19 23:01:40 +05:30
Dhruv Goel
f0692bb9e8
[feature/sphinx-fulltext-search] modify config class
...
Sphinx config class is modified to return the configuration data instead
of writing it to a file. Search backend property config_file_data stores
the generated data.
PHPBB3-10946
2012-07-19 23:01:39 +05:30
Dhruv Goel
01261179ce
[feature/sphinx-fulltext-search] improve formatting
...
PHPBB3-10946
2012-07-19 23:01:38 +05:30
Dhruv Goel
fdb7e64e29
[feature/sphinx-fulltext-search] fix comments
...
PHPBB3-10946
2012-07-19 23:01:37 +05:30
Dhruv Goel
537a16220e
[feature/sphinx-fulltext-search] remove recent search queries
...
remove recent search queries from the stats as they can't be retreived
and remove other language keys being used no more.
PHPBB3-10946
2012-07-19 23:01:36 +05:30
Dhruv Goel
45c0956bcf
[feature/sphinx-fulltext-search] implementing db_tools
...
Use db_tools class for creating/dropping sphinx table.
PHPBB3-10946
2012-07-19 23:01:35 +05:30
Dhruv Goel
79432aa4a0
[feature/sphinx-fulltext-search] assign all globals to class properties
...
PHPBB3-10946
2012-07-19 23:01:34 +05:30
Dhruv Goel
9711da2763
[feature/sphinx-fulltext-search] adds default config values
...
Default config values are added to config table in new install as well
as database_update.
PHPBB3-10946
2012-07-19 23:01:28 +05:30
Dhruv Goel
d2e42d7d61
[feature/sphinx-fulltext-search] remove unnecessary code
...
Some extra conditions and variables used in autoconf are removed.
PHPBB3-10946
2012-07-12 17:32:09 +05:30
Dhruv Goel
569db1471b
[feature/sphinx-fulltext-search] fix stopwords option
...
Stopwords option can be configured in ACP to generate correct sphinx
config file.
PHPBB3-10946
2012-07-12 17:32:08 +05:30
Dhruv Goel
88089194e5
[feature/sphinx-fulltext-search] prefix sphinx with constant names
...
All constant names are prefixed with SPHINX_
PHPBB3-10946
2012-07-12 17:32:07 +05:30
Dhruv Goel
e486f4389c
[feature/sphinx-fulltext-search] remove autoconf
...
Remove all code related to sphinx automatic configuration and all exec
calls.
PHPBB3-10946
2012-07-12 17:32:06 +05:30
Dhruv Goel
8dcdf8a973
[feature/sphinx-fulltext-search] add docblock and access modifiers
...
PHPBB3-10946
Conflicts:
phpBB/includes/search/fulltext_sphinx.php
2012-07-12 17:32:05 +05:30
Dhruv Goel
2503581cd5
[feature/sphinx-fulltext-search] add class properties indexes & sphinx
...
PHPBB3-10946
2012-07-12 17:32:04 +05:30
Dhruv Goel
0e9174d168
[feature/sphinx-fulltext-search] use keywords_search instead of get_name
...
using keyword_search method instead of get_name to distinguish between the
search backend classes present in includes/search and other helper classes.
PHPBB3-10946
2012-07-12 17:32:03 +05:30
Dhruv Goel
06eeed058d
[feature/sphinx-fulltext-search] remove unused arrays
...
PHPBB3-10946
2012-07-12 17:32:02 +05:30
Dhruv Goel
4a11a7b970
[feature/sphinx-fulltext-search] add sphinx_table constant to constants.php
...
PHPBB3-10946
2012-07-12 17:32:01 +05:30
Dhruv Goel
97fda78e7d
[feature/sphinx-fulltext-search] Make different files for different classes
...
Break the classes in functions-sphinx.php into different files
with proper class names according to phpbb class auto loader conventions.
PHPBB3-10946
Conflicts:
phpBB/includes/search/sphinx/config.php
2012-07-12 17:32:00 +05:30
Dhruv Goel
10b706674e
[feature/sphinx-fulltext-search] add binlog_path to config
...
binlog files are now added to the data folder.
PHPBB3-10946
2012-07-12 17:31:58 +05:30
Dhruv Goel
39f8a5fa9f
[feature/sphinx-fulltext-search] use sql_build_query for query
...
Uses sql_build_query for JOIN query. Remove casting to int and space for
phpbb conventions to be followed
PHPBB3-10946
Conflicts:
phpBB/includes/search/fulltext_sphinx.php
2012-07-12 17:31:57 +05:30
Dhruv Goel
bfd01f0187
[feature/sphinx-fulltext-search] remove all reference returns
...
PHPBB3-10946
2012-07-12 17:31:56 +05:30
Dhruv Goel
f609555b1a
[feature/sphinx-fulltext-search] integrate sphinx language keys with core
...
Language keys removed from mods folder and added to
language/en/acp/search.php
PHPBB3-10946
2012-07-12 17:31:49 +05:30
Dhruv Goel
74a7407927
[feature/sphinx-fulltext-search] improve classes in functions-sphinx.php
...
PHPBB3-10946
2012-07-12 17:27:29 +05:30
Dhruv Goel
02588069f0
[feature/sphinx-fulltext-search] fix config variables
...
config variables now use class property for unique id
PHPBB3-10946
Conflicts:
phpBB/includes/search/fulltext_sphinx.php
2012-07-12 17:27:28 +05:30
Dhruv Goel
455a35d836
[feature/sphinx-fulltext-search] temporary commit to pull out sphinx-api
...
also need to add the latest sphinx api instead of this.
PHPBB3-10946
2012-07-12 17:27:27 +05:30
Dhruv Goel
a3b2caf841
[feature/sphinx-fulltext-search] include sample sphinx.conf in docs
...
PHPBB3-10946
2012-07-12 17:27:26 +05:30
Dhruv Goel
8d76bc45ee
[feature/sphinx-fulltext-search] minor fixes in formatting
...
Add a newline at the end of files. Update License information in package
docbloc.
PHPBB3-10946
2012-07-12 17:27:25 +05:30
Dhruv Goel
99d4660df6
[feature/sphinx-fulltext-search] update config file
...
Sphinx config file updated according to new documentation.
PHPBB3-10946
2012-07-12 17:27:24 +05:30
Dhruv Goel
fcf0d04b20
[feature/sphinx-fulltext-search] minor changes
...
some minor code changes to make it working against current develop
and comply with other search backend coding convetions.
PHPBB3-10946
2012-07-12 17:27:23 +05:30
Dhruv Goel
a50b0faf4a
[feature/sphinx-fulltext-search] MOD by naderman installed in phpbb
...
PHPBB3-10946
2012-07-12 17:27:22 +05:30
Andreas Fischer
348d9b8829
Merge remote-tracking branch 'Fyorl/ticket/10941' into develop
...
* Fyorl/ticket/10941: (30 commits)
[ticket/10941] Removed superfluous array
[ticket/10941] File 'txt' now too big so changed tests to reflect that
[ticket/10941] Added a comment to ensure tags stay uppercase
[ticket/10941] Modified tearDown to use DirectoryIterator instead of glob
[ticket/10941] Added tests/upload/fixture/copies to tracking
[ticket/10941] Fixed form test test_too_large
[ticket/10941] Replaced use of English with language system
[ticket/10941] Renamed classes and filenames so that tests run
[ticket/10941] Moved comment into markTestIncomplete parameter
[ticket/10941] Removed manual includes of mock classes
[ticket/10941] Added subdirectory for file operations
[ticket/10941] Added some comments for clarification
[ticket/10941] Fixed a failing test
[ticket/10941] Rearranged tests into their own classes or methods
[ticket/10941] Removed the incomplete mark as is_image is fixed
[ticket/10941] Refactored tearDown to stop iterating over the directory.
[ticket/10941] Refactored init_filespec to return new object.
[ticket/10941] Minor typo fixes
[ticket/10941] Changed assertTrue to assertEquals
[ticket/10941] Now actually checks for the value of errors.
...
2012-07-09 15:10:36 +02:00
Fyorl
65d7aae2f3
[ticket/10941] Removed superfluous array
...
PHPBB3-10941
2012-07-09 14:08:21 +01:00
Fyorl
d046b25124
[ticket/10941] File 'txt' now too big so changed tests to reflect that
...
PHPBB3-10941
2012-07-09 14:08:21 +01:00
Fyorl
1b3589aae8
[ticket/10941] Added a comment to ensure tags stay uppercase
...
PHPBB3-10941
2012-07-09 14:08:21 +01:00
Fyorl
f470eee8ab
[ticket/10941] Modified tearDown to use DirectoryIterator instead of glob
...
PHPBB3-10941
2012-07-09 14:08:21 +01:00
Fyorl
ae9b642b81
[ticket/10941] Added tests/upload/fixture/copies to tracking
...
PHPBB3-10941
2012-07-09 14:08:21 +01:00
Fyorl
c8059cf7e7
[ticket/10941] Fixed form test test_too_large
...
PHPBB3-10941
2012-07-09 14:08:20 +01:00
Fyorl
8d43a6e851
[ticket/10941] Replaced use of English with language system
...
PHPBB3-10941
2012-07-09 14:08:20 +01:00
Fyorl
e0b63df6a4
[ticket/10941] Renamed classes and filenames so that tests run
...
Also fixed some minor issues that weren't flagged before because
the tests were being ignored.
PHPBB3-10941
2012-07-09 14:08:20 +01:00
Fyorl
6a1c686025
[ticket/10941] Moved comment into markTestIncomplete parameter
...
PHPBB3-10941
2012-07-09 14:08:20 +01:00
Fyorl
9f3a02d475
[ticket/10941] Removed manual includes of mock classes
...
Also marked a test as incomplete even though this appears to be
ignored when actually running the tests.
PHPBB3-10941
2012-07-09 14:08:20 +01:00
Fyorl
580cec619b
[ticket/10941] Added subdirectory for file operations
...
Also removed common.php as it was unnecessary.
PHPBB3-10941
2012-07-09 14:08:20 +01:00
Fyorl
d89af53f63
[ticket/10941] Added some comments for clarification
...
PHPBB3-10941
2012-07-09 14:08:20 +01:00
Fyorl
af8020b388
[ticket/10941] Fixed a failing test
...
Since the is_image change, the filespec class no longer trusts the
browser's reported mimetype and instead checks the file itself. Thus
pretending a text file had the mimetype of an image will no longer
fail, the file will simply not be treated as an image.
PHPBB3-10941
2012-07-09 14:08:20 +01:00
Fyorl
b65f08dd95
[ticket/10941] Rearranged tests into their own classes or methods
...
PHPBB3-10941
2012-07-09 14:08:19 +01:00
Fyorl
a4717ef525
[ticket/10941] Removed the incomplete mark as is_image is fixed
...
Had to remove one of the tests due to a small limitation with the
functional testing framework. May mark the test as incomplete again
pending further comments.
PHPBB3-10941
2012-07-09 14:08:19 +01:00
Fyorl
682757c1cb
[ticket/10941] Refactored tearDown to stop iterating over the directory.
...
PHPBB3-10941
2012-07-09 14:08:19 +01:00
Fyorl
ff7e5d73f7
[ticket/10941] Refactored init_filespec to return new object.
...
Removed $filespec as a property of the filespec test and instead
just instantiate new objects.
PHPBB3-10941
2012-07-09 14:08:19 +01:00
Fyorl
61d74007a4
[ticket/10941] Minor typo fixes
...
Removed superfluous $user = null; that was left over from refactoring.
PHPBB3-10941
2012-07-09 14:08:19 +01:00
Fyorl
1bb64ab23e
[ticket/10941] Changed assertTrue to assertEquals
...
PHPBB3-10941
2012-07-09 14:08:19 +01:00