Commit graph

513 commits

Author SHA1 Message Date
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
nupplaPhil
ed9392469e
Remove unneeded Config namespace usages 2020-01-19 22:50:44 +01:00
nupplaPhil
a6a2efa18a
Move Config::delete() to DI::config()->delete() 2020-01-19 21:22:33 +01:00
nupplaPhil
3411ced833
Move Config::set() to DI::config()->set() 2020-01-19 21:21:53 +01:00
nupplaPhil
6c36fd9e01
Move Config::get() to DI::config()->get() 2020-01-19 21:21:13 +01:00
nupplaPhil
d6efc90194
cleanup namespace usages for L10n 2020-01-19 16:31:33 +01:00
nupplaPhil
d83f6335eb
Move L10n::getCurrentLang() calls to DI::l10n()->getCurrentLang() calls 2020-01-19 16:31:19 +01:00
nupplaPhil
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:16 +01:00
nupplaPhil
800694e9b3
Remove unused use statements & remove PConfig class 2020-01-18 17:02:59 +01:00
nupplaPhil
b5c0df439f
Move PConfig::delete() to DI::pConfig()->delete() 2020-01-18 16:56:46 +01:00
nupplaPhil
88bb66371c
Move PConfig::set() to DI::pConfig()->set() 2020-01-18 16:54:50 +01:00
nupplaPhil
3ea5177c42
Fix update script 2020-01-17 23:55:19 +01:00
nupplaPhil
c2ac206379
Fix in case the storage config is set as file. 2020-01-10 13:22:00 +01:00
nupplaPhil
6f4eee516b
optimize update script 2020-01-10 13:22:00 +01:00
nupplaPhil
d6fab6b06b
making update really work ... 2020-01-10 13:21:59 +01:00
nupplaPhil
dbd5b5bb6e
- Fixing SystemResource
- Adding tests for StorageManager
- Updating doc
2020-01-10 13:21:58 +01:00
nupplaPhil
08edeae2f9
Make Storage testable & add tests
- Making StorageManager dynamic (DI::facStorage())
- Making concrete Storage dynamic (DI::storage())
- Add tests for Storage backend and failure handling
- Bumping Level-2/Dice to "dev-master" until new release
- Using Storage-Names instead of Storage-Classes in config (includes migration)
2020-01-10 13:21:57 +01:00
Michael
1075bfb189 Issue 7659: Udate the "user-contact" value with the "contact" values 2019-12-17 07:10:55 +00:00
Michael
0d32a8674b Update the "unsearchable" field in the "self" contact 2019-09-19 03:54:54 +00:00
Philipp Holzer
92fb0a82ca
Dynamic config loading
- Move settings, defaults and dbstructure to directory 'static'
- Dynamic loading of config files (after the static loading)
- Filter out '-sample.config.php' and '-sample.ini.php' files
- Remove unnecessary ConfigFileManager
- Move ConfigFileLoader to Utils
- Add tests for multi-loading for INI, config and sample-filtering
2019-07-16 20:16:43 +02:00
Jeroen De Meerleer
01dc0c031c There are no dead nodes anymore 2019-07-09 09:23:36 +02:00
Hypolite Petovan
fe8a53425a
Revert "Changed unavailable to in a relation" 2019-07-08 15:55:08 -04:00
Jeroen De Meerleer
0b2f5be1c0 code style 2019-07-08 09:35:32 +02:00
Jeroen De Meerleer
9af20096a3 Added return Update::Success 2019-07-08 09:34:25 +02:00
Jeroen De Meerleer
898fd0353b Updated DB_UPDATE_VERSION
request by mrpetovan
2019-07-08 07:45:59 +02:00
Jeroen De meerleer
e33733f297 not needed update contacts as marital status is not there 2019-07-08 00:00:48 +02:00
Jeroen De Meerleer
884638c093 Whoops 2019-07-07 23:14:03 +02:00
Jeroen De Meerleer
9c8051ef64 Created updatescript 2019-07-07 23:10:35 +02:00
Michael
3121d967c5 Item delivery data must only be stored when there is data 2019-06-29 08:30:48 +00:00
Michael
41dc243186 Fix delivery counter for poking / unify delivery commands 2019-06-10 14:19:24 +00:00
Michael
b30d01bea0 Remove converted queue entries 2019-04-05 20:24:49 +00:00
Michael
46a99a05a1 Remove the queue from the core 2019-04-05 18:04:39 +00:00
Philipp Holzer
e0b1f4f251
Hardening ConfigUpgrade 2019-03-30 18:54:22 +01:00
Philipp Holzer
d78598b64e
Fixing basepath issue 2019-03-25 09:39:33 +01:00
Philipp Holzer
23654ce566
Added Update checks
- Logging
- Console
- Admin overview
2019-03-24 22:51:30 +01:00
Philipp Holzer
49def0dc27
Adding ConfigFileSaver and tests 2019-03-24 13:47:35 +01:00
Philipp Holzer
fa31bb6dde
remove basepath and hostname from admin panel and add update path 2019-03-24 13:47:31 +01:00
Hypolite Petovan
45ada943b4 Update missing namespace uses in mod/
- Update missing constant moves in mod/
2019-01-21 10:56:28 -05:00
Hypolite Petovan
ad9c67663d Move Contact::Page_* constants to User::PAGE_FLAGS_* 2019-01-21 10:55:37 -05:00
Philipp Holzer
2e602afd3e Add Monolog 2019-01-21 10:10:40 -05:00
Hypolite Petovan
2f49c4a058 Revert "Add monolog" 2019-01-21 10:08:09 -05:00
Philipp Holzer
8f9c0fe149 Adding Develop and normal Logging instances 2019-01-21 09:59:08 -05:00
Philipp Holzer
fe8f0e0045 Add Monolog 2019-01-21 09:58:05 -05:00
Jeroen De Meerleer
2d12705f7d Fix missing use 2019-01-21 09:47:46 -05:00
Jeroen De Meerleer
1bdd0bcbb2 1 update to rule them all 2019-01-21 09:47:45 -05:00
Jeroen De Meerleer
5cb56a6b12 Fixes some more things 2019-01-21 09:45:37 -05:00
Jeroen De Meerleer
a5476a4405 Moved q(\n"UPDATE to q("UPDATE 2019-01-21 09:13:09 -05:00
Jeroen De Meerleer
82a7611488 Updated towards Michael Suggestions
They were just warnings anyway
2019-01-21 09:13:08 -05:00
Jeroen De Meerleer
c101b0cf08 Solved warnings
using php code sniffer
2019-01-21 09:13:08 -05:00
Jeroen De Meerleer
e157859dfb Updated update.php towards code style
using php code sniffer
2019-01-21 09:13:08 -05:00
Jeroen De Meerleer
09e44caf71 Seems I forgot about empty translated strings 2019-01-21 09:13:08 -05:00
Jeroen De Meerleer
c7d4838400 If no generic gender is found, proceed without update 2019-01-21 09:13:08 -05:00
Jeroen De Meerleer
5f1e2b2e49 Added missing use 2019-01-21 09:13:07 -05:00
Jeroen De Meerleer
f0d7244c2e Code standards 2019-01-21 09:13:07 -05:00
Jeroen De Meerleer
6a04ba4014 Some more code review 2019-01-21 09:12:38 -05:00