Commit graph

25888 commits

Author SHA1 Message Date
Philipp Holzer bfae6766bf
Implement Hook::callAll('storage_instance') call for addons and add a description for it.
- Remove implicit Dice usage
- Add concrete instance creating
- Adding Hook call for addon instance creating
- Updating doc for Hook
- Updating tests
2020-01-10 13:22:03 +01:00
Philipp Holzer 5d8e6c33ef
revert Dice version bump 2020-01-10 13:22:02 +01:00
Philipp Holzer abc6a8ce34
skip impossible test-scenario 2020-01-10 13:22:02 +01:00
Philipp Holzer b68d0516ea
remove not working code for checking writable files ("is_writable()" uses a different user) 2020-01-10 13:22:01 +01:00
Philipp Holzer 1b2ff54f66
Fix attach model 2020-01-10 13:22:00 +01:00
Philipp Holzer c2ac206379
Fix in case the storage config is set as file. 2020-01-10 13:22:00 +01:00
Philipp Holzer 6f4eee516b
optimize update script 2020-01-10 13:22:00 +01:00
Philipp Holzer 1bce3fd0f1
fix Photo model 2020-01-10 13:21:59 +01:00
Philipp Holzer d6fab6b06b
making update really work ... 2020-01-10 13:21:59 +01:00
Philipp Holzer dbd5b5bb6e
- Fixing SystemResource
- Adding tests for StorageManager
- Updating doc
2020-01-10 13:21:58 +01:00
Philipp Holzer cc501439af
Update AddonStorageBackend documentation 2020-01-10 13:21:58 +01:00
Philipp Holzer 08edeae2f9
Make Storage testable & add tests
- Making StorageManager dynamic (DI::facStorage())
- Making concrete Storage dynamic (DI::storage())
- Add tests for Storage backend and failure handling
- Bumping Level-2/Dice to "dev-master" until new release
- Using Storage-Names instead of Storage-Classes in config (includes migration)
2020-01-10 13:21:57 +01:00
Hypolite Petovan a5895f8623
Merge pull request #8083 from annando/direct-comment
Notifications: Now declare direct thread answers as replies
2020-01-09 13:33:43 -05:00
Michael ad11579eaa API: Use NOTIF_DIRECT_THREAD_COMMENT for the API mentions as well 2020-01-09 17:58:22 +00:00
Michael 469eefdc5b Notifications: Now declare direct thread answers as replies 2020-01-09 17:53:17 +00:00
Hypolite Petovan 878bebc429
Merge pull request #8082 from annando/issue-8081
Issue 8081: The usage has to be an object, not an array
2020-01-09 05:07:12 -05:00
Michael f48c4fcbe4 Issue 8081: The usage has to be an object, not an array 2020-01-09 09:55:33 +00:00
Tobias Diekershoff 0f2bb9856e
Merge pull request #8080 from annando/inflated-widgets
The widgets in the sidebar are now deflated by standard
2020-01-09 08:01:53 +01:00
Michael 4c2d1aff03 The widgets in the sidebar are now deflated by standard 2020-01-09 06:53:33 +00:00
Philipp ee58a55895
Merge pull request #8078 from MrPetovan/bug/fatal-errors
Add cookie clear failed validation in App\Authentication
2020-01-09 07:37:20 +01:00
Hypolite Petovan e38939ee4b Add cookie clear failed validation in App\Authentication 2020-01-08 19:52:44 -05:00
Hypolite Petovan 592762be27
Merge pull request #8077 from annando/notifications
Improved notification messages
2020-01-08 18:37:11 -05:00
Michael 80c330e6e3 Removed stuff 2020-01-08 23:22:13 +00:00
Michael 3bf7664ee3 changed priority of messages 2020-01-08 22:36:31 +00:00
Philipp 012aa0f8a0
Merge pull request #8076 from MrPetovan/bug/fatal-errors
Remove unnecessary subnamespaces in Model\Introduction
2020-01-08 23:15:02 +01:00
Michael d9ea0fea87 Use "replied" 2020-01-08 21:59:12 +00:00
Michael cabaea38ac Improved notification messages 2020-01-08 21:48:59 +00:00
Hypolite Petovan 9ec0b621ed Remove unnecessary subnamespaces in Model\Introduction
- Addresses https://github.com/friendica/friendica/issues/7998#issuecomment-572270238
2020-01-08 16:48:20 -05:00
Hypolite Petovan b8f85f0484
Merge pull request #8075 from annando/html-escaping
Fix: removed unneeded HTML escaping
2020-01-08 16:18:36 -05:00
Michael 7f2356c7fe Tests, still ongoing ... 2020-01-08 20:39:27 +00:00
Michael b9b19f7744 tests ... 2020-01-08 20:27:54 +00:00
Michael a2af9f55a9 Reverted notify, changed test 2020-01-08 20:15:01 +00:00
Hypolite Petovan f67f398fe1
Merge pull request #8071 from nupplaphil/task/Lock_to_lock
Replace Core\Lock wrapper with DI::lock() method
2020-01-08 14:25:46 -05:00
Philipp 2ea1c95e3d
Merge pull request #8074 from MrPetovan/task/domain-driven
Domain-driven-design implementation 4th iteration
2020-01-08 18:00:50 +01:00
Michael 4a25286816 Fixed notification text 2020-01-08 09:43:29 +00:00
Michael e80234d20a Corrected test 2020-01-08 09:36:05 +00:00
Michael 6133ccb1b6 Tests, next try 2020-01-08 06:43:15 +00:00
Michael 5bc4d24e70 Removed tests 2020-01-07 23:23:38 +00:00
Michael d07760f629 Added test files, don't know if this works 2020-01-07 23:05:07 +00:00
Michael 8e87c5f05f Fix: removed unneeded HTML escaping 2020-01-07 22:00:39 +00:00
Hypolite Petovan d4b7278102 Remove unused code 2020-01-07 16:18:57 -05:00
Hypolite Petovan 4e00a3ed63 Upgrade @method to overriden methods
- This enables contextual help in older IDEs (looking at you VSCode)
2020-01-07 16:18:45 -05:00
Hypolite Petovan 041ba704dd Create documentation about Domain-Driven-Design 2020-01-06 21:39:05 -05:00
Hypolite Petovan 6b8db5ad13 Update the Introductions domain to use repository, model and collection 2020-01-06 21:39:05 -05:00
Hypolite Petovan 5a1abb8c7d Introduce Mastodon entity factories and API\Entity 2020-01-06 21:39:05 -05:00
Hypolite Petovan c748a82e8f Introduce Repository, Factory, Collection, Model base classes 2020-01-06 21:39:00 -05:00
Hypolite Petovan ef6e9ef26b Add DBA::collapseCondition method
- Update Database->update for use with DBA::collapseCondition
2020-01-06 20:48:26 -05:00
Hypolite Petovan 5cc2dc7ca3
Merge pull request #8073 from annando/issue-8067
Issue 8067: Posts from Mastodon had been wrongly parsed
2020-01-06 19:55:58 -05:00
Michael 5b755f0f23 Issue 8067: Posts from Mastodon had been wrongly parsed 2020-01-07 00:16:42 +00:00
Philipp Holzer 17adcb5483
Rename mock-methods 2020-01-07 00:57:30 +01:00