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

12786 Commits

Author SHA1 Message Date
Callum Macrae
69d9f5dd04 [ticket/10270] Fixed comments for phpbb.alert and phpbb.confirm.
PHPBB3-10270
2012-03-31 02:09:19 +02:00
Callum Macrae
7a6fb85875 [ticket/10270] Added a new line to constant declarations in JS.
PHPBB3-10270
2012-03-31 02:09:19 +02:00
Callum Macrae
1a8ec5d4fb [ticket/10270] Added a comment to phpbb.loading_alert.
PHPBB3-10270
2012-03-31 02:09:19 +02:00
Callum Macrae
8adb626800 [ticket/10270] Made a comment clearer for phpbb.confirm.
PHPBB3-10270
2012-03-31 02:09:18 +02:00
Callum Macrae
6af2059403 [ticket/10270] DRYed alert fades in core.js.
PHPBB3-10270
2012-03-31 02:09:18 +02:00
Callum Macrae
badb0c3e5a [ticket/10272] Fixed a bug in the ajax exceptions callback handler.
It was using code copied from a few lines above, which was designed for
forms and doesn't work with links.

PHPBB3-10272
2012-03-31 02:09:18 +02:00
Callum Macrae
3648dd99f7 [ticket/10271] Added comments to the JavaScript ajax functions.
PHPBB3-10271
2012-03-31 02:09:18 +02:00
Callum Macrae
3166cbb33d [ticket/10270] Replaced find by tag names with class names in the js.
What it was before (selecting by tag name) could have caused some
problems for style authors.

PHPBB3-10270
2012-03-31 02:09:18 +02:00
Callum Macrae
5b2352613e [ticket/10270] Added the alerts to the ACP footer.
I had forgotten to do it previously.

PHPBB3-10270
2012-03-31 02:09:18 +02:00
Callum Macrae
ac2e270797 [ticket/10270] Replaced keydown numbers with named constants.
PHPBB3-10270
2012-03-31 02:09:18 +02:00
Callum Macrae
7d2422f928 [ticket/10271] Removed excess whitespace from core.js.
PHPBB3-10271
2012-03-31 02:09:17 +02:00
Callum Macrae
ba817086f8 [ticket/10270] Renamed the CSS class "jalert" to "phpbb_alert".
PHPBB3-10270
2012-03-31 02:09:17 +02:00
Callum Macrae
db7c4f938e [ticket/10270] Added close buttons to phpbb.alert and phpbb.confirm.
PHPBB3-10270
2012-03-31 02:09:17 +02:00
Callum Macrae
0e55b2393d [ticket/10270] Removed all the inline language and HTML from the JS.
PHPBB3-10270
2012-03-31 02:09:17 +02:00
Callum Macrae
818d989168 [feature/ajax] Moved script.js into a few different files.
Seperated it into: assets/javascript/core.js,
styles/prosilver/template/ajax.js and adm/style/ajax.js.

PHPBB3-10270
2012-03-31 02:09:17 +02:00
Callum Macrae
233c2d51cf [ticket/10270] Removed some unnecessary calls to $() in script.js.
Sometimes, jQuery objects were being sent through the jQuery function
again, wasting resources.

PHPBB3-10270
2012-03-31 02:09:17 +02:00
Callum Macrae
dbb81fbd2b [ticket/10328] Added capital to "Content-type" in phpbb_json_response.
It was originally Content-type, but has been replaced with Content-Type,
which is correct.

PHPBB3-10328
2012-03-31 02:09:16 +02:00
Callum Macrae
8c0e72cd9e [ticket/10270] Sped up animations of popups.
They were too slow and were hampering the user experience on boards with
a fast connection such as local boards.

PHPBB3-10270
2012-03-31 02:09:16 +02:00
Callum Macrae
431a78f346 [ticket/10270] Got rid of the temporary jQuery for the AJAX changes.
The jQuery library wasn't included before, so a temporary one was
included. Now that igorws jQuery patch has been merged, the temporary
library can be removed.

PHPBB3-10270
2012-03-31 02:09:16 +02:00
Callum Macrae
53201da98c [ticket/10270] Increased the speed of the animations.
PHPBB3-10270
2012-03-31 02:09:16 +02:00
Callum Macrae
f85faf435d [ticket/10271] Cleaned up phpbb.ajaxify.
Reduced a lot of duplicate code and made it more efficient.

PHPBB3-10271
2012-03-31 02:09:16 +02:00
Callum Macrae
bcb824a9f2 [ticket/10272] Renamed AJAX callback "style_act_deact" to "act_deact".
PHPBB3-10272
2012-03-31 02:09:16 +02:00
Callum Macrae
e7e09f8da2 [ticket/10272] AJAXified the bots page in the ACP.
PHPBB3-10272
2012-03-31 02:09:15 +02:00
Callum Macrae
fc7cb6a70b [ticket/10270] Made the alert after an AJAX operation optional.
PHPBB3-10270
2012-03-31 02:09:15 +02:00
Callum Macrae
4ae74cd4b4 [ticket/10271] AJAXified buttons on acp_main.
PHPBB3-10271
2012-03-31 02:09:15 +02:00
Callum Macrae
1cb3b595ec [ticket/10271] AJAXified the styles tab in the ACP.
PHPBB3-10271
2012-03-31 02:09:15 +02:00
Callum Macrae
11112314f7 [ticket/10271] AJAXified various deletions in the ACP.
The following places have had deletion AJAXified:
* Smilies and icons
* Word censors
* BBCodes
* Attachment groups
* Groups
* Admin / User / Moderator / Forum roles
* Report / denial reasons
* Module management
* Custom profile fields

PHPBB3-10271
2012-03-31 02:09:15 +02:00
Callum Macrae
7a933bdb5a [ticket/10328] Renamed the JSON class, also now using autoloading.
It is no longer static, and uses autoloading. It has also been renamed
from JSON to phpbb_json_response.

PHPBB3-10328
2012-03-31 02:09:14 +02:00
Callum Macrae
c92b30d66c [feature/ajax] Changed JavaScript comments to follow coding guidelines.
Also replaced a couple instances of "@return" with "@returns".

PHPBB3-10270
2012-03-31 02:09:14 +02:00
Callum Macrae
420de9c9a0 [ticket/10270] Moved some HTML from the JavaScript to overall_footer.
PHPBB3-10270
2012-03-31 02:09:14 +02:00
Callum Macrae
6efb9dd0b6 [ticket/10270] Added jQuery popup CSS to the ACP.
It was missing previously, meaning that it displayed wrong and in the
footer.

PHPBB3-10270
2012-03-31 02:09:14 +02:00
Callum Macrae
fa2c06e2ca [ticket/10271] Moved $.querystring to phpbb.parse_querystring.
PHPBB3-10271
2012-03-31 02:09:14 +02:00
Callum Macrae
082c5c5b32 [ticket/10272] Zebra operations using AJAX are now less hacky.
Before, they were splitting stuff by the <br />, and now JSON::add() is
being used.

PHPBB3-10272
2012-03-31 02:09:14 +02:00
Callum Macrae
83095c2a2d [ticket/10270] Lengthened the timeout on the AJAX request error.
It was at 3 seconds before, now it is at 5 seconds from when the popup
has faded in.

PHPBB3-10270
2012-03-31 02:09:13 +02:00
Callum Macrae
dce38f44de [ticket/10328] Added a JSON class.
The JSON class adds a consistent way to send JSON to the client, making
it perfect for AJAX (jQuery automatically parses it).

PHPBB3-10328
2012-03-31 02:09:13 +02:00
Callum Macrae
94172b54dd [ticket/10271] Changed AJAX functions to $request->is_ajax().
PHPBB3-10271
2012-03-31 02:09:13 +02:00
Callum Macrae
69eb7b8332 [ticket/10270] Added keyboard shortcuts to confirm and alert boxes.
PHPBB3-10270
2012-03-31 02:09:13 +02:00
Callum Macrae
59031fdc73 [ticket/10272] AJAXified the add / remove friend / foe links.
PHPBB3-10272
2012-03-31 02:09:12 +02:00
Callum Macrae
bb7a03f738 [ticket/10281] AJAXified reordering forums in the ACP.
PHPBB3-10281
2012-03-31 02:09:12 +02:00
Callum Macrae
22c6953c11 [feature/ajax] Fixed a small bug in the JavaScript.
The bug meant that code outside of the function that ran on document ready would
not be able to access the phpbb object.

PHPBB3-10270
2012-03-31 02:09:12 +02:00
Callum Macrae
e4ea4d1c57 [ticket/10270] Fixed a bug where fadedark wouldn't go.
If the confirm box was submitted as yes, then the fadedark would stay until it
was clicked. This commit fixes that.

PHPBB3-10270
2012-03-31 02:09:12 +02:00
Callum Macrae
149daa0e4f [feature/ajax] Added code to avoid conflicts with other libraries using $
PHPBB3-10270
2012-03-31 02:09:12 +02:00
Callum Macrae
7ccc18297a [ticket/10270] Makes page fade to dark on popup, and added $.querystring.
PHPBB3-10270
2012-03-31 02:09:12 +02:00
Callum Macrae
b9bbbc3ede [ticket/10291] AJAXified quick reply form.
Also changed the show quick reply button to a button, not a submit - it was
affecting the behaviour of phpbb.ajaxify.

PHPBB3-10291
2012-03-31 02:09:12 +02:00
Callum Macrae
57fa45b0c4 [ticket/10271] AJAXified Quick-mod tools.
Also made some improvements to the exceptions.

PHPBB3-10271
2012-03-31 02:09:11 +02:00
Callum Macrae
efe872745f [feature/ajax] Replaced jQuery selectors with data attributes.
Due to problems that could have been caused by selecting the element using
jQuery selectors, they have been replaced by HTML5 data attributes.

PHPBB3-10270
2012-03-31 02:09:11 +02:00
Callum Macrae
ac8743902d [ticket/10270] Removed the js anim functions.
This commit removes the hide_anim, show_anim and remove_anim functions and
replaces them with built in jQuery function that do exactly the same thing.

PHPBB3-10270
2012-03-31 02:09:11 +02:00
Callum Macrae
8fd86717e1 [ticket/10271] Added ability for exceptions to phpbb.ajaxify.
Also made it easy for additional options to be added in the future.

PHPBB3-10271
2012-03-31 02:09:09 +02:00
Callum Macrae
2f2ec1096b [ticket/10272] Made some jQuery selectors more specific to avoid conflicts.
Before, a link to any URL with, say, "mode=bump" in the title would have been
prevented from acting normally.

PHPBB3-10272
2012-03-31 02:00:23 +02:00
Callum Macrae
ac1b32c307 [ticket/10270] Changed function names of jQuery modifications.
The code was modifying the jQuery code before, now the functions have been
renamed to unused function names.

PHPBB3-10270
2012-03-31 02:00:23 +02:00