Commit Graph

526 Commits

Author SHA1 Message Date
Michael e5a531d3b5 Simplify "last-activity" handling 2022-12-04 07:17:26 +00:00
Michael a6ff817f47 Update added 2022-11-23 21:47:47 +00:00
Roland Häder 26e0469de7
Merge branch 'develop' into rewrite/gravity-constants 2022-10-18 16:34:40 +02:00
Michael 018858934b The priority is now a class constant 2022-10-17 05:49:55 +00:00
Roland Häder da66730e4f
Rewrite:
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:

From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````

To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints
2022-10-15 00:44:06 +02:00
Michael 5b3145d7ce Several performance improvements 2022-08-15 13:23:01 +00:00
Michael c6de91a8ec Don't delete the post when there is some undeleted post-user 2022-08-13 12:24:25 +00:00
Michael bc3a6b2bb7 Return value added 2022-08-13 10:14:16 +00:00
Michael 5c5ae00370 Improved performance when updating contacts 2022-08-13 09:01:48 +00:00
Roland Häder db095b8559
Changes:
- double-quotes to single
- added missing `@return`
2022-07-17 22:54:52 +02:00
Roland Häder e33f5612ab
Changes:
- added some type-hints
- added some documentation
- changed some double-quotes to single
2022-06-27 15:16:18 +02:00
Roland Häder fd8f4269ff
Reformatted code 2022-06-23 17:30:17 +02:00
Michael 75bc4eccb7 Display featured posts for contacts 2022-04-07 21:52:25 +00:00
Michael 6c156e3bc6 Set "manually-approve" in the update 2022-02-09 07:02:06 +00:00
Michael 9a764516d0 Use the "contact-type" instead of "forum" or "prv" 2022-02-09 06:52:16 +00:00
Philipp 322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Philipp cad4883544
Update update.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-12-14 12:36:44 +01:00
Philipp 1ed495738b
Fix possible invalid source variable 2021-12-14 10:18:47 +01:00
Philipp 3c85c92070
Add EOF 2021-12-14 10:17:38 +01:00
Philipp 6ca5668ac1
Migrate distributed cache config value 2021-12-14 10:14:24 +01:00
Hypolite Petovan f7714c09e6 Fix user-contact rows not being updated in Contact\User::updateByContactUpdate
- Add new update function to regenerate potentially outdated user-contact rows
2021-11-21 18:59:37 -05:00
Philipp 2ab0d06996
Restructure Storage to new paradigm 2021-10-27 20:00:19 +02:00
Philipp 5d92713a8e Rename Depository to Repository 2021-10-23 21:45:36 -04:00
Philipp ed184bd592
Set intro.blocked to deprecated 2021-10-21 21:56:46 +02:00
Michael 3781b34272 PROFILE_PHOTOS is mostly removed and replaced 2021-10-19 19:15:28 +00:00
Philipp cf38b62993
public fields fix 2021-10-18 23:32:49 +02:00
Philipp 5fecc9ecf7
Adapt ProfileField & Fix current PermissionSet Usage at ProfileFields 2021-10-18 23:32:44 +02:00
Philipp 838cdac5d1
Move ProfileFieldRepository::migrateFromLegacyProfile() & delete old repository 2021-10-18 23:32:41 +02:00
Michael f1d3f60499 Remove "fcontact" from suggestions 2021-10-17 20:19:02 +00:00
Michael 13827edd2c New photo field "photo-type" as preparation for banners 2021-10-11 14:21:10 +00:00
Michael 5113987031 Added update function to add user-contact entry 2021-09-11 07:59:46 +00:00
Philipp c06ba3a7c9
Update db version 2021-08-16 23:27:42 +02:00
Philipp b798ca2da6
Force "Database" as default storage backend 2021-08-16 23:27:42 +02:00
Michael c1f849c389 Unneeded legacy DFRN table removed 2021-07-22 07:11:26 +00:00
Michael 6668066099 The legacy OAuth server is removed 2021-07-20 17:41:04 +00:00
Michael 110f8018eb Issue 10519: check for tables and fields before applying changes 2021-07-20 06:11:12 +00:00
Michael 4955670e15 Linefeed added 2021-07-11 09:51:04 +00:00
Michael d267ba999c We now use the new account-user-view (and fixed the function name) 2021-07-11 09:39:34 +00:00
Michael 0ab24510ef Centzralized functionality to update and publish profile changes 2021-06-15 11:12:44 +00:00
Hypolite Petovan 57d5a47042 Ensure task parameters is an array with at least 1 element in update_1404()
- Address https://github.com/friendica/friendica/issues/10169#issuecomment-827182936
2021-05-31 08:29:50 -04:00
Michael 6fe916a390 API: improved mail handling 2021-05-22 13:37:04 +00:00
Michael 69f6b73033 Only delete "post-user" when it is has got the wrong structure 2021-04-28 20:43:51 +00:00
Michael 688e056ad1 "post-reason" ends double usage of "post-type" 2021-04-07 06:02:06 +00:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael 5f48d6497e Fix slow queries 2021-03-01 22:19:47 +00:00
Michael abcbbd2ec1 Merge remote-tracking branch 'upstream/develop' into no-item 2021-02-19 06:59:45 +00:00
Michael c247d5fbeb The item table is now completely removed 2021-02-19 06:30:38 +00:00
Hypolite Petovan 7de03eb13f [Database version 1402] Rework parsed_url table
- Allow arbitrary-sized URL
- Use URL hash for primary key instead of truncated URL, requires table truncation pre update
- Add expires field
2021-02-18 08:49:33 -05:00
Michael e2e87c7ad8 Ensure that the thread-user-data does exist 2021-02-15 15:12:49 +00:00