Joas Schilling
ad8d4492a7
[ticket/11201] Add tables to constructor in tests
...
PHPBB3-11201
2014-01-18 13:16:28 +01:00
Joas Schilling
197e026699
[ticket/11201] Add a method to return the translated full name of the type
...
PHPBB3-11201
2014-01-18 13:16:18 +01:00
Joas Schilling
df85364baa
[ticket/11201] Remove db depending code from field class
...
sql_build_array() should already take care of that
PHPBB3-11201
2014-01-18 13:01:29 +01:00
Joas Schilling
b1bed49eae
[ticket/11201] Add variables to classes and add constructor doc blocks
...
PHPBB3-11201
2014-01-18 12:53:41 +01:00
Joas Schilling
7fac238398
[ticket/11201] Update copyright in class file
...
PHPBB3-11201
2014-01-18 12:47:19 +01:00
Joas Schilling
7a8818fbc6
[ticket/11201] Add visibility and remove unused variable
...
PHPBB3-11201
2014-01-18 12:46:48 +01:00
Joas Schilling
1c884d07eb
[ticket/11201] Add some commas at the last array entry
...
PHPBB3-11201
2014-01-18 12:44:24 +01:00
Joas Schilling
876e5e5fbb
[ticket/11201] Cast some variables to integer
...
PHPBB3-11201
2014-01-18 12:40:12 +01:00
Joas Schilling
431fa7b593
[ticket/11201] Inject table names rather then using constants
...
PHPBB3-11201
2014-01-18 12:36:18 +01:00
Joas Schilling
39ff387d36
[ticket/11201] Update schema files and unit test
...
PHPBB3-11201
2014-01-17 21:53:08 +01:00
Joas Schilling
aa2f0a652f
[ticket/11201] Change type from integer to service name
...
PHPBB3-11201
2014-01-17 21:13:59 +01:00
Joas Schilling
0ec6af38a9
[ticket/11201] Fix construction of dropdown type once again
...
PHPBB3-11201
2014-01-17 21:13:58 +01:00
Joas Schilling
74d36591e1
[ticket/11201] Move custom template variable assignment to type class
...
PHPBB3-11201
2014-01-17 21:13:56 +01:00
Joas Schilling
af5c747f6f
[ticket/11201] Move preparation of hidden fields to type class
...
PHPBB3-11201
2014-01-17 21:13:46 +01:00
Joas Schilling
67f477fc8f
[ticket/11201] Allow manipulating the intended variables with the type class
...
PHPBB3-11201
2014-01-17 13:59:07 +01:00
Joas Schilling
ae38cfaa70
[ticket/11201] Move type specific error messages to type class
...
PHPBB3-11201
2014-01-17 10:20:00 +01:00
Joas Schilling
5e2ffe0d5c
[ticket/11201] Add abstract base class with shared methods
...
PHPBB3-11201
2014-01-17 10:12:30 +01:00
Joas Schilling
9653764fb1
[ticket/11201] Move field type depending preparation of the options to class
...
PHPBB3-11201
2014-01-17 09:55:52 +01:00
Joas Schilling
0bdec35cd4
[ticket/11201] Move grabbing the input of the language options to type class
...
PHPBB3-11201
2014-01-16 16:00:52 +01:00
Joas Schilling
78603bb96d
[ticket/11201] Move language option determination into type class
...
PHPBB3-11201
2014-01-15 18:25:28 +01:00
Joas Schilling
bd1425d075
[ticket/11201] Use database type from the type class
...
PHPBB3-11201
2014-01-15 16:39:06 +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
dda5992a79
[ticket/11201] Rename test file for now, so the other tests run
...
PHPBB3-11201
2014-01-14 10:20:33 +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
Nathan Guse
821f737560
Merge pull request #1890 from prototech/ticket/12034
...
[ticket/12034] AJAXify notifications popup.
2013-12-30 12:20:22 -08:00
Nathan Guse
b186d31ce6
Merge pull request #1920 from prototech/ticket/12038
...
[ticket/12038] AJAXify move up/down buttons for various ACP pages.
2013-12-30 11:23:22 -08:00
Cesar G
d76ec60ee1
[ticket/12034] Move similar code in the two callbacks to separate function.
...
PHPBB3-12034
2013-12-30 11:12:15 -08:00
Cesar G
0c0375df65
[ticket/12034] Add comma to end of array.
...
PHPBB3-12034
2013-12-30 11:12:15 -08:00
Cesar G
f4b832a27d
[ticket/12034] AJAXify notifications popup.
...
PHPBB3-12034
2013-12-30 11:12:15 -08:00
Cesar G
06262aca54
[ticket/12038] Free query results.
...
PHPBB3-12038
2013-12-30 11:09:08 -08:00
Nathan Guse
be67124dc7
Merge pull request #1889 from prototech/ticket/11963
...
[ticket/11963] Remove stale MCP notifications.
2013-12-30 11:04:43 -08:00
Nathan Guse
34c3e74c16
Merge pull request #1913 from prototech/ticket/12055
...
[ticket/12055] Alternate table row background colors using nth-child rule.
2013-12-30 10:44:30 -08:00
Marc Alexander
f906fb41e9
[ticket/11997] Use functional test cases that should always work
...
The previous test cases that tried to redirect to ../index.php and similar
might cause us to try to go to http://localhost/../index.php , which will
result in http://index.php . As this obviously will trigger an error as
intended, we should not put this inside our test cases for the redirect
function.
PHPBB3-11997
2013-12-28 20:40:18 +01:00
Marc Alexander
3e815616c5
[ticket/11997] Fix redirect tests for mod rewrite
...
Controller routes that are supposed to link to parent directories can't be
tested as the links are incorrectly created depending on enabled mod rewrite
or not.
PHPBB3-11997
2013-12-28 16:50:15 +01:00