Commit graph

562 commits

Author SHA1 Message Date
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 Holzer 1ed495738b
Fix possible invalid source variable 2021-12-14 10:18:47 +01:00
Philipp Holzer 3c85c92070
Add EOF 2021-12-14 10:17:38 +01:00
Philipp Holzer 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 Holzer 2ab0d06996
Restructure Storage to new paradigm 2021-10-27 20:00:19 +02:00
Philipp Holzer 5d92713a8e Rename Depository to Repository 2021-10-23 21:45:36 -04:00
Philipp Holzer 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 Holzer cf38b62993
public fields fix 2021-10-18 23:32:49 +02:00
Philipp Holzer 5fecc9ecf7
Adapt ProfileField & Fix current PermissionSet Usage at ProfileFields 2021-10-18 23:32:44 +02:00
Philipp Holzer 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 Holzer c06ba3a7c9
Update db version 2021-08-16 23:27:42 +02:00
Philipp Holzer 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
Michael e1c79a41d9 We now don't store in the "item" table anymore 2021-02-14 20:27:31 +00:00
Michael ce6ad1aa73 Get rid of the "item" table, enhanced "post" tables 2021-02-13 19:56:03 +00:00
Michael f1377ce7fb Issue 9906: Improved view speed 2021-02-09 16:35:01 +00:00
Michael 4e192dede5 EOL added 2021-02-05 13:40:15 +00:00
Michael 5e846dd7c2 The thread table is replaced by post-thread and post-thread-user 2021-02-04 05:51:25 +00:00
Michael e561cad844 "participation" is removed since it is unused 2021-02-02 06:28:51 +00:00
Michael 9f37a4d9a0 Rearranged order of update calls 2021-02-02 06:05:50 +00:00
Michael b26157e6e3 Update function for "post-user-notification" 2021-02-01 20:11:25 +00:00
Michael c1d99d6c4c Most user-item traces removed 2021-01-31 23:37:34 +00:00
Michael 15162b4027 New table "post-thread-user" 2021-01-31 18:32:22 +00:00
Michael c3398511b4 New table "post-content" 2021-01-30 22:03:53 +00:00
Michael 9a9674d5fb New "post-user" structure, new update functionality 2021-01-28 22:45:54 +00:00
Hypolite Petovan 82e094179c Rename notify classes according the feature name, not the table name 2021-01-24 09:33:23 -05:00
Michael 4157db5473 "item" is replaced by "post-view" / postupdate check added 2021-01-17 20:32:13 +00:00
Michael 65c8f33754 Post class introduced in "mod" and "include" 2021-01-16 04:11:28 +00:00
Michael a119c030fd Add some more tables to remove orphans 2021-01-07 18:24:26 +00:00
Michael 9ba2bd0736 Ensure to only execute this if the table exists 2021-01-07 18:13:40 +00:00
Michael 2f52afeeac Issue 9746: Delete uri-id orphans 2021-01-07 17:34:23 +00:00
Michael 818c064c0a The notifications parameters are now simplified 2020-11-25 19:56:39 +00:00
Michael 3f3e5245df Fix the databae update 2020-11-20 07:10:43 +00:00
Michael 303aaa00ca Mode switch for insert 2020-11-19 19:34:48 +00:00
Michael 3af5f6b8ee Some more foreign keys added 2020-11-19 06:26:30 +00:00
Michael eaa58da25b New table "post-user" and more foreign keys 2020-11-17 22:33:44 +00:00
Hypolite Petovan c98da63041 [Database version 1375] Add update method to populate missing item.thr-parent values 2020-11-14 10:11:26 -05:00
Roland Häder c4a20613a8
Ops!
Signed-off-by: Roland Häder <roland@mxchange.org>
2020-11-14 15:50:50 +01:00
Roland Häder 32e9a4d4d7
Some fixes:
- varbinary() is not needed when clear-text words like 'xmpp' are used for them,
  it also hinders using external tools like Adminer/phpMyAdmin to search for
  them as e.g. Adminer wraps a HEX() call (SQL) around `k` and `cat` (see table
  `pconfig`)
- added missing UPDATE::SUCCESS

Signed-off-by: Roland Häder <roland@mxchange.org>
2020-11-14 15:29:41 +01:00
Michael d25050b9c8 Added newline at the end of the file 2020-08-26 07:01:01 +00:00
Michael 104c4bd734 More foreign keys added, one removed 2020-08-26 05:32:47 +00:00
Michael 88eee2b9c1 Another foreign key added 2020-08-24 21:03:00 +00:00
Michael 89fbc6bb8d Foreign keys added 2020-08-24 20:06:06 +00:00
Hypolite Petovan 9923e17aed
Merge pull request #9044 from annando/avatar-stuff
Some stuff with contact avatars
2020-08-22 14:08:20 -04:00
Michael dcfde52e7f The table "item-delivery-data" does not exist on newer systems 2020-08-22 05:22:08 +00:00
Michael cbdaf6298a New foreign key for the "photo" table 2020-08-21 18:37:58 +00:00
Michael cfd8190872 IIntroduce pre update function for PR 8927 2020-08-14 19:21:49 +00:00
Michael a7d75702cc "Contact\User" class created 2020-08-04 04:47:02 +00:00
Michael 0c73531da1 Poco and gcontact (mostly) removed 2020-08-01 16:15:18 +00:00
Michael 59bebe7bcf Post update added 2020-07-19 10:03:33 +00:00
Hypolite Petovan 8172fbe75f
Merge pull request #8888 from annando/rename-keywordlist
Update: Don't throw an error if the target field already exists
2020-07-16 14:56:00 -04:00
Michael bc5c19192d Adding a post update to clean up the contact table 2020-07-16 18:30:20 +00:00
Michael 84a340a064 Update: Don't throw an error if the target field already exists 2020-07-16 10:23:56 +00:00
Michael b0086a49e2 in "getidforurl" "no update" is now "update" 2020-07-15 21:08:42 +00:00
Michael 4c4f2c6a20 Fix 8742: The pre update is now executed 2020-06-07 16:41:01 +00:00
Hypolite Petovan 34463f37e4 Rename contact table column to ffi_keyword_denylist 2020-06-07 11:24:52 -04:00
Michael 3258216e8d Add "uri-id" to the "thread" table 2020-05-28 21:44:55 +00:00
Michael 929455bd01 Update the "vid" 2020-05-19 20:28:27 +00:00
Michael 7a82171bfe The "term" table is removed 2020-05-15 06:50:20 +00:00
Michael 28600a7cf8 Fixed description 2020-05-10 17:48:34 +00:00
Michael 366ff0a8b7 Check for existance before creation 2020-05-10 17:41:16 +00:00
Michael 156712597c Improved update mechanism (more error handling) 2020-05-10 17:37:02 +00:00
Michael 7f55e1b2bc We now support real foreign keys 2020-05-10 14:55:03 +00:00
Michael 5fe6a2dfcd We now store verbs in a new side table 2020-05-09 15:38:40 +00:00
Michael a0f0558fec Use the uninstall function 2020-03-10 20:00:44 +00:00
Michael 8e421f0893 Fix uninstall of installed addons 2020-03-09 23:28:37 +00:00
Michael 9182879a00 Fix a warning 2020-02-16 11:32:18 +00:00
Michael 3bd1f3a836 No more gender 2020-02-16 10:55:18 +00:00
nupplaPhil 7d714319c8
Add license info at Friendica PHP files 2020-02-09 16:34:23 +01:00
Hypolite Petovan 451596f5b3 Rename migration method for clarity in Repository\ProfileField 2020-01-23 14:00:42 -05:00
Hypolite Petovan d9f7556b4a Add post-update migration routine for custom profiles 2020-01-22 19:42:36 -05:00
Hypolite Petovan bac5159f6f Clarify update.php doc and mention Database\PostUpdate 2020-01-20 07:47:53 -05:00
Philipp Holzer ed9392469e
Remove unneeded Config namespace usages 2020-01-19 22:50:44 +01:00
Philipp Holzer a6a2efa18a
Move Config::delete() to DI::config()->delete() 2020-01-19 21:22:33 +01:00
Philipp Holzer 3411ced833
Move Config::set() to DI::config()->set() 2020-01-19 21:21:53 +01:00
Philipp Holzer 6c36fd9e01
Move Config::get() to DI::config()->get() 2020-01-19 21:21:13 +01:00
Philipp Holzer d6efc90194
cleanup namespace usages for L10n 2020-01-19 16:31:33 +01:00