Commit graph

26018 commits

Author SHA1 Message Date
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
Philipp Holzer a38b0f7eaf
Move remaining namespaces and delete Core\Cache.php 2020-01-07 00:51:02 +01:00
Philipp Holzer fe078410a1
Move Cache::get() to DI::cache()->get() 2020-01-07 00:45:49 +01:00
Philipp Holzer f68929633b
Move Cache::set() to DI::cache()->set() 2020-01-07 00:41:20 +01:00
Philipp Holzer 3369dfaad9
Remove unused function Cache::delete() 2020-01-07 00:37:01 +01:00
Philipp Holzer 182f390520
Move Cache::clear() to DI::cache()->clear() 2020-01-07 00:36:07 +01:00
Philipp Holzer f7ca437ba6
Remove unused method Cache::getAllKeys() 2020-01-07 00:36:06 +01:00
Philipp Holzer 31457b8566
Replace Lock::release() with DI::lock()->release() and remove Core\Lock 2020-01-07 00:24:10 +01:00
Philipp Holzer 634e657d23
Replace Lock::acquire() with DI::lock()->acquire() 2020-01-07 00:20:31 +01:00
Hypolite Petovan cfae510ef0
Merge pull request #8070 from nupplaphil/bug/8069-logout
Clear cookies before session clear
2020-01-06 17:22:40 -05:00
Philipp Holzer c7476513e3
removed some static wrapper 2020-01-07 00:14:01 +01:00
Philipp Holzer 20f1ab05e6
clear cookie before session clear 2020-01-07 00:11:39 +01:00
Philipp e56c8dcc3c
Merge pull request #8063 from MrPetovan/bug/8058-use-default-user-acl-events
Use default user permissions when creating new event
2020-01-06 14:18:20 +01:00
Hypolite Petovan d6357c97e5
Merge pull request #8066 from annando/notifications
The item notifications now are based upon the "user-item" field
2020-01-05 20:43:09 -05:00
Michael 4d5e15709c The item notifications now are based upon the "user-item" field 2020-01-06 00:59:18 +00:00
Hypolite Petovan 46b459d5b1
Merge pull request #8059 from annando/item-notification
Item notification data is now stored in the "user-item" table
2020-01-05 19:35:34 -05:00
Hypolite Petovan 465d7e6751 Use default user permissions when creating new event 2020-01-05 17:09:14 -05:00
Hypolite Petovan 00011fe77d Remove unused use statements in Module\Item\Compose 2020-01-05 17:09:14 -05:00
Hypolite Petovan 64c8855407 Allow special groups in default user permissions
- Use ACLFormatter in ACL::getDefaultUserPermissions
- Remove ACL::fixACL
- Add return value to Contact::pruneUnavailable
2020-01-05 17:09:14 -05:00
Michael 6d7608fbc7 We only search for items with the same uid 2020-01-05 20:42:32 +00:00
Michael 6670a2409f Fix condition creation 2020-01-05 19:48:01 +00:00
Michael f134903fcf API: We now use the "notification-type" field for mentions 2020-01-05 19:32:39 +00:00
Michael c0e25bd8f4 Merge remote-tracking branch 'upstream/develop' into item-notification 2020-01-05 19:31:30 +00:00
Tobias Diekershoff 755b9daa45
Merge pull request #8061 from annando/ap-receiver
AP: ensure that incoming posts are reaching all receivers
2020-01-05 19:30:42 +01:00
Philipp 1b520af913
Merge pull request #8060 from annando/fix-error
Fix a missing ")"
2020-01-05 18:32:47 +01:00
Michael ab43d3ddc4 AP: ensure that incoming posts are reaching all receivers 2020-01-05 17:20:23 +00:00
Michael 274788807d Fix a missing ")" 2020-01-05 17:19:37 +00:00