Commit graph

400 commits

Author SHA1 Message Date
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
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
3121d967c5 Item delivery data must only be stored when there is data 2019-06-29 08:30:48 +00:00
41dc243186 Fix delivery counter for poking / unify delivery commands 2019-06-10 14:19:24 +00:00
b30d01bea0 Remove converted queue entries 2019-04-05 20:24:49 +00:00
46a99a05a1 Remove the queue from the core 2019-04-05 18:04:39 +00:00
e0b1f4f251
Hardening ConfigUpgrade 2019-03-30 18:54:22 +01:00
d78598b64e
Fixing basepath issue 2019-03-25 09:39:33 +01:00
23654ce566
Added Update checks
- Logging
- Console
- Admin overview
2019-03-24 22:51:30 +01:00
49def0dc27
Adding ConfigFileSaver and tests 2019-03-24 13:47:35 +01:00
fa31bb6dde
remove basepath and hostname from admin panel and add update path 2019-03-24 13:47:31 +01:00
45ada943b4 Update missing namespace uses in mod/
- Update missing constant moves in mod/
2019-01-21 10:56:28 -05:00
ad9c67663d Move Contact::Page_* constants to User::PAGE_FLAGS_* 2019-01-21 10:55:37 -05:00
2e602afd3e Add Monolog 2019-01-21 10:10:40 -05:00
2f49c4a058 Revert "Add monolog" 2019-01-21 10:08:09 -05:00
8f9c0fe149 Adding Develop and normal Logging instances 2019-01-21 09:59:08 -05:00
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
Jeroen De Meerleer
ff180fb0f1 Updated towards code review 2019-01-21 09:12:38 -05:00
acaee626f5 Remove include/ requires that are now done directly from Composer 2018-12-24 09:56:25 -05:00
6eb6cc94c7 Move config/dbstructure.php to config/dbstructure.config.php 2018-11-25 01:14:44 -05:00
270e817954
Adding force to update routine
- Introduced Cache::NEVER Lock (never expiring lock)
- Force flag for dbstructure update
- Moving the business logic to central place in Update class
2018-10-31 14:44:40 +01:00
87f3fe24f7
Moving UPDATE defines/constants out of boot 2018-10-31 14:44:23 +01:00
19ffc0510b Move DB_UPDATE_VERSION from boot.php to config/dbstructure.php 2018-10-22 16:50:55 -04:00
fad99b8619 Switch from dbstructure.json to dbstructure.php 2018-10-22 16:50:55 -04:00
62ad755980 Use "uri-id" for item relations 2018-10-17 18:34:24 +00:00
Michael Vogel
489d3daa94 Trying to clean up a little bit more (#5517)
* "post-type" replaces "bookmark" and "type"

* The permission set is now removed upon expiry

* Post update now stores the permission set

* We don't store the permissions in the item table anymore

* Postupdate now handles "postopts" as well

* "post-type" replaces "bookmark" and "type"

* "post-type" replaces "bookmark" and "type"

* "post-type" replaces "bookmark" and "type"

* The permission set is now removed upon expiry

* The permission set is now removed upon expiry

* We don't store the permissions in the item table anymore

* Postupdate now handles "postopts" as well

* Multiplicated update functions

* And some more duplicated functions ...

* Removed duplicate functions
2018-07-28 16:04:56 -04:00
Michael Vogel
36d4516e7a Missing stuff in "develop"? (#5516)
* "post-type" replaces "bookmark" and "type"

* Removed some more type

* Added index to permission set

* The permission set is now stored

* The permission set is now removed upon expiry

* Post update now stores the permission set

* New file

* Permissions are now sorted

* The permission set is now used for item permissions

* Check for allow_cid, ... is superfluous. Checking for "private" is enough

* We query the permissionset

* Permissions are displayed correctly

* Changed index

* We don't store the permissions in the item table anymore

* Permission fields are now deprecated

* Reversed ...

* Postupdate now handles "postopts" as well

* Set deprecated fields to "null" if empty

* Postupdates are enabled again

* "post-type" replaces "bookmark" and "type"

* The permission set is now stored

* The permission set is now removed upon expiry

* Postupdate now handles "postopts" as well
2018-07-28 13:11:46 -04:00
Roland Häder
4a22710b3b Moved global PAGE_* to Profile class (#5500)
* Rewrites:
- moved PAGE_* to Friendica\Model\Profile class

* Fixed more rewrites from plain (global namespace) PAGE_* to Friendica\Models\Profile class

* CR request:
- moved all PAGE_* constants to Friendica\Model\Contact class
- fixed all references of both classes

* CR request:
- moved ACCOUNT_TYPE_* constants from boot.php to Contact::ACCOUNT_TYPE_*

* Just copy-pasted this code from boot.php, needs to be changed to `const ACCOUNT_TYPE_FOO = x;`

* Ops, melting brain cells here ... :-/
2018-07-27 19:25:57 -04:00
Michael Vogel
5f77e98d76 Postupdate is now working again (#5512)
* "post-type" replaces "bookmark" and "type"

* Removed some more type

* Added index to permission set

* The permission set is now stored

* The permission set is now removed upon expiry

* Post update now stores the permission set

* New file

* Permissions are now sorted

* The permission set is now used for item permissions

* Check for allow_cid, ... is superfluous. Checking for "private" is enough

* We query the permissionset

* Permissions are displayed correctly

* Changed index

* We don't store the permissions in the item table anymore

* Permission fields are now deprecated

* Reversed ...

* Postupdate now handles "postopts" as well

* Set deprecated fields to "null" if empty

* Postupdates are enabled again
2018-07-27 19:24:26 -04:00
Hypolite Petovan
a6fb3568f9 Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00