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

458 Commits

Author SHA1 Message Date
Joas Schilling
78603bb96d [ticket/11201] Move language option determination into type class
PHPBB3-11201
2014-01-15 18:25:28 +01:00
Joas Schilling
7d2d18fb50 [ticket/11201] Move "get type" code into a new function
PHPBB3-11201
2014-01-15 16:37:21 +01:00
Joas Schilling
8e86e56120 [ticket/11201] Add database column type to type class
PHPBB3-11201
2014-01-15 16:36:50 +01:00
Joas Schilling
1dbc2d6218 [ticket/11201] Fix dropdown tests
The error message is now already the language string including the fieldname
and not the language key anymore.

PHPBB3-11201
2014-01-15 12:36:54 +01:00
Joas Schilling
7fd5f16fa2 [ticket/11201] Use a service collection for the types instead of the container
PHPBB3-11201
2014-01-15 12:16:04 +01:00
Joas Schilling
5df7f76e6b [ticket/11201] Split language options into a new class
Otherwise we run into a circular dependency

PHPBB3-11201
2014-01-15 12:15:41 +01:00
Joas Schilling
cd6bdc7b27 [ticket/11201] Remove remaining type depending code to type class
PHPBB3-11201
2014-01-14 15:08:33 +01:00
Joas Schilling
9dec023632 [ticket/11201] Add visibility to methods
PHPBB3-11201
2014-01-14 13:42:18 +01:00
Joas Schilling
d601aaad26 [ticket/11201] Remove type related code from build_insert_sql_array()
PHPBB3-11201
2014-01-14 13:38:24 +01:00
Joas Schilling
daf21fcb30 [ticket/11201] Move generate_field() method to type class
PHPBB3-11201
2014-01-14 12:51:32 +01:00
Joas Schilling
d57c43d397 [ticket/11201] Move error message generation to type class
PHPBB3-11201
2014-01-14 12:04:02 +01:00
Joas Schilling
190c2e989a [ticket/11201] Remove call by refernce
PHPBB3-11201
2014-01-14 10:50:12 +01:00
Joas Schilling
0d79ccaadd [ticket/11201] Move get_profile_value() to type class
PHPBB3-11201
2014-01-14 10:36:44 +01:00
Joas Schilling
ee78aed2f1 [ticket/11201] Move validate_profile_field() to type class
PHPBB3-11201
2014-01-14 10:13:47 +01:00
Joas Schilling
b3803d563a [ticket/11201] Move get_profile_field() to type classes
PHPBB3-11201
2014-01-13 21:09:17 +01:00
Joas Schilling
a7e3538e5b [ticket/11201] Move get_options to type classes
PHPBB3-11201
2014-01-13 21:09:07 +01:00
Joas Schilling
c665839636 [ticket/11201] Remove global use from admin class
PHPBB3-11201
2014-01-10 23:00:37 +01:00
Joas Schilling
2471b19d73 [ticket/11201] Make profile field classes autoloadable
PHPBB3-11201
2014-01-10 16:11:11 +01:00
Joas Schilling
3e84fb76a3 Merge remote-tracking branch 'Marc/ticket/11997' into develop
* Marc/ticket/11997: (23 commits)
  [ticket/11997] Use functional test cases that should always work
  [ticket/11997] Fix redirect tests for mod rewrite
  [ticket/11997] Add user's page dir to redirect path and fix unit tests for it
  [ticket/11997] Remove obsolete function get_controller_redirect_url()
  [ticket/11997] Use path_helper in in foo/bar extension for redirect URLs
  [ticket/11997] Add remove_web_root_path() in order to prevent incorrect URLs
  [ticket/11997] Do not check if file or dir we redirect to exist
  [ticket/11997] Modifiy tests after adding path_helper clean_url method
  [ticket/11997] Add clean_url() method to path_helper
  [ticket/11997] Allow redirects to parent folders like previously
  [ticket/11997] Move expected redirect returns to controller and output to HTML
  [ticket/11997] Fix tests for path_helper's get_controller_redirect_url()
  [ticket/11997] Use get_controller_redirect_url() in redirect() function
  [ticket/11997] Add method for controller redirect URLs to path helper
  [ticket/11997] Undo changes to phpbb_own_realpath()
  [ticket/11997] Remove obsolete failover_flag in function redirect()
  [ticket/11997] Add functional test for redirects in controller
  [ticket/11997] Fix missing global
  [ticket/11997] Fix redirects from inside controllers
  [ticket/11997] Use $phpbb_filesystem->clean_path() for proper redirect paths
  ...
2014-01-08 16:17:48 +01:00
Cesar G
f4b832a27d [ticket/12034] AJAXify notifications popup.
PHPBB3-12034
2013-12-30 11:12:15 -08:00
Marc Alexander
ce2c5213d7 [ticket/11997] Remove obsolete function get_controller_redirect_url()
PHPBB3-11997
2013-12-27 18:41:44 +01:00
Dhruv
f9c7f0fc19 Merge remote-tracking branch 'nickvergessen/feature/pagination-class' into develop
# By Joas Schilling
# Via Joas Schilling
* nickvergessen/feature/pagination-class:
  [ticket/11849] Fix more function calls
  [ticket/11849] Update more MCP calls to pagination class
  [ticket/11849] Update some ACP modules with new pagination
  [ticket/11849] Update rest of the UCP modules
  [ticket/11849] Update UCP notifications and pm folder
  [ticket/11849] Update search and memberlist
  [ticket/11849] Update pagination in viewonline.php
  [ticket/11849] Remove old pagination test
  [ticket/11849] Update pagination code in viewtopic.php
  [ticket/11849] Replace pagination in viewforum.php with class
  [ticket/11849] Add service definition
  [ticket/11849] Remove pagination functions
  [ticket/11849] Test validate_start and on_page
  [ticket/11849] Move pagination code to class
2013-12-25 00:54:07 +05:30
Marc Alexander
d9358c26da [ticket/11997] Add clean_url() method to path_helper
This method will get rid of unnecessary . and .. in URLs.

PHPBB3-11997
2013-12-21 20:08:00 +01:00
Cesar G
cd98dba0b9 [ticket/12079] Add default value to $multibyte in request.untrimmed_variable().
PHPBB3-12079
2013-12-19 19:09:40 -08:00
Joas Schilling
725c512468 [ticket/11849] Replace pagination in viewforum.php with class
PHPBB3-11849
2013-12-18 18:35:16 +01:00
Joas Schilling
268afe20f4 [ticket/11849] Move pagination code to class
PHPBB3-11849
2013-12-18 18:34:13 +01:00
Joas Schilling
4a73ce0933 Merge remote-tracking branch 'prototech/ticket/12009' into develop
* prototech/ticket/12009:
  [ticket/12009] Prevent user from enabling invalid extension through direct URL
  [ticket/12009] Update functional test to check for invalid extensions.
  [ticket/12009] Fix functional tests.
  [ticket/12009] Move valid extensions in tests to correct dir structure.
  [ticket/12009] Do not allow incorrectly structured extensions to be installed.
2013-12-16 10:18:56 +01:00
Cesar G
c42bd28d17 [ticket/12009] Prevent user from enabling invalid extension through direct URL
PHPBB3-12009
2013-12-12 14:40:03 -08:00
Joas Schilling
4816446c4a Merge remote-tracking branch 'Marc/ticket/11859' into develop
* Marc/ticket/11859:
  [ticket/11859] Add missing get_template_name method to test drivers
  [ticket/11859] Make avatar drivers return template filename
2013-12-12 10:21:36 +01:00
Cesar G
4d65727acc [ticket/12009] Do not allow incorrectly structured extensions to be installed.
PHPBB3-12009
2013-12-11 23:11:52 -08:00
Marc Alexander
47ea6bc9e6 Merge branch 'develop' of https://github.com/phpbb/phpbb into ticket/11997
Conflicts:
	tests/functional/fixtures/ext/foo/bar/config/services.yml
2013-12-07 13:32:19 +01:00
Marc Alexander
8bbede4251 [ticket/11997] Add method for controller redirect URLs to path helper
This method will allow us to get proper redirect URLs for controllers.

PHPBB3-11997
2013-12-07 13:23:57 +01:00
Marc Alexander
53be0a4432 [ticket/12058] Add missing apostrophe to avatar_types migration queries
PHPBB3-12058
2013-12-04 23:40:38 +01:00
Nathan Guse
1d243b78bb Merge pull request #1813 from marc1706/ticket/11912
[ticket/11912] Add mimetype guesser for proper mimetype guessing
2013-12-04 14:12:25 -08:00
Marc Alexander
6618f0ea24 [ticket/11859] Make avatar drivers return template filename
The service name might not follow the expected naming scheme which would
cause abnormally long filenames and confusion for authors that might add
more avatar drivers.

PHPBB3-11859
2013-11-27 15:18:42 +01:00
Marc Alexander
33f4d267ef Merge branch 'develop' of https://github.com/phpbb/phpbb3 into ticket/11842
Conflicts:
	phpBB/includes/acp/acp_groups.php
2013-11-27 14:55:24 +01:00
Marc Alexander
0d4bf3ff45 [ticket/11842] Use type map for updating avatar types in database
PHPBB3-11842
2013-11-25 13:12:08 +01:00
Marc Alexander
943ab555da Merge branch 'develop' of https://github.com/phpbb/phpbb3 into ticket/11912
Conflicts:
	phpBB/config/services.yml
2013-11-23 00:54:56 +01:00
Marc Alexander
e108418824 [ticket/11912] Check if content_guesser is supported with function_exists
PHPBB3-11912
2013-11-23 00:51:29 +01:00
Nathan Guse
df7fa8e499 Merge pull request #1854 from Pico88/ticket/12005
[ticket/12005] Remove code responsible for PM popup completely
2013-11-21 14:01:23 -08:00
Nathan Guse
20885ccb8c Merge pull request #1882 from prototech/ticket/11959
[ticket/11959] Trim the list of users from post notifications.
2013-11-21 13:27:52 -08:00
Cesar G
e3a28e5e2a [ticket/11959] Rename $extra_cnt to something more descriptive.
PHPBB3-11959
2013-11-21 13:18:28 -08:00
Cesar G
43f454a6c6 [ticket/11959] Use COMMA_SEPARATOR to join the user list.
PHPBB3-11959
2013-11-21 13:15:08 -08:00
Cesar G
bcf347420e [ticket/11959] Trim the list of users from post notifications.
PHPBB3-11959
2013-11-21 13:02:26 -08:00
Cesar G
44b6f45759 [ticket/11484] Display login box for users following email notification link.
The link used for the latest post now uses view=unread so redirecting the user
using the value for the e parameter is no longer necessary.

PHPBB3-11484
2013-11-21 08:11:17 -08:00
Marc Alexander
6db967bdd5 [ticket/11842] Add migration file for updating avatar type in database
PHPBB3-11842
2013-11-20 17:12:00 +01:00
Joas Schilling
7678186b09 [prep-release-3.1.0-a2] Add migration for 3.1.0-a2 2013-11-19 01:18:21 +01:00
Marc Alexander
23e2f920f5 [ticket/12018] Use path_helper for admin style CSS in sql report
The path to the admin style CSS is currently created with $phpbb_admin_path.
We should however use the path_helper to correctly link to this file in order
to have a correct link on pages like extensions

PHPBB3-12018
2013-11-14 15:55:04 +01:00
Marc Alexander
df6e03266f [ticket/11912] Remove obsolete "return null" in content_guesser
PHPBB3-11912
2013-11-14 15:12:42 +01:00
Cesar G
287c2550b8 [ticket/12008] Update the run time value for the prune notifications cron task
PHPBB3-12008
2013-11-14 01:05:58 -08:00