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

3457 Commits

Author SHA1 Message Date
Tristan Darricau
a562fea230 Merge pull request #3727 from marc1706/ticket/13904
[ticket/13904] Refactor attachments functions into service

* marc1706/ticket/13904: (66 commits)
  [ticket/13904] Use filespec's get_filesize instead of calling filesize()
  [ticket/13904] Set properties to protected where possible in filespec
  [ticket/13904] Fix tests after changes to factory
  [ticket/13904] Minor coding style fixes
  [ticket/13904] Add language entries for error messages in upload class
  [ticket/13904] Modify files for updated fast-image-size library
  [ticket/13904] Update composer.lock
  [ticket/13904] Improve code coverage
  [ticket/13904] Add unit tests for local upload type
  [ticket/13904] Minor coding style fixes
  [ticket/13904] Improve test coverage of base upload type class
  [ticket/13904] Improve test coverage of remote upload type
  [ticket/13904] Improve test coverage of form upload type
  [ticket/13904] Improve test coverage of filespec class
  [ticket/13904] Add back tests for retrieving floats
  [ticket/13904] Use ini_get() wrapper in file upload types
  [ticket/13904] Modify files for changes in ini wrapper
  [ticket/13904] Add bantu/ini-get-wrapper to composer.json
  [ticket/13904] Switch around constructor arguments
  [ticket/13904] Use \phpbb\php\ini class for ini_get()
  ...
2015-09-16 11:55:13 +02:00
Marc Alexander
759dc9bb84 [ticket/13904] Set properties to protected where possible in filespec
PHPBB3-13904
2015-09-13 09:30:56 +02:00
Marc Alexander
40e614f564 [ticket/13904] Fix tests after changes to factory
PHPBB3-13904
2015-09-09 12:58:22 +02:00
Tristan Darricau
542d75b3a9 Merge pull request #3870 from Zoddo/ticket/9485
[ticket/9485] Add a "View post" link in the moderation logs

* Zoddo/ticket/9485:
  [ticket/9485] Fix tests
  [ticket/9485] Add post_id to relevant $phpbb_log->add()
  [ticket/9485] Add a "View post" link in the moderation logs
2015-09-09 11:04:13 +02:00
Marc Alexander
70ad0c6a8f [ticket/13904] Add language entries for error messages in upload class
PHPBB3-13904
2015-09-09 10:43:12 +02:00
Marc Alexander
327e36a4d6 [ticket/13904] Modify files for updated fast-image-size library
PHPBB3-13904
2015-09-09 09:41:40 +02:00
Marc Alexander
e60c8a5a8b [ticket/13904] Improve code coverage
PHPBB3-13904
2015-09-09 08:29:12 +02:00
Marc Alexander
00e5ff9e2e [ticket/13904] Add unit tests for local upload type
PHPBB3-13904
2015-09-09 08:29:12 +02:00
Marc Alexander
e5bffbf40f [ticket/13904] Improve test coverage of base upload type class
PHPBB3-13904
2015-09-09 08:29:10 +02:00
Marc Alexander
82bca32015 [ticket/13904] Improve test coverage of remote upload type
PHPBB3-13904
2015-09-09 08:29:09 +02:00
Marc Alexander
1b9e6e352f [ticket/13904] Improve test coverage of form upload type
PHPBB3-13904
2015-09-09 08:29:08 +02:00
Marc Alexander
591995267a [ticket/13904] Improve test coverage of filespec class
PHPBB3-13904
2015-09-09 08:29:07 +02:00
Marc Alexander
c3ccd423d2 [ticket/13904] Add back tests for retrieving floats
PHPBB3-13904
2015-09-09 08:29:07 +02:00
Marc Alexander
b29b62debe [ticket/13904] Use ini_get() wrapper in file upload types
PHPBB3-13904
2015-09-09 08:29:06 +02:00
Marc Alexander
16f3b8c2b9 [ticket/13904] Modify files for changes in ini wrapper
PHPBB3-13904
2015-09-09 08:29:05 +02:00
Marc Alexander
36545d5cbe [ticket/13904] Switch around constructor arguments
PHPBB3-13904
2015-09-09 08:28:11 +02:00
Marc Alexander
cdde86ce7e [ticket/13904] Use \phpbb\php\ini class for ini_get()
PHPBB3-13904
2015-09-09 08:28:10 +02:00
Marc Alexander
7ba0fe47a8 [ticket/13904] Test move file on existing error
PHPBB3-13904
2015-09-09 08:28:09 +02:00
Marc Alexander
46e3d82196 [ticket/13904] Add more tests and test cases
PHPBB3-13904
2015-09-09 08:28:08 +02:00
Marc Alexander
3e99816fa2 [ticket/13904] Set visibility in files and improve test coverage
PHPBB3-13904
2015-09-09 08:28:07 +02:00
Marc Alexander
845233fc62 [ticket/13904] Improve test coverage and use constants instead of magic numbers
PHPBB3-13904
2015-09-09 08:28:05 +02:00
Marc Alexander
a09c6d1fb7 [ticket/13904] Split code up and pass root path to remote upload type
PHPBB3-13904
2015-09-09 08:28:04 +02:00
Marc Alexander
759a1a09fa [ticket/13904] Fix remote upload functional tests
PHPBB3-13904
2015-09-09 08:28:03 +02:00
Marc Alexander
57ccfe0c48 [ticket/13904] Move remote upload to its own type class
PHPBB3-13904
2015-09-09 08:28:02 +02:00
Marc Alexander
adcc901af1 [ticket/13904] Fix minor issues and move local_upload to its own class
PHPBB3-13904
2015-09-09 08:27:58 +02:00
Marc Alexander
c65f0d748a [ticket/13904] Add more tests for upload class
PHPBB3-13904
2015-09-09 08:27:55 +02:00
Marc Alexander
b871dbcf1f [ticket/13904] Remove phpbb_root_path global from filespec class
PHPBB3-13904
2015-09-09 08:27:54 +02:00
Marc Alexander
52652ca182 [ticket/13904] Remove phpbb_root_path global from upload class
PHPBB3-13904
2015-09-09 08:27:53 +02:00
Marc Alexander
47f8f2cc88 [ticket/13904] Pass request service to upload instead of using global
PHPBB3-13904
2015-09-09 08:27:53 +02:00
Marc Alexander
697ac5f4aa [ticket/13904] Use language class instead of global user in filespec
PHPBB3-13904
2015-09-09 08:27:52 +02:00
Marc Alexander
ef59e0228a [ticket/13904] Fix tests again
PHPBB3-13904
2015-09-09 08:27:50 +02:00
Marc Alexander
25df7f8149 [ticket/13904] Remove functions_fileupload.php
PHPBB3-13904
2015-09-09 08:27:47 +02:00
Marc Alexander
c34fd1e7c0 [ticket/13904] Fix fileupload functional tests
PHPBB3-13904
2015-09-09 08:27:47 +02:00
Marc Alexander
a53825ad76 [ticket/13904] No longer use fileerror class for extending filespec class
PHPBB3-13904
2015-09-09 08:27:46 +02:00
Marc Alexander
f32a94ae5d [ticket/13904] Pass filesystem to upload avatar again
PHPBB3-13904
2015-09-09 08:27:44 +02:00
Marc Alexander
dbfdb61f82 [ticket/13904] Fix fileupload tests
PHPBB3-13904
2015-09-09 08:27:43 +02:00
Marc Alexander
2915647a54 [ticket/13904] Fix filespec tests
PHPBB3-13904
2015-09-09 08:27:42 +02:00
Marc Alexander
57de896286 [ticket/13904] Remove unneeded parameters from avatars and fix tests
PHPBB3-13904
2015-09-09 08:27:42 +02:00
Marc Alexander
58286171f1 [ticket/14150] Update fast-image-size to newest version
PHPBB3-14150
2015-09-08 12:59:55 +02:00
Zoddo
1fbdf615f2 [ticket/9485] Fix tests
PHPBB3-9485
2015-08-30 22:43:19 +02:00
Tristan Darricau
214c5c6d0b Merge branch '3.1.x'
* 3.1.x:
  [ticket/13988] Update tests
  [ticket/13988] Use absolute path for image attachments in feeds
2015-08-28 17:34:50 +02:00
Tristan Darricau
bfbce5a1b0 Merge pull request #3764 from Zoddo/ticket/13988
[ticket/13988] Use absolute path for image attachments in feeds

* Zoddo/ticket/13988:
  [ticket/13988] Update tests
  [ticket/13988] Use absolute path for image attachments in feeds
2015-08-28 17:05:09 +02:00
Máté Bartus
e8219e8610 Merge pull request #3470 from Nicofuma/ticket/13645
[ticket/13645] Move the feeds to controllers
2015-08-28 10:39:07 +02:00
Tristan Darricau
7d41a9894a Merge pull request #3863 from VSEphpbb/ticket/14128
[ticket/14128] Fix img bbcode regression, lost postimage class

* VSEphpbb/ticket/14128:
  [ticket/14128] Fix img bbcode regression, lost postimage class
2015-08-27 22:55:37 +02:00
Matt Friedman
e19d446881 [ticket/14128] Fix img bbcode regression, lost postimage class
PHPBB3-14128
2015-08-26 14:08:59 -07:00
Tristan Darricau
2e81771c6e [ticket/14124] Update cron tests
PHPBB3-14124
2015-08-26 12:49:18 +02:00
Tristan Darricau
f6a4843c6d Merge pull request #3652 from Elsensee/ticket/12143
[ticket/12143] Make it possible to use translated group names for non-special groups

* Elsensee/ticket/12143:
  [ticket/12143] Fix tests after rebase
  [ticket/12143] Avoid no output from get_group_name()
  [ticket/12143] Fix those tests
  [ticket/12143] Add some tests
  [ticket/12143] Oops, fixed array index
  [ticket/12143] Replace group name output
  [ticket/12143] Add group helper class to translate groupnames
  [ticket/12143] Add is_set method to language service
2015-08-23 22:42:18 +02:00
Nicofuma
8e5e954438 [ticket/13645] Move the feeds to controllers
PHPBB3-13645
2015-08-23 22:36:10 +02:00
Tristan Darricau
a83bcaa8ac [ticket/14099] Fix tests
PHPBB3-14099
2015-08-14 15:52:35 +02:00
rxu
df334b1da8 [ticket/14094] Fix segmentation fault error on PHP 7 tests
PHPBB3-14094
2015-08-12 17:13:51 +07:00