1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 20:44:01 +01:00

974 Commits

Author SHA1 Message Date
Shitiz Garg
403ab49716 [ticket/9040] Count HTML entities as single in custom profile fields
Currently when an user adds a HTML entity to a custom profile field, the length
gets incremented by 4 since the code reads &gt; instead of <. However, the
length is presentational and not DB storage so it should be treated as a
single character even if it takes four lengths in the DB by being stored as
a HTML entity.

Work around this by decoding html entities before counting. Also, added unit
tests for string field type

PHPBB3-9040
2014-03-17 17:35:30 +05:30
Oliver Schramm
fac814f8e7 [ticket/11169] Move module 'prune users' to users category
PHPBB3-11169
2014-03-16 02:53:01 +01:00
Oliver Schramm
df0ac9876c [ticket/11071] Add fallback if requested style don't exist
PHPBB3-11071
2014-03-15 22:00:48 +01:00
Joas Schilling
584d7b5823 [ticket/12268] Do not use substr but just compare the character
PHPBB3-12268
2014-03-15 21:00:16 +01:00
Joas Schilling
6159c3c738 [prep-release-3.1.0-b1] Add migration for 3.1.0-b1 2014-03-15 15:37:22 +01:00
Joas Schilling
bfe872d1b7 Merge remote-tracking branch 'vsephpbb/ticket/11429' into develop
* vsephpbb/ticket/11429:
  [ticket/11429] Increment asset version on Ext enable
2014-03-14 14:25:50 +01:00
Joas Schilling
0aa23d203e Merge remote-tracking branch 'EXreaction/ticket/9871-2' into develop
* EXreaction/ticket/9871-2:
  [ticket/9871] Can set current version to use instead of the phpBB version
  [ticket/9871] Fix indentation on comment
  [ticket/9871] Fix test name
  [ticket/9871] Split fast and slow version tests
  [ticket/9871] Option to force the stability when checking for updates
  [ticket/9871] Allow setting the host/file to load for the version class
  [ticket/9871] Restore get_remote_file_test
  [ticket/9871] Fix tests
  [ticket/9871] Typehint and comment on var types
  [ticket/9871] Mark test as slow
  [ticket/9871] Restore phpbb_version_compare
  [ticket/9871] Restore get_remote_file
  [ticket/9871] Use $request->variable instead of request_var
  [ticket/9871] Update version check file to use json format
2014-03-14 14:04:30 +01:00
Nathan Guse
60d2c1f400 [ticket/9871] Can set current version to use instead of the phpBB version
PHPBB3-9871
2014-03-14 07:07:26 -05:00
Joas Schilling
dc0bcdf8a0 [ticket/12268] Rename class file to recursive_dot_prefix_filter_iterator.php
PHPBB3-12268
2014-03-14 12:54:28 +01:00
Joas Schilling
973f5aa8c5 [ticket/12268] Move class out of extension namespace and rename it
PHPBB3-12268
2014-03-14 11:08:25 +01:00
Joas Schilling
5f8f1f04fd Merge remote-tracking branch 'dhruv/ticket/11040' into develop
* dhruv/ticket/11040:
  [ticket/11040] Topic is deleted if test is skipped
  [ticket/11040] Use unique text for the test post added
  [ticket/11040] Use hard delete in delete_topic
  [ticket/11040] Add migration to drop postgres search indexes
  [ticket/11040] Delete the functional test topic to avoid conflicts
  [ticket/11040] Add methods to delete post and topic in functional tests
  [ticket/11040] Swap post_text and post_subject for post_content index
  [ticket/11040] Add test cases for searching subject and post content together
  [ticket/11040] Remove postgres extra indexes
  [ticket/11040] Add post_content index
  [ticket/11040] Search subject and text together
2014-03-14 10:13:42 +01:00
Matt Friedman
71246a5472 [ticket/11429] Increment asset version on Ext enable
PHPBB3-11429
2014-03-13 19:09:41 -07:00
Matt Friedman
08165881f2 [ticket/12263] Add missing variable names to docblock fixes
PHPBB3-12263
2014-03-13 16:38:10 -07:00
Joas Schilling
59af5f4cbf [ticket/12268] Do not search in folders starting with a dot
PHPBB3-12268
2014-03-14 00:33:00 +01:00
Joas Schilling
329eb7c2b1 [ticket/12268] Use FilesystemIterator::SKIP_DOTS
PHPBB3-12268
2014-03-14 00:32:35 +01:00
Matt Friedman
c48fe65dfd [ticket/12263] Remove invalid SQL query and unused variables
PHPBB3-12263
2014-03-13 16:20:38 -07:00
Matt Friedman
5df3e0a4ec [ticket/12263] Remove unused argument in module add/remove
PHPBB3-12263
2014-03-13 16:10:08 -07:00
Matt Friedman
89b0ff1da8 [ticket/12263] Fix incorrect docblock commets
PHPBB3-12263
2014-03-13 16:09:32 -07:00
Joas Schilling
a3b95839f5 [ticket/12268] Extension finder should not crawl through .git/ of extensions
This new filter ignores .svn and .git directories.
When searching for php classes and template files of extensions
we don't need to look inside these directories.

PHPBB3-12268
2014-03-13 17:12:03 +01:00
Joas Schilling
871a89af07 Merge remote-tracking branch 'EXreaction/ticket/11716' into develop
* EXreaction/ticket/11716:
  [ticket/11716] Correct license URL
  [ticket/11716] Fix dependencies in migration files
  [ticket/11716] Rename migration files and add note that it's converting a MOD
  [ticket/11716] Convert Soft Delete Mod to post/topic visibility
2014-03-12 18:51:14 +01:00
Dhruv
556c7d9218 [ticket/11040] Add migration to drop postgres search indexes
PHPBB3-11040
2014-03-12 11:03:27 +05:30
Dhruv
932e0eb17e [ticket/11040] Swap post_text and post_subject for post_content index
Provides better performance as per PostgreSQL Docs.

PHPBB3-11040
2014-03-12 11:02:04 +05:30
Dhruv
101ceed80c [ticket/11040] Remove postgres extra indexes
Remove post_text index as post_content index is sufficient to search post
text.

PHPBB3-11040
2014-03-12 11:02:00 +05:30
Dhruv
87688687e4 [ticket/11040] Add post_content index
In addition to post_subject and post_title indexes add a post_content
which is concatenation of both the columns.

PHPBB3-11040
2014-03-12 11:01:42 +05:30
Dhruv
274c83c74d [ticket/11040] Search subject and text together
Instead of searching for post_subject and post_text seperately and then
OR them in where clause we use concatenation of the two columns and search

PHPBB3-11040
2014-03-12 11:01:21 +05:30
Nathan Guse
feed1441ad [ticket/9871] Option to force the stability when checking for updates
PHPBB3-9871
2014-03-11 19:15:50 -05:00
Nathan Guse
c14d2fb60f [ticket/11716] Correct license URL
PHPBB3-11716
2014-03-11 18:43:03 -05:00
Nathan Guse
f75b98aa8b [ticket/11716] Fix dependencies in migration files
PHPBB3-11716
2014-03-11 18:34:35 -05:00
Joas Schilling
296af6c679 Merge remote-tracking branch 'dhruvgoel92/ticket/11271-develop' into develop
* dhruvgoel92/ticket/11271-develop: (25 commits)
  [ticket/11271] Make path conversion more precise
  [ticket/11271] limit absolute path conversion to attachment links only
  [ticket/11271] Add docblock of feed_generate_content( )
  [ticket/11271] Fix tabs and use !empty( ) instead of count( )
  [ticket/11271] Remove unnecessary inclusion of functions_display
  [ticket/11271] Typecast forum and topic id to integer
  [ticket/11271] Use absolute path for displaying inline attachments in feeds
  [ticket/11271] Changed executable bit.
  [ticket/11271] Formatting code and removing null assignment.
  [ticket/11271] Removing unnecessary database object
  [ticket/11271] Separated attachment fetching query
  [ticket/11271] Fetched feed attachments before loop.
  [ticket/11271] Removed in-line attachment comments properly.
  [ticket/11271] Displaying in-line attached images in ATOM feed.
  [ticket/11271] Add the inline images html to content
  [ticket/11271] Use class variable $db instead of global
  [ticket/11271] Typecast forum and topic id to integer
  [ticket/11271] Use absolute path for displaying inline attachments in feeds
  [ticket/11271] Changed executable bit.
  [ticket/11271] Formatting code and removing null assignment.
  ...
2014-03-11 09:53:52 +01:00
Joas Schilling
4b259e3c82 Merge remote-tracking branch 'dhruvgoel92/ticket/11288-develop' into develop
* dhruvgoel92/ticket/11288-develop:
  [ticket/11288] Add unit test cases for foo-bar like queries
  [ticket/11288] Handle +,- without preceeding whitespace characters
2014-03-11 09:48:24 +01:00
Nathan Guse
92b638ed83 Merge pull request #2107 from VSEphpbb/ticket/12117
[ticket/12117] Add get_all_tree_data method to tree class
2014-03-10 21:30:39 -05:00
Nathan Guse
00d86a4af1 [ticket/9871] Allow setting the host/file to load for the version class
PHPBB3-9871
2014-03-10 21:26:46 -05:00
Nathan Guse
23ea833425 Merge pull request #2101 from nickvergessen/ticket/10763
[ticket/10763] Do not call non-static functions statically
2014-03-10 20:51:20 -05:00
Nathan Guse
f7020fb5d1 Merge pull request #2092 from nickvergessen/ticket/12090
[ticket/12090] Pass route name to url() instead of the url itself
2014-03-10 20:50:08 -05:00
Matt Friedman
4127f92496 [ticket/12117] Select all fields instead of item_basic_data
PHPBB3-12117
2014-03-10 16:06:53 -07:00
Matt Friedman
c1115d9451 [ticket/12117] Add get_all_tree_data method to tree class
PHPBB3-12117
2014-03-10 15:59:45 -07:00
Joas Schilling
235f7c3721 Merge remote-tracking branch 'rxu3/ticket/12224' into develop
* rxu3/ticket/12224:
  [ticket/12224] Add assign_block_vars_array() test.
  [ticket/12224] Add template wrapper method to assign block arrays
2014-03-10 23:49:37 +01:00
Nathan Guse
c169583dc3 Merge pull request #2089 from nickvergessen/ticket/12251
[ticket/12251] Clean up and Enhancement of Custom Profile Fields
2014-03-09 17:26:22 -05:00
Nathan Guse
20723a9315 Merge pull request #2099 from bantu/ticket/12256
[ticket/12256] Selecting founders is fetching $sql instead of $result
2014-03-09 16:55:28 -05:00
Joas Schilling
12dc36903e [ticket/10763] Do not call set_post_visibility() statically
PHPBB3-10763
2014-03-09 21:38:32 +01:00
Forumhulp.com
86845e48a2 [ticket/12256] Selecting founders is fetching $sql instead of $result
PHPBB3-12256
2014-03-09 21:37:44 +01:00
Joas Schilling
bc74819cc9 [ticket/12251] Remove leading whitespace on doc blocks
PHPBB3-12251
2014-03-09 21:13:04 +01:00
Joas Schilling
b29c4c6358 [ticket/12090] Move find() call to container and fix tests
PHPBB3-12090
2014-03-09 19:03:15 +01:00
Joas Schilling
2eb24d0ace [ticket/12090] Split finding routes and returning routes into 2 methods
PHPBB3-12090
2014-03-09 18:38:21 +01:00
Joas Schilling
436b1d3577 [ticket/12090] Fix parameter list of controller helper constructor
PHPBB3-12090
2014-03-09 18:22:32 +01:00
Dhruv
1688d88059 Merge branch 'ticket/11288' into ticket/11288-develop
* ticket/11288:
  [ticket/11288] Handle +,- without preceeding whitespace characters
2014-03-09 22:00:06 +05:30
Nathan Guse
72e0fe0b22 Merge remote-tracking branch 'remotes/dhruvgoel92/ticket/10945-develop' into develop
* remotes/dhruvgoel92/ticket/10945-develop:
  [ticket/10945] Remove mark test incomplete for native search backend
  [ticket/10945] Fix Unit Tests as per new changes to split_keywords
  [ticket/10945] Remove mark test incomplete for mysql and postgres
  [ticket/10945] Fix return values for split_keywords function
  [ticket/10945] Display search query when search fails in native search
  [ticket/10945] remove trigger_error call
2014-03-09 11:15:48 -05:00
Dhruv
8290dd6b1c [ticket/11938] Fix whitespace characters
PHPBB3-11938
2014-03-09 01:17:36 +05:30
Dhruv
1207767bb3 [ticket/11938] use sql_attr_string instead of sql_attr_str2ordinal
PHPBB3-11938
2014-03-09 01:16:13 +05:30
Dhruv
3b6d371310 Merge branch 'ticket/10945' into ticket/10945-develop
* ticket/10945:
  [ticket/10945] Fix return values for split_keywords function
  [ticket/10945] Display search query when search fails in native search
  [ticket/10945] remove trigger_error call

Conflicts:
	phpBB/phpbb/search/fulltext_native.php
2014-03-08 21:44:30 +05:30