aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1716 from marc1706/feature/passwordsNils Adermann2014-02-027-194/+45
|\ | | | | [feature/passwords] Add password hashing manager with support for newer hashing algorithms
| * [feature/passwords] Correct docblock of phpbb_hash() functionMarc Alexander2013-12-291-1/+1
| | | | | | | | PHPBB3-11610
| * [feature/passwords] Get rid of unneeded code complexityMarc Alexander2013-12-291-1/+1
| | | | | | | | | | | | Simplified a little bit of code as pointed out by imkingdavid on github. PHPBB3-11610
| * Merge branch 'develop' of https://github.com/phpbb/phpbb into feature/passwordsMarc Alexander2013-12-2956-752/+871
| |\ | | | | | | | | | | | | Conflicts: phpBB/config/services.yml
| * | [feature/passwords] Use passwords manager service instead of functionsMarc Alexander2013-10-135-11/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old functions phpbb_hash() and phpbb_check_hash() have been replaced with the passwords manager service in all front-end related files. The phpBB2 converter and the release_3_0_5_rc1 migration file have not been changed. The same applies to the security/hash_test that still tests the function phpbb_check_hash(). This will however make sure that the old function still works. PHPBB3-11610
| * | [feature/passwords] Use passwords.manager service in login_forum_box()Marc Alexander2013-10-131-3/+5
| | | | | | | | | | | | | | | | | | | | | Additionally, unused variables have been removed from the globals and the request class is now used instead of the request_var() function. PHPBB3-11610
| * | [feature/passwords] Use VCHAR_UNI instead of VCHAR_CI for user_passwordsMarc Alexander2013-10-131-1/+1
| | | | | | | | | | | | PHPBB3-11610
| * | [feature/passwords] Modify forum_password column type for new hash typesMarc Alexander2013-10-131-1/+1
| | | | | | | | | | | | PHPBB3-11610
| * | [feature/passwords] Remove obsolete hashing functions from functions.phpMarc Alexander2013-10-111-110/+0
| | | | | | | | | | | | | | | | | | These hashing functions have been worked into the salted md5 driver. PHPBB3-11610
| * | [feature/passwords] Mark old hashing functions as deprecatedMarc Alexander2013-10-111-24/+6
| | | | | | | | | | | | PHPBB3-11610
| * | Merge branch 'develop' of https://github.com/phpbb/phpbb3 into feature/passwordsMarc Alexander2013-10-035-27/+30
| |\ \ | | | | | | | | | | | | | | | | Conflicts: phpBB/includes/functions.php
| * | | [feature/passwords] Use passwords manager in phpBB hash functionsMarc Alexander2013-10-021-37/+6
| | | | | | | | | | | | | | | | PHPBB3-11610
| * | | [feature/passwords] Add schema changes to schema_data for new hash typesMarc Alexander2013-09-271-1/+1
| | | | | | | | | | | | | | | | PHPBB3-11610
* | | | Merge remote-tracking branch 'EXreaction/ticket/12006' into developJoas Schilling2014-01-181-3/+36
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * EXreaction/ticket/12006: [ticket/12006] global $phpbb_dispatcher; [ticket/12006] Missing a space [ticket/12006] Add module_auth event [ticket/12006] Test for ext module auth [ticket/12006] Add extension enabled check token to module auth [ticket/12006] Cleanup the module auth function token replacement code
| * | | | [ticket/12006] global $phpbb_dispatcher;Nathan Guse2014-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-12006
| * | | | [ticket/12006] Missing a spaceNathan Guse2014-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-12006
| * | | | [ticket/12006] Add module_auth eventNathan Guse2014-01-101-0/+14
| | | | | | | | | | | | | | | | | | | | PHPBB3-12006
| * | | | [ticket/12006] Add extension enabled check token to module authNathan Guse2013-12-301-1/+2
| | | | | | | | | | | | | | | | | | | | PHPBB3-12006
| * | | | [ticket/12006] Cleanup the module auth function token replacement codeNathan Guse2013-12-301-2/+20
| | |_|/ | |/| | | | | | | | | | PHPBB3-12006
* | | | [ticket/11915] Provide the URL to the attachment when it's uploaded.Cesar G2014-01-171-1/+3
| | | | | | | | | | | | | | | | PHPBB3-11915
* | | | [ticket/11915] Provide the attachment file size to the template.Cesar G2014-01-172-2/+5
| | | | | | | | | | | | | | | | PHPBB3-11915
* | | | Merge pull request #1938 from prototech/ticket/12077Nathan Guse2014-01-171-3/+3
|\ \ \ \ | | | | | | | | | | [ticket/12077] Ensure that valid upload methods are presented to user in language packs page.
| * | | | [ticket/12077] Fix another strict standards error.Cesar G2013-12-191-2/+2
| | | | | | | | | | | | | | | | | | | | PHPBB3-12077
| * | | | [ticket/12077] Fix strict standards error.Cesar G2013-12-191-1/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-12077
* | | | | Merge remote-tracking branch 'Marc/ticket/11997' into developJoas Schilling2014-01-081-63/+19
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ...
| * | | | | [ticket/11997] Add user's page dir to redirect path and fix unit tests for itMarc Alexander2013-12-281-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The user's page directory needs to be added to the redirect URL for proper redirects outside of the forum root. Fix the unit tests accordingly. PHPBB3-11997
| * | | | | [ticket/11997] Add remove_web_root_path() in order to prevent incorrect URLsMarc Alexander2013-12-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding a call to this method to the redirect function will make sure that we do not end up with incorrect URLs after using append_sid(). PHPBB3-11997
| * | | | | [ticket/11997] Do not check if file or dir we redirect to existMarc Alexander2013-12-271-75/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The redirect function will now properly redirect to where we want it to. It will no longer try to check if the file or directory we redirect to exist. This will ensure compatibility with the new routes. PHPBB3-11997
| * | | | | [ticket/11997] Add clean_url() method to path_helperMarc Alexander2013-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method will get rid of unnecessary . and .. in URLs. PHPBB3-11997
| * | | | | [ticket/11997] Allow redirects to parent folders like previouslyMarc Alexander2013-12-211-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Redirects to parent folders were possible with the previous redirect function. This change will allow these redirects again. PHPBB3-11997
| * | | | | Merge branch 'develop' of https://github.com/phpbb/phpbb into ticket/11997Marc Alexander2013-12-0720-220/+263
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/functional/fixtures/ext/foo/bar/config/services.yml
| * | | | | | [ticket/11997] Use get_controller_redirect_url() in redirect() functionMarc Alexander2013-12-071-46/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method of path_helper will now be used instead of the previous hack of the phpbb_own_realpath() function. PHPBB3-11997
| * | | | | | [ticket/11997] Undo changes to phpbb_own_realpath()Marc Alexander2013-12-071-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11997
| * | | | | | [ticket/11997] Remove obsolete failover_flag in function redirect()Marc Alexander2013-11-171-41/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This flag is no longer needed as the failover is no longer needed. PHPBB3-11997
| * | | | | | [ticket/11997] Fix missing globalJoas Schilling2013-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11997
| * | | | | | [ticket/11997] Fix redirects from inside controllersJoas Schilling2013-11-131-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The redirect url currently uses the web root path. However as we prepend the full board url later, we need to remove the relative web root path and prepend the normal root path again. Otherwise redirects from inside routes will not work as intended. PHPBB3-11997
| * | | | | | [ticket/11997] Use $phpbb_filesystem->clean_path() for proper redirect pathsMarc Alexander2013-11-121-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11997
| * | | | | | [ticket/11997] Rename root_dirs_size to superordinate_dirs_countMarc Alexander2013-11-111-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This variable name better fits what is done with it. A comment explaining why 2 has to be subtracted from the size of root_dirs has also been added PHPBB3-11997
| * | | | | | [ticket/11997] Remove obsolete if statement in phpbb_own_realpath()Marc Alexander2013-11-101-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-11997
| * | | | | | [ticket/11997] Correctly redirect to front controllersMarc Alexander2013-11-081-24/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We currently do a lot of checks in order to prevent users from getting to a 404 page. However, this logic relies on checking if a file or folder exists. Due to the front controllers and the URL rewriting in 3.1, it is no longer possible to rely on existing files for redirecting. This patch will take care of properly redirecting users to front controller files. An incorrect link will cause users to get a 404 error though. PHPBB3-11997
* | | | | | | Merge pull request #1890 from prototech/ticket/12034Nathan Guse2013-12-302-2/+15
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | [ticket/12034] AJAXify notifications popup.
| * | | | | | | [ticket/12034] AJAXify notifications popup.Cesar G2013-12-302-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12034
* | | | | | | | Merge pull request #1920 from prototech/ticket/12038Nathan Guse2013-12-305-49/+98
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | [ticket/12038] AJAXify move up/down buttons for various ACP pages.
| * | | | | | | [ticket/12038] Free query results.Cesar G2013-12-302-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12038
| * | | | | | | [ticket/12038] Do not rely on stale order value to move items.Cesar G2013-12-063-48/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it possible to move the items more than once with AJAX. PHPBB3-12038
| * | | | | | | [ticket/12038] Use $move_executed in place of $db->sql_affectedrows().Cesar G2013-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12038
| * | | | | | | [ticket/12038] AJAXify move up/down buttons in report/denial reasons page.Cesar G2013-12-051-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12038
| * | | | | | | [ticket/12038] AJAXify move up/down buttons in custom profile fields page.Cesar G2013-12-051-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12038
| * | | | | | | [ticket/12038] AJAXify move up/down buttons in the permission roles page.Cesar G2013-12-051-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12038
| * | | | | | | [ticket/12038] AJAXify move up/down buttons in the module management pages.Cesar G2013-12-051-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-12038