Commit graph

6841 commits

Author SHA1 Message Date
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