1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-11 18:15:20 +02:00

580 Commits

Author SHA1 Message Date
Rubén Calvo
688d022f42
[ticket/15738] Remove code related with safe_mode
PHPBB3-15738
2019-05-09 18:47:50 +02:00
Máté Bartus
7a831c3e28
[ticket/14548] Move deprecated globals and functions
PHPBB3-14584
2019-05-06 21:26:55 +02:00
jasonmarlin
c43ad073e4 [ticket/15941] Small change to induce rebuild
PHPBB3-15941
2019-01-18 08:38:59 -05:00
jasonmarlin
a0f1ec852a [ticket/15941] Replace MAX SQL in functions_posting.php
Replace MAX SQL function with faster query using order by and limit.
The ajacent query could also be optimized to eliminate the usage of MAX.
Note that adding a compound key as suggested by EXPLAIN SQL yields an
improvement, but not nearly as fast as ORDER + LIMIT.

PHPBB3-15941
2019-01-17 20:27:10 -05:00
jasonmarlin
cffdc8efff [ticket/15941] Replace MAX to speed up query in update_post_information
Replace MAX SQL function with faster query using order by and limit.
The ajacent query could also be optimized to eliminate the usage of MAX.
Note that adding a compound key as suggested by EXPLAIN SQL yields an
improvement, but not nearly as fast as ORDER + LIMIT.

PHPBB3-15941
2019-01-15 11:31:38 -05:00
Derky
5c695d709e [ticket/security/227] Change thumbnail_created event version to 3.2.4
SECURITY-227
2018-11-04 23:17:49 +01:00
Derky
d753351edc [ticket/security/227] Replace ImageMagick support with thumbnail event
SECURITY-227
2018-10-23 23:57:24 +02:00
Marc Alexander
537c415009
Merge pull request #5388 from toxyy/ticket/15819
[ticket/15819] Add core event to functions_posting to modify notifications
2018-10-20 12:46:52 -04:00
Alec
eb4a95f659 [ticket/15819] Add core event to functions_posting to modify notifications
Events added to allow modifying notification data before in the database.
Useful to change variables in the notification message, such as usernames.
Includes some other residual data to allow this event to be versatile.

PHPBB3-15819
2018-10-01 00:42:55 -04:00
Jakub Senko
4a30818e12
[ticket/15420] Only update quote notification with original author
PHPBB3-15420
2018-09-04 14:30:19 +02:00
Marc Alexander
350d4f3e6d [ticket/15506] Assign attachrow_template_vars before foreach
The attachrow_template_vars array needs to be defined once in front of the
foreach instead of resetting the array on every iteration of the foreach.

PHPBB3-15506
2018-01-11 21:00:19 +01:00
rxu
f8fbe37936
[ticket/14972] replace all occurrences of sizeof() with the count()
PHPBB3-14972
2018-01-01 13:56:04 +01:00
rxu
68c3a0307d [ticket/15324] Add more core and template events
PHPBB3-15324
2017-08-16 22:38:34 +07:00
Marc Alexander
aef138d8bc
Merge branch '3.1.x' into 3.2.x 2017-06-25 21:26:43 +02:00
Marc Alexander
dc49a8a199
Merge pull request #4804 from rxu/ticket/15186
[ticket/15186] Fully implement the force_delete_allowed feature
2017-06-25 21:25:54 +02:00
Marc Alexander
8179e56b02
Merge branch '3.1.x' into 3.2.x 2017-04-26 19:58:29 -04:00
Marc Alexander
e53343857a
Merge pull request #4674 from senky/ticket/13730
[ticket/13730] Add core.delete_post_end event
2017-04-26 19:57:35 -04:00
rxu
f178c06b4f [ticket/15186] Fully implement the force_delete_allowed feature
PHPBB3-15186
2017-04-19 21:33:22 +07:00
Tristan Darricau
38cf5c10f9
[ticket/15137] Global Announcements shouldn't always be never ending
PHPBB3-15137
2017-03-25 14:11:20 +01:00
Marc Alexander
f27cdad73e
Merge branch '3.1.x' into 3.2.x 2017-02-11 21:48:20 +01:00
Jakub Senko
0ea839e595
[ticket/13730] Add core.delete_post_after event
PHPBB3-13730
2017-02-08 13:18:23 +01:00
Jakub Senko
779758f219
[ticket/13429] Replace @change with @changed
PHPBB3-13429
2017-01-23 13:33:15 +01:00
Marc Alexander
20771271ca
Merge branch '3.1.x' into 3.2.x 2016-11-20 12:57:31 +01:00
Jmz
0d15a95f97
[ticket/14850] Add core.generate_smilies_before
Allows changing root_path of smilies to use CDN for example

PHPBB3-14850
2016-11-20 12:56:12 +01:00
Marc Alexander
728335820c
Merge branch '3.1.x' into 3.2.x 2016-11-12 16:17:31 +01:00
Jakub Senko
4dfadfc97f [ticket/14819] Hide soft-deleted posts in topic review
PHPBB3-14819
2016-10-13 14:28:29 +02:00
Marc Alexander
45ba2e9770 Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/install/install_install.php
	phpBB/language/en/install.php
2016-07-07 19:19:40 +02:00
Jakub Senko
7dc1af25bc [ticket/14654] Change Imagemagick to ImageMagick
PHPBB3-14654
2016-06-11 21:32:16 +02:00
Máté Bartus
0e49dc4409 [ticket/13264] Don't force approved state if post visibility is known (3.2)
The previous PR broke 3.2 because of different variable names

PHPBB3-13264
2016-03-09 20:25:27 +01:00
Máté Bartus
0251a02896 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/13264] Link to post if user can view it
  [ticket/13264] Do not force approved state if post visibility is known
2016-03-09 19:42:57 +01:00
Marc Alexander
dd115d1896 [ticket/13264] Link to post if user can view it
PHPBB3-13264
2016-03-08 15:25:45 +01:00
Marc Alexander
d461ee4f5c [ticket/13264] Do not force approved state if post visibility is known
Post visibility is used if it is set to a valid value.

PHPBB3-13264
2016-03-07 22:18:26 +01:00
Marc Alexander
7c41be4f51 Merge branch '3.1.x' into 3.2.x 2016-02-27 11:04:55 +01:00
rxu
2076280947 [ticket/14365] Fix a typo in the docblock.
PHPBB3-14365
2016-02-27 11:55:41 +07:00
Marc Alexander
73900d1857 [ticket/13454] Remove more unused variables
This should be the last part. Off to checking if the changes were correct.

PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
7a6a16e3a5 [ticket/13454] Remove unused variables
This is part 5 and there is more to come.

PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
266576c6a4 [ticket/13454] Remove unused variables
Part 4

PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
f50ba9ab4f [ticket/13454] Remove unused variables
This is part 2 of the pr.

PHPBB3-13454
2016-01-06 13:52:11 +01:00
rxu
561344da53 [ticket/14365] Add core event to the function topic_review()
Add core event to the function topic_review() in includes/functions_posting.php
to allow modifying posts list to review.

PHPBB3-14365
2015-12-17 22:31:28 +07:00
Mate Bartus
fad26c97bc [ticket/14325] Fix variable names in docblocks
PHPBB3-14325
2015-11-30 18:27:06 +01:00
Mate Bartus
065b0a632f [ticket/14325] Preserve event variable BC
PHPBB3-14325
2015-11-30 18:05:46 +01:00
Tristan Darricau
1d6e173259 Merge pull request #3965 from marc1706/ticket/14234
[ticket/14234] Use replacement variables instead of references in events

* marc1706/ticket/14234:
  [ticket/14234] Fix event doc blocks
  [ticket/14234] Get rid of undefined variables
  [ticket/14234] Fix change version and remove more references
  [ticket/14234] Replace more references with variables
  [ticket/14234] Use replacement variables instead of references in events
2015-10-14 08:59:17 +02:00
Tristan Darricau
cac090b659 Merge pull request #3913 from marc1706/ticket/14168
[ticket/14168] Refactor attachment management functions into classes

* marc1706/ticket/14168: (36 commits)
  [ticket/14168] Correctly state return type of upload and upload_attachment
  [ticket/14168] Use attachment manager instead of separate classes
  [ticket/14168] Fix docblock in manager
  [ticket/14168] Add more test cases for attachment manager
  [ticket/14168] Add new test method and more tests
  [ticket/14168] Fix tabs in manager and add test file
  [ticket/14168] Fix tests after rebase
  [ticket/14168] Add attachment manager service
  [ticket/14168] Use correct docblock
  [ticket/14168] Add services_attachment.yml to services.yml
  [ticket/14168] Minor coding style fixes
  [ticket/14168] Move attachment service definitions to services_attachment
  [ticket/14168] Improve code coverage in upload class
  [ticket/14168] Move image check and don't use trigger_error()
  [ticket/14168] Add tests for init_error() during upload
  [ticket/14168] Add basic test file for attachments upload
  [ticket/14168] Fix CS issue
  [ticket/14168] No longer use deprecated functions in core files
  [ticket/14168] Move phpbb_unlink() into attachment delete class
  [ticket/14168] Reset sequence before tests in delete tests
  ...
2015-10-14 08:40:01 +02:00
Marc Alexander
75e5e2471e [ticket/14234] Get rid of undefined variables
PHPBB3-14234
2015-10-12 21:56:09 +02:00
Marc Alexander
578ee077c1 [ticket/14234] Fix change version and remove more references
PHPBB3-14234
2015-10-12 19:41:17 +02:00
Marc Alexander
bb2634b5e5 [ticket/14168] Correctly state return type of upload and upload_attachment
PHPBB3-14168
2015-10-12 12:11:26 +02:00
Marc Alexander
49312f05f8 [ticket/14168] Use attachment manager instead of separate classes
PHPBB3-14168
2015-10-12 11:34:11 +02:00
Marc Alexander
d1b7101fed Merge pull request #3896 from Zoddo/ticket/14157
[ticket/14157] Allow to set the alt/title attribute on post icons
2015-10-10 16:43:15 +02:00
Zoddo
3937f1f4ae [ticket/14157] Allow to set the alt/title attribute on post icons
PHPBB3-14157
2015-10-10 15:29:31 +02:00
Marc Alexander
4709c8a128 [ticket/14168] Unset prototype classes after use
PHPBB3-14168
2015-10-09 09:53:07 +02:00