Commit Graph

26184 Commits

Author SHA1 Message Date
nupplaPhil 5ccf41a56f
Add API test case for notification 2020-01-28 22:00:21 +01:00
nupplaPhil 582f6bd4a3
Refactor API notification usage
- Remove "mapFields()" from BaseModel
- Add new Notification API entity (including collection)
- Add new NotificationFactory method "getApiList()"
2020-01-28 21:28:57 +01:00
nupplaPhil 4a3544582c
Add parameter for "toArray()" method 2020-01-28 18:41:47 +01:00
nupplaPhil 8f130335a3
remove now empty array from logger 2020-01-28 18:41:47 +01:00
nupplaPhil 52a4010121
enotify: empty out fields instead of using "abort" for addons 2020-01-28 18:41:46 +01:00
nupplaPhil ff9eb20663
Fix enotify item link 2020-01-28 18:41:46 +01:00
nupplaPhil 443e106105
Fix missing notifications:
- Add namecache in enotify
- Add "unset()" in notify repository for additional field "abort"
- Add possibility for additional, non-saved fields in model
2020-01-28 18:41:45 +01:00
Philipp 977248f510
Merge pull request #8191 from MrPetovan/task/7967-mastodon-api-custom_emojis
Add custom emojis Mastodon API endpoint
2020-01-28 17:12:00 +01:00
Hypolite Petovan a2fb8cc035
Fix wrong variable name in Module\NoScrape
- Address https://github.com/friendica/friendica/issues/8000#issuecomment-579292541
2020-01-28 10:33:19 -05:00
Hypolite Petovan bd910342df Add custom emojis Mastodon API endpoint 2020-01-28 08:14:48 -05:00
Philipp 353dddaf15
Merge pull request #8190 from MrPetovan/task/profile-tidings
Deprecated profile fields cleanup
2020-01-28 13:41:55 +01:00
Hypolite Petovan 1ac9107e5f Move Mastodon API factories to Factory\Api\Mastodon 2020-01-28 07:33:55 -05:00
Philipp 4231ccaa32
Merge pull request #8189 from MrPetovan/bug/fatal-errors
Fix wrong use of DPA::p return value in Module\NoScrape
2020-01-28 08:02:46 +01:00
Hypolite Petovan 7b0ec6252f Remove uses of the rest of deprecated profile fields 2020-01-27 23:06:30 -05:00
Hypolite Petovan e69497454b Remove uses of profile.marital 2020-01-27 23:01:25 -05:00
Hypolite Petovan 8e2910976f Remove usage of profile.gender 2020-01-27 23:00:18 -05:00
Hypolite Petovan a7dd0173a7 Remove obsolete profile_id parameter in Model\Profile::load 2020-01-27 22:01:12 -05:00
Hypolite Petovan 65cb77b6a0 Fix wrong use of DPA::p return value in Module\NoScrape
- Address https://github.com/friendica/friendica/issues/7998#issuecomment-579036775
2020-01-27 21:57:07 -05:00
Hypolite Petovan 75a2190af5 Move Module\Base\Api to Module\BaseApi 2020-01-27 21:18:42 -05:00
Hypolite Petovan 0de8e4db08 Move Mastodon API entities to src/Object 2020-01-27 20:01:32 -05:00
Philipp 0b8fd92e1e
Merge pull request #8188 from MrPetovan/task/remove-profile-tab-parameter
Replace profile tab GET parameter by route
2020-01-28 01:34:48 +01:00
Hypolite Petovan a607656607 Replace profile tab GET parameter by route 2020-01-27 19:21:18 -05:00
Hypolite Petovan 74a25eb670 [Composer] Update binary and lock file 2020-01-27 18:40:55 -05:00
Hypolite Petovan 574fd57880
Merge pull request #8183 from nupplaphil/bug/fix_noscrape_sql
Fix NoScrape SQL
2020-01-27 16:50:41 -05:00
nupplaPhil c4d309f801
Fix NoScrape SQL 2020-01-27 23:28:38 +01:00
Philipp 70f688e8dd
It is 2020 :) 2020-01-27 18:28:55 +01:00
Hypolite Petovan 589b7e718d
Merge pull request #8178 from nupplaphil/task/mod_noscrape
Move mod/noscrape to Module\Noscrape
2020-01-26 17:14:26 -05:00
nupplaPhil 7db4621eef
Adapt json error 2020-01-27 00:05:45 +01:00
nupplaPhil 4762476c89
Use parameters 2020-01-26 23:53:49 +01:00
nupplaPhil 4260b94fec
Move mod/noscrape to Module\Noscrape 2020-01-26 23:43:47 +01:00
Philipp 9827e933a2
Merge pull request #8179 from MrPetovan/bug/notices
Various notice fixes
2020-01-26 23:10:56 +01:00
Hypolite Petovan df61be84fc
Merge pull request #8176 from nupplaphil/task/split_emails
Prepare Model\Notify for include/enotify.php (Part 3)
2020-01-26 17:02:14 -05:00
nupplaPhil 6350b210a6
Renaming - part 2 :-) 2020-01-27 00:01:17 +01:00
nupplaPhil 765a0d8892
Some Renames:
- EMail => EMail
- toEmail => toAddress
- fromEmail => fromAddress
2020-01-26 23:47:16 +01:00
Hypolite Petovan fb2f8dcb9c
Improve formatting in mod/display
Co-Authored-By: Philipp <admin+Github@philipp.info>
2020-01-26 16:59:02 -05:00
Hypolite Petovan 0736e4e42c Check for $a->user["nickname"] existence before retrieving its value in mod/display
- Addresses part of https://github.com/friendica/friendica/issues/8000#issuecomment-573883153
2020-01-26 16:44:02 -05:00
Hypolite Petovan dde2cf6ac0 Throw not found exception when photo item doesn't exist in prepare_photo_data()
- Addresses part of https://github.com/friendica/friendica/issues/8000#issuecomment-573883153
2020-01-26 16:43:14 -05:00
Tobias Diekershoff 723d843d20
Merge pull request #8177 from nupplaphil/bug/intro_bug
Fix Introductions tab
2020-01-26 22:22:24 +01:00
nupplaPhil ac1a20e5fd
Fix Introductions tab 2020-01-26 21:39:50 +01:00
nupplaPhil f6878b5bcf
fix return type 2020-01-26 21:35:05 +01:00
nupplaPhil 4efba4d0cf
fix boolean field 2020-01-26 21:35:04 +01:00
nupplaPhil 2b8f067715
Introduce interface for emailing and create email classes 2020-01-26 21:35:04 +01:00
nupplaPhil 915abe8a33
Add explicit parameters to Sender::send() method signature 2020-01-26 21:35:03 +01:00
nupplaPhil ea9d3b7438
Make EMailer util dynamic 2020-01-26 21:35:03 +01:00
Philipp 9269221825
Merge pull request #8175 from MrPetovan/task/revert-profile-default-tab
Revert profile base URL behavior
2020-01-26 20:33:27 +01:00
Hypolite Petovan 4d77da86b9 [frio] Improve pinned item display 2020-01-26 14:21:20 -05:00
Hypolite Petovan e5ab4f1889 Re-enable pinned items in profile wall 2020-01-26 14:21:20 -05:00
Hypolite Petovan 46c4bfe580 Restore base profile URL behavior
- Add new profile-specific route
2020-01-26 14:21:20 -05:00
Hypolite Petovan f2d917114f Move Model\Profile::getTabs to new Module\BaseProfile class 2020-01-26 14:21:18 -05:00
Hypolite Petovan c42dd168c4
Merge pull request #8170 from nupplaphil/task/repo_notification
Prepare Model\Notify for include/enotify.php (Part 2)
2020-01-26 14:09:28 -05:00