Commit Graph

31339 Commits

Author SHA1 Message Date
Hypolite Petovan 0bc677b725
Merge pull request #10582 from nupplaphil/feat/storage_interface
Introduce IWritableStorage interface
2021-08-16 20:43:44 -04:00
Philipp 3da6376ec5
Add phpunit 8.5 2021-08-16 23:39:58 +02:00
Philipp cbc9d827d1
Update messages.po 2021-08-16 23:32:32 +02:00
Philipp db6fded5d2
Update src/Core/StorageManager.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-08-16 23:32:32 +02:00
Philipp 99239e3d99
Fix usage 2021-08-16 23:27:43 +02:00
Philipp 1901716479
Lower complexity for valid backends (replace hashmap with a "simple" name array) 2021-08-16 23:27:43 +02:00
Philipp 02a4d30f7d
Add todo for later 2021-08-16 23:27:43 +02:00
Philipp c06ba3a7c9
Update db version 2021-08-16 23:27:42 +02:00
Philipp 1df6225868
Update src/Model/Storage/Filesystem.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-08-16 23:27:42 +02:00
Philipp f4941b5b49
Update src/Model/Storage/IWritableStorage.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-08-16 23:27:42 +02:00
Philipp c17bc55158
Introduce InvalidClassStorageException and adapt the code for it 2021-08-16 23:27:42 +02:00
Philipp b798ca2da6
Force "Database" as default storage backend 2021-08-16 23:27:42 +02:00
Philipp d0536ebea7
Rename ISelectableStorage to IWritableStorage 2021-08-16 23:27:42 +02:00
Philipp eb035771f1
Revert Photo::getImageDataForPhoto return-type change 2021-08-16 23:27:42 +02:00
Philipp 51ebb1541a
- Revert HTTPSignature change 2021-08-16 23:27:42 +02:00
Philipp 57438afbb3
- Moved the description for the specific storage exception first
- Introduced exceptions for try to get invalid storage
- ReferenceStorageException now extends StorageException
2021-08-16 23:27:42 +02:00
Philipp 813db7956f
Update AddonStorageBackend.md 2021-08-16 23:27:42 +02:00
Philipp 470ba8b61b
Fixup Database behaviour 2021-08-16 23:27:42 +02:00
Philipp 90c99520bb
Fix Storage Exceptions 2021-08-16 23:27:42 +02:00
Philipp 29c7552df5
Refactor IStorage 2021-08-16 23:27:42 +02:00
Philipp 5dcdf2322e
Split IStorage and ISelectableStorage and make their behaviour homogenous 2021-08-16 23:27:41 +02:00
Hypolite Petovan e205bd450e
Merge pull request #10602 from annando/push
Transmit push subscriptions
2021-08-16 14:33:36 -04:00
Michael e8b7d125f2 Updated changelog 2021-08-16 17:21:58 +00:00
Michael 7158b35f58 Added logging, removed superfluous comments 2021-08-16 15:23:34 +00:00
Hypolite Petovan 1ce6700160
Merge pull request #10606 from annando/xmpp
Clarify XMPP profile field description
2021-08-16 06:26:05 -04:00
Hypolite Petovan 496310f64e
Merge pull request #10605 from tobiasd/20210816-de
DE translation update
2021-08-16 06:21:09 -04:00
Hypolite Petovan 7082582655 Add the attachments to the $item for the prepare_body_content_filter hook
- Allows filtering on attachments that are added later to the post content
2021-08-16 05:28:08 -04:00
Michael ce9da778b9 Clarify XMPP profile field description 2021-08-16 06:15:18 +00:00
Michael c85ce2f6b0 Add a payload 2021-08-16 06:11:26 +00:00
Tobias Diekershoff d02cc0d7e2 DE translation update 2021-08-16 07:38:44 +02:00
Michael 41545e8808 Fixing composer hash 2021-08-15 23:21:18 +00:00
Michael b37a9a5624 Require PHP >= 7.2 2021-08-15 22:19:57 +00:00
Michael 69c816eb17 Trim whitespace 2021-08-15 22:09:32 +00:00
Michael e3f8f371a7 Use the existing VAPID key generation 2021-08-15 21:54:24 +00:00
Michael 2c1b33af87 Standards 2021-08-15 21:30:27 +00:00
Michael 69f11c4a84 Adding the VAPID keys 2021-08-15 21:24:23 +00:00
Michael d5e9253adb Standards again 2021-08-15 21:03:43 +00:00
Michael 5cf0da4140 Coding standards 2021-08-15 21:01:58 +00:00
Michael 977d28353c Transmit push subscriptions 2021-08-15 20:52:46 +00:00
Hypolite Petovan 414f20c529
Merge pull request #10600 from nupplaphil/bug/update_autoinstall_doc
AutomaticInstallation - Fix last example
2021-08-15 16:50:58 -04:00
Hypolite Petovan fd73b0e1d2
Merge pull request #10599 from annando/subscription
API: First steps to support subscriptions
2021-08-15 16:50:22 -04:00
Philipp b52c9215f6
AutomaticInstallation - Fix last example 2021-08-15 21:36:05 +02:00
Michael c78d490c2e Some more standards 2021-08-15 16:24:12 +00:00
Michael f29cef175e Remove spaces 2021-08-15 16:22:23 +00:00
Michael 3b296400f4 Merge branch 'subscription' of github.com:annando/friendica into subscription 2021-08-15 16:18:30 +00:00
Michael 19f3cad56c Preparation for creating push notification 2021-08-15 16:18:25 +00:00
Michael Vogel a3584c0bd3
Update src/Model/Subscription.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-08-15 17:27:45 +02:00
Michael 5056376902 We need to create a vapid public and private key 2021-08-15 12:57:29 +00:00
Michael 74f3cbc383 Improved error check, added "put" 2021-08-15 07:28:26 +00:00
Michael 8b6ace6629 Don't continue when key couldn't be created 2021-08-15 06:45:48 +00:00