Commit graph

6905 commits

Author SHA1 Message Date
Michael
56db5a29c4 Prevent permissionset foreign key constraint 2021-01-29 06:26:51 +00:00
Hypolite Petovan
9a4128a5c8
Merge pull request #9873 from annando/post-user
New "post-user" structure, new update  functionality
2021-01-28 19:32:17 -05:00
Michael
9a9674d5fb New "post-user" structure, new update functionality 2021-01-28 22:45:54 +00:00
Michael Vogel
199f72ee3c
Merge pull request #9823 from MrPetovan/task/9677-2fa-remember-device
Add "Remember this device" feature to two factor authentication
2021-01-27 22:32:08 +01:00
Hypolite Petovan
a7791bebc2
Merge pull request #9870 from annando/uri-id
"uri-id" instead of "uri" or "id"
2021-01-27 11:45:19 -05:00
Michael
ef0400fc19 "uri-id" instead of "uri" or "id" 2021-01-27 10:01:42 +00:00
Extarys
d5a066400d style: tab to space 2021-01-25 12:02:49 -05:00
Extarys
68a2c4c885 pwa: add fields 2021-01-25 11:46:27 -05:00
Hypolite Petovan
82e094179c Rename notify classes according the feature name, not the table name 2021-01-24 09:33:23 -05:00
Hypolite Petovan
a2556e7c67 Remove leading space in displayed public tags in profile page 2021-01-23 15:55:21 -05:00
Hypolite Petovan
5a949911ba Add trusted browsers user setting module
- Add trusted browsers help section
2021-01-23 05:42:59 -05:00
Hypolite Petovan
50f97e977a Added support for trusted browser during authentication 2021-01-23 05:42:59 -05:00
Hypolite Petovan
72bb3bce34 Add trusted browser classes
- Added some tests
2021-01-23 05:42:59 -05:00
Hypolite Petovan
0fc5f26ff7 Replace BaseEntity with BaseDataTransferObject class for API representation classes 2021-01-23 05:42:58 -05:00
Hypolite Petovan
3e257d4266 Move all two-factor authentication classes in Security\TwoFactor 2021-01-23 05:42:58 -05:00
Hypolite Petovan
c644d76d28 Allow setting arbitrary keys in the cookie array 2021-01-23 05:42:58 -05:00
Hypolite Petovan
6b0df74ed7 Add blocking author from an item context feature 2021-01-23 05:30:03 -05:00
Hypolite Petovan
e2c38f1347 Prevent hashtag parsing and replacement in image alternative text 2021-01-22 17:45:28 -05:00
Hypolite Petovan
2343d7bb73 Replace obsolete call to Item::selectFirstThreadForUser in Module\Item\Ignore 2021-01-22 16:03:36 -05:00
Michael
4002bd9b97 Don't create a user-item entry on default 2021-01-22 08:16:41 +00:00
Hypolite Petovan
215c6ecc14
Merge pull request #9843 from annando/no-filetag
Legacy file/category storage is removed
2021-01-21 18:50:57 -05:00
Michael
0c14f41873 Use an exception 2021-01-21 21:53:19 +00:00
Michael
fbcc59cc1d Some more removed functionality from FileTag class 2021-01-21 20:25:06 +00:00
Tobias Diekershoff
cf51237e70
Merge pull request #9828 from MrPetovan/bug/9733-tag-numbers
Remove strictly numeric tags exception
2021-01-21 17:09:51 +01:00
Hypolite Petovan
9a9b43bd6c Fix wrong uses of DI::l10n() in Core\Update
- Fix typos in version number in translated messages
2021-01-21 10:36:52 -05:00
Michael
d2ea3eabfb Replace legacy file/category handling 2021-01-21 07:16:41 +00:00
Hypolite Petovan
35213630e8 Remove strictly numeric tags exception
- It prevented to use year number hashtags for no clear benefit
2021-01-20 08:10:20 -05:00
Michael
a773a72eaa The "icid" field is deprecated 2021-01-19 23:26:24 +00:00
Michael
487c2df9ca The "tag" field is not used anymore 2021-01-19 10:30:45 +00:00
Michael
b892db0cf3 All item selects are now done by the post class 2021-01-19 07:23:01 +00:00
Michael
9ccfa37d3c Fixes 9814 - again 2021-01-18 20:19:13 +00:00
Michael
f9430175c6 Avoid multiple lines in post-view, added thread view 2021-01-18 07:10:04 +00:00
Michael
ff8b578cde Fix the test data / unused function removed 2021-01-17 22:20:46 +00:00
Michael
f57ad05736 Added missing parameter 2021-01-17 21:10:16 +00:00
Michael
4157db5473 "item" is replaced by "post-view" / postupdate check added 2021-01-17 20:32:13 +00:00
Michael
2c65b81182 Fix notice "Undefined index: internal-verb" 2021-01-17 08:15:18 +00:00
Michael
e775be38c8 Fix failed query 2021-01-16 23:24:48 +00:00
Michael
2b1d0b9db8 "selectForUser" and "" selectFirstForUser" is now moved to Post 2021-01-16 22:37:27 +00:00
Hypolite Petovan
c1226bff07
Merge pull request #9803 from annando/post
New post class in the rest of the classes
2021-01-16 08:26:05 -05:00
Hypolite Petovan
e68f7444ed
Improve class alias naming in Object\Post 2021-01-16 08:12:41 -05:00
Hypolite Petovan
edf9bdfa14
Merge pull request #9801 from annando/protocol-worker
New post class in protocol and worker classes
2021-01-16 07:58:00 -05:00
Michael
2fa692bcce New post class in the rest of the classes 2021-01-16 04:16:09 +00:00
Michael
68502daed0 New post class in protocol and worker classes 2021-01-16 04:14:58 +00:00
Michael
b0d1a295fe New post class in model classes 2021-01-16 04:13:22 +00:00
Michael
f4addd337d New database version, fixes to empty field list 2021-01-14 22:51:44 +00:00
Michael
55204d26b1 Added function to count posts 2021-01-14 14:51:04 +00:00
Michael
8e12dd1658 Post view works now, "file" handling improved 2021-01-14 14:45:40 +00:00
Michael
ca16a4892b The item view is completed, unneeded fields removed 2021-01-13 07:23:57 +00:00
Michael
0951b551c5 Issue 9777: Fix to deliver public posts to Diaspora again 2021-01-11 20:31:52 +00:00
Hypolite Petovan
884419a6bb
Merge pull request #9780 from annando/alternate-9775
Create plink if missing
2021-01-11 15:25:25 -05:00
Michael
83266b87af Create plink if missing 2021-01-11 20:14:17 +00:00
Michael
b160aa07b6 Issue 9705: Perform an age check when the post isn't fetched 2021-01-11 20:00:51 +00:00
Michael
f40ab2b65d Always deliver via AP if the server supports it 2021-01-10 19:41:01 -05:00
Michael
f29ed78155 Prevent error when gsid is null 2021-01-10 19:08:23 -05:00
Michael
050f31eeb3 Don't try legacy if the server supports more 2021-01-10 19:08:23 -05:00
Michael
bf563a1a39 Store the server transport protocol 2021-01-10 19:08:23 -05:00
Hypolite Petovan
ca8e4066fc
Merge pull request #9766 from annando/conversation-direction
Improved direction and protocol detection
2021-01-10 18:54:29 -05:00
Michael
fd562677fd Use "===" 2021-01-10 21:30:30 +00:00
Michael
4cfcaa82c0 Fix relay handling 2021-01-09 19:19:20 +00:00
Michael
8894f14b4e Set post type if relay post was received via DFRN 2021-01-09 18:17:49 +00:00
Michael
6401bd7503 Mark if post was received via relay 2021-01-09 16:56:42 +00:00
Michael
2987070d93 Improved direction and protocol detection 2021-01-09 12:59:30 +00:00
Michael
81ffe38f2e The highest post update version number is 1385 2021-01-07 22:12:53 +00:00
Hypolite Petovan
c8604895c4 [frio] Add share dropdown to mobile post view
- This should prevent accidental taps from resharing content unwittingly
2021-01-07 10:13:40 -05:00
Michael
df135c31fe Merge remote-tracking branch 'upstream/develop' into no-frontend-worker 2021-01-07 10:44:12 +00:00
Michael
0fd01015e1 Increase wait time to 5 minutes 2021-01-06 23:24:00 +00:00
Michael
d5280c3dc3 Removed to-do comment 2021-01-06 23:08:09 +00:00
Michael
ced417da6c Added functionality to kill processes 2021-01-06 23:05:55 +00:00
Michael
594b1a75b5 Use the correct pid 2021-01-05 21:48:29 +00:00
Michael
6ef0f9646f Set the new pid 2021-01-05 21:39:53 +00:00
Michael
2f8e873cc7 Wait for parent 2021-01-05 16:47:55 +00:00
Michael
17fbe5c299 Delete IPC entries 2021-01-05 16:01:05 +00:00
Michael
7e89bf5af8 Wait for child being ready 2021-01-05 10:18:25 +00:00
Michael
69c7e9af20 Let the worker run for an hour in daemon mode 2021-01-04 09:20:44 +00:00
Michael
74d7d7e164 Check for childf status 2021-01-03 22:57:25 +00:00
Michael
d70d180e4b Merge remote-tracking branch 'upstream/2020.12-rc' into fork 2021-01-03 10:06:17 +00:00
Hypolite Petovan
7e8f13d703
Merge pull request #9741 from annando/worker-cooldown
Additional worker cooldown
2021-01-02 15:04:29 -05:00
Michael
10b035b51a Additional worker cooldown 2021-01-02 19:33:50 +00:00
Michael
c0ac120578 Issue 9736: Fix for undroppable registrations 2021-01-02 09:11:38 +00:00
Michael
7a03b72060 Improved daemon test 2021-01-02 08:43:55 +00:00
Michael
78f67c1e0e Check for reaching the memory limit 2021-01-01 23:10:38 +00:00
Michael
a81ac835a1 The frontend worker is removed 2021-01-01 23:05:26 +00:00
Michael
9a6141dcbe Use "pcntl_fork" to fork processes 2021-01-01 19:35:29 +00:00
Michael
5dcc02594c Some more log levels 2020-12-31 20:44:33 +00:00
Michael
d1ea529cfb Issue 9704: Improved log levels 2020-12-31 20:14:13 +00:00
Michael Vogel
54db693e16
Merge pull request #9724 from MrPetovan/bug/notices
Various improvements
2020-12-31 17:30:50 +01:00
Hypolite Petovan
c69d8ee455
Merge pull request #9732 from annando/public-permissionset
Accept public and user contact id for permissionsets
2020-12-31 11:14:22 -05:00
Michael
a2c9aa8e11 Accept public and user contact id for permissionsets 2020-12-31 15:22:38 +00:00
Hypolite Petovan
422de110e6
Merge pull request #9727 from annando/notice
Fix a notice when the path is empty
2020-12-31 07:15:12 -05:00
Michael
fec5f2c217 Fix a notice when the path is empty 2020-12-31 07:54:56 +00:00
Hypolite Petovan
fff565a80b Prevent alt text of emoji image tags to be converted to smilies in BBCode::convert 2020-12-30 22:23:58 -05:00
Hypolite Petovan
beaef12296 Add missing first file/line in exception template 2020-12-30 21:15:01 -05:00
Hypolite Petovan
e342f69e21 Simplify item sanitization in Util\ACLFormatter 2020-12-30 21:11:24 -05:00
Hypolite Petovan
a12380a247
Fix typo in Model\Event 2020-12-30 09:20:46 -05:00
Michael
c5c9fda93c Improved logging, avoid fatal error 2020-12-30 07:13:47 +00:00
Michael
96e140a027 Merge remote-tracking branch 'upstream/2020.12-rc' into notices 2020-12-30 07:12:59 +00:00
Michael
d666501ee0 Fix fatal error 2020-12-29 22:14:54 +00:00
Michael
a294c19d6e Fix several notices 2020-12-29 21:38:23 +00:00
Tobias Diekershoff
cf65725373
Merge pull request #9713 from annando/annando/issue9712
Comment to Twitter post is posted to AP instead
2020-12-28 08:08:02 +01:00
Michael
152daaabfb Comment to Twitter post is posted to AP instead
Fixes friendica/friendica#9712
2020-12-28 06:49:23 +00:00
Hypolite Petovan
8c1e2b9800 Throw exception when item doesn't exist in Factory\Api\Mastodon\Status->createFromUriId
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-750464977
2020-12-27 21:15:21 -05:00
Michael
447bac077e Simplify the resizing 2020-12-26 21:24:36 +00:00
Michael
997319a41f Use the raw data instead of an object 2020-12-26 19:31:39 +00:00
Michael
7f56e2e7a9 Improve photo loading speed 2020-12-26 18:51:36 +00:00
Hypolite Petovan
f0eeb4900f Add support for Unicode in Model\Tag::store 2020-12-24 05:09:38 -05:00
Michael Vogel
71bd6c674b
Merge pull request #9701 from MrPetovan/bug/9636-frio-mobile-intros-buttons
[frio] Improve display of introduction action buttons on mobile
2020-12-23 19:50:16 +01:00
Hypolite Petovan
241cd32b14 Replace obsolete calls to $APP->is_mobile in templates 2020-12-23 03:25:55 -05:00
Hypolite Petovan
cab40636bd Add expected contact field in Module\Contact\Poke
- Address PHP Notice: Undefined index: photo in src/Module/Contact/Poke.php on line 94
2020-12-23 02:48:38 -05:00
Hypolite Petovan
586fb10176
Merge pull request #9697 from annando/improved-server
Server detection: Handle redirects, better Peertube detection
2020-12-22 11:14:07 -05:00
Michael Vogel
ae386a78a4
Merge pull request #9696 from MrPetovan/bug/9306-poke-privacy
Use correct request parameter type for poke privacy
2020-12-22 17:11:37 +01:00
Michael
ae8a376eab Fix wrong variable 2020-12-22 08:24:56 +00:00
Michael
a5096ea549 Server detection: Handle redirects, better Peertube detection 2020-12-22 08:12:36 +00:00
Hypolite Petovan
2ef5bf1e21 Use correct request parameter type for poke privacy 2020-12-22 01:02:42 -05:00
Hypolite Petovan
043e2224b0 Add mentions to poke posts 2020-12-22 01:02:06 -05:00
Hypolite Petovan
2ef4972782 Fix capitalization of Contact::magicLinkById calls 2020-12-22 01:01:43 -05:00
Hypolite Petovan
4b1180ec8b Restore autolink in share block content in BBCode::convertShare 2020-12-21 22:46:29 -05:00
Hypolite Petovan
b0234f4ef9 Remove autocomplete from 2FA code input fields 2020-12-21 00:25:21 -05:00
Hypolite Petovan
c8476f6838
Merge pull request #9687 from annando/drop-unused
Drop unused friendica tables
2020-12-20 19:11:45 -05:00
Hypolite Petovan
ec33957a4f
Merge pull request #9686 from annando/removed-unneeded
Remove unneeded configutation
2020-12-20 19:10:45 -05:00
Michael
1e27396851 Improved help texts 2020-12-20 16:22:25 +00:00
Michael Vogel
4ee029c9c7
Merge pull request #9684 from MrPetovan/bug/9678-required-translation
Add translation to untranslated strings in templates
2020-12-20 16:27:31 +01:00
Michael
246a90b0e6 Replaced tabs with spaces 2020-12-20 14:04:00 +00:00
Michael
6ebd023c4e Drop unused friendica tables 2020-12-20 14:01:46 +00:00
Michael
d755bbae8f Remove unneeded configutation 2020-12-20 08:56:32 +00:00
Hypolite Petovan
fbd0cefdf7 Add translation to Yourself option in view as select in profile
- Address https://github.com/friendica/friendica/issues/9682
2020-12-20 02:08:17 -05:00
Hypolite Petovan
a991f3dfcf Add translation to required labels for install checks
- Remove unused checks loop in install_base template
2020-12-20 02:08:13 -05:00
Hypolite Petovan
d5a90f384d
Merge pull request #9685 from annando/clean-avatar
Remove unused cached avatar photo entries
2020-12-20 02:04:16 -05:00
Michael
460b6d1c75 Remove unused cached avatar photo entries 2020-12-20 06:22:31 +00:00
Hypolite Petovan
65f74da45b Add translation to required labels on input fields
- Normalize display of required label
- Remove unused field_richtext template
2020-12-19 22:52:45 -05:00
Hypolite Petovan
5649861fde
Merge pull request #9681 from annando/fatal-php8
Quit when message is empty
2020-12-19 21:13:38 -05:00
Michael
92679de225 Remove orphaned avatar photo entries 2020-12-19 22:07:08 +00:00
Michael
3ec1270fde Quit when message is empty 2020-12-19 18:17:32 +00:00
Hypolite Petovan
fc19d98392
Merge pull request #9680 from annando/issue-9402
Issue 9402: Avoid message "invalid storage backend settings" on empty value
2020-12-19 13:07:02 -05:00
Michael Vogel
e66fba9757 Issue 9402: Avoid message "invalid storage backend settings" on empty value 2020-12-19 18:17:12 +01:00
Michael
944b0eadb7 Issue 9457: Fix remembering "personal" and "starred" 2020-12-19 16:48:12 +00:00
Hypolite Petovan
bcd61c8372
Merge branch '2020.12-rc' into bug/9656-purify-video-embed 2020-12-18 14:47:24 -05:00
Hypolite Petovan
95f099d26c Restore Mastodon emoji span classes
- Fix typo in replacement of [class] tag
2020-12-18 11:08:03 -05:00
Hypolite Petovan
20d9dcf7ac Bump BBCode version to 2020-12-18 2020-12-18 10:32:36 -05:00
Hypolite Petovan
0781f28ca6 Allow support for allowlisted iframe sources in Content\text\BBCode::convert
- Support Youtube, Vimeo and unused local embeds
2020-12-18 10:32:36 -05:00
Hypolite Petovan
ec0c9dcdb1 Remove support for [iframe] BBCode
- It was a huge gaping security hole, and now HTML Purify will remove the src attribute of all non-allowed sources anyway.
2020-12-18 10:32:36 -05:00
Hypolite Petovan
0dac6e9d34 Add general information header translation to admin site template 2020-12-17 22:52:30 -05:00
Michael
c1e8dbdbae Avoid "Duplicate entry" 2020-12-17 18:56:10 +00:00
Michael
66c1592171 Fix notices 2020-12-17 18:08:07 +00:00
Hypolite Petovan
38b17e1aae
Merge pull request #9668 from annando/keywarning
Fix warning "supplied key param cannot be coerced into a public key"
2020-12-17 08:25:25 -05:00
Michael
e713db4ac7 Delete tombstone contacts 2020-12-17 08:00:56 +00:00
Michael
a548e7c4be Fix warning "supplied key param cannot be coerced into a public key" 2020-12-17 07:07:54 +00:00
Michael
e22bb32247 Store the network profiler data 2020-12-17 06:23:03 +00:00
Hypolite Petovan
1414d43597
Merge pull request #9664 from annando/delete-contacts
Delete removed contacts
2020-12-16 11:28:56 -05:00
Michael
974f7bffc8 Indentation 2020-12-16 15:43:12 +00:00
Michael
a331a8cf0a Delete removed contacts 2020-12-15 22:56:46 +00:00