Harald Eilertsen
cbd208eea3
Remove use of NULL_DATE constant in core
...
The NULL_DATE constant is defined conditionally in the DBA static class.
This causes issues with static analyzing tools like PHPStan, because
they can not really know if the constant is defined or not.
We could make PHPStan ignore this, but since there already is a
`get_null_date()` method on the `dba_driver` class, this patch
changes the code to use this method instead.
We could also use the public static attribute `$null_date` on the DBA
class directly, but using a method feels cleaner, and allows for making
the attribute private, or even removing it completely at some later
time.
I'm not removing the NULL_DATE constant for now, in case it is in use by
any extensions.
2026-03-07 11:15:46 +01:00
Harald Eilertsen
0dc959d9fe
Deprecate *_config() functions in core.
2024-03-24 09:58:21 +00:00
Mario
c9d4802bf1
Ãremove queue_fn includes
2021-05-27 09:33:22 +00:00
Hilmar R
67db1c6e9b
melt diff prod fork 4.6.2 air onto 5.2.1 to 5.2.2 DB 1241
2021-01-23 15:24:24 +01:00
Max Kostikov
b070503e77
MySQL 8 admin summary compatibility
2019-02-17 22:47:08 +01:00
zotlabs
623aa7ea48
remove primary/clone counts from admin summary. The last checkins should fix this count "eventually" but the information has little direct value and may require location information for a local channel to change before it is actually corrected.
2018-10-30 17:30:59 -07:00
Mario Vavti
4376f8f030
do not count sys channel in totals
2018-09-01 13:43:32 +02:00
zotlabs
fa6e5e4d75
plugins -> addons
2018-06-28 16:43:22 -07:00
zotlabs
8b4af7cf0b
hubzilla issue #1086 , pending count on admin summary page
2018-05-19 00:54:47 -07:00
git-marijus
1bdcfe5219
provide a mechanism to mark apps active in the bin
2017-07-21 10:32:21 +02:00
zotlabs
54c5e03b4f
provide more comprehensible information on the admin summary page
2017-06-26 22:42:01 -07:00
zotlabs
3a00140797
remove php version checks for older ( < 5.4) code incompatibilities
2017-05-23 21:20:40 -07:00
Klaus Weidenbach
7b41839ea8
[TASK] Update Doxyfile and fix Doxygen errors.
...
Updated Doxyfile to include new folders.
Add a list for @hooks tags.
Fixed some parsing problems for Doxygen.
2016-10-13 11:27:23 +02:00
redmatrix
bad5057a74
start removing db backticks
2016-10-03 19:47:36 -07:00
redmatrix
fb9544badd
null_date conversion; phase 1
2016-09-25 17:06:13 -07:00
redmatrix
95d24f1d30
final cleanup on submodules
2016-09-05 21:08:40 -07:00
redmatrix
dbb4ccbcc0
move the rest of mod_admin to sub modules
2016-09-05 21:00:00 -07:00
redmatrix
ed213c4d6d
move admin/plugins::post to submodule and get rid of absolute paths
2016-09-05 19:50:55 -07:00
redmatrix
abb7695624
move admin/security to submodule
2016-09-05 19:10:12 -07:00
redmatrix
2cadda657c
superfluous backslash
2016-09-05 18:16:29 -07:00
redmatrix
bedc7b7b69
use SubModule class for generalising submodules, move back to the zotlabs/module hierarchy
2016-09-05 18:11:00 -07:00
redmatrix
aaa7d6a0ec
begin to organise the admin module into independent sub-modules. The same needs to happen with the API module. Using admin/plugins->get() as the first test case
2016-09-04 22:42:13 -07:00
redmatrix
fb13e69b8e
supercedes pull request #503
2016-08-28 21:48:17 -07:00
redmatrix
689f232243
move allowed email domains to admin->security page
2016-08-28 19:36:14 -07:00
redmatrix
238621ee92
allow changing the server role - as well as configuring any of the three options during installation
2016-08-23 23:00:24 -07:00
redmatrix
38ca3bac40
optional server role compatibility checks for plugins
2016-08-22 17:41:41 -07:00
redmatrix
bb3d56a0b2
foreach: invalid argument
2016-06-09 22:07:27 -07:00
redmatrix
037cd74e8e
rename admin/users to admin/accounts, provide sortable columns in account and channel summaries - issue #255
2016-06-06 19:44:22 -07:00
redmatrix
b84f7cd37f
class functions called incorrectly
2016-06-04 03:32:03 -07:00
redmatrix
6602ff83dd
start removing reserved words from database column names (this run: addon and hook)
2016-05-30 19:44:30 -07:00
Mario Vavti
24360fd191
check if $addonDir is a dir to silence warning if it does not exist
2016-05-26 14:33:10 +02:00
redmatrix
de006771c7
renamed include files identity.php (channel.php) and Contact.php (connections.php)
2016-05-22 16:54:30 -07:00
Andrew Manning
7a526fa8a9
Temp repo folder error message correction
2016-05-21 12:58:05 -04:00
Andrew Manning
598baa1b32
Moved git repository storage to store/[data]/git to avoid collision with a channel named git. Fixed bug where temp repo folder was never created.
2016-05-21 12:55:17 -04:00
redmatrix
a2cec8899a
daemon conversion continued...
2016-05-19 22:26:37 -07:00
Andrew Manning
d5ca889cf5
Replace text strings for translation support
2016-05-19 07:09:13 -04:00
Andrew Manning
77eb9bcfa0
Link new plugins when updating repos via admin/plugins
2016-05-18 21:32:23 -04:00
Andrew Manning
70d413ab04
Create store/git/sys/extend/addon directory and link if it does not exist in all plugin repo GUI POST actions
2016-05-12 06:49:24 -04:00
Andrew Manning
d968fc51ea
Merge remote-tracking branch 'upstream/dev' into plugin-repo
2016-05-11 05:54:20 -04:00
Andrew Manning
c7698e4dc3
Check if target directories are writable when adding, updating, or removing plugin repos
2016-05-11 05:53:23 -04:00
redmatrix
4dd3839c41
provide repository versions on admin summary page and an upgrade message if you're behind master
2016-05-10 21:46:04 -07:00
Andrew Manning
40e3d37a72
Remove debugging lines
2016-05-10 21:01:47 -04:00
Andrew Manning
2882eef42f
Link plugins in the newly installed addon repo to /addon so they are accessible
2016-05-10 21:00:10 -04:00
Andrew Manning
78b40e6363
Delete existing repo if the new one has a different URL. Fixed bug that could cause repeated installation.
2016-05-10 06:28:00 -04:00
Andrew Manning
9c8cf7d433
Fixed some bugs with empty repo name and improved the interface a bit.
2016-05-09 21:59:27 -04:00
Andrew Manning
180731c162
copy-paste error
2016-05-09 21:17:47 -04:00
Andrew Manning
d714cd76dd
Addon repo is copied to /extend/addon/ when admin presses install. Addon repos can be removed via GUI.
2016-05-08 20:30:00 -04:00
Andrew Manning
174484a51c
Custom addon repo name option added.
2016-05-08 09:26:06 -04:00
Andrew Manning
f73a74967e
Existing addon repos are listed on plugin page with controls for updating, removing, and switching branches.
2016-05-07 22:12:12 -04:00
Andrew Manning
0746794e81
New plugin repo cloned using new GitRepo class. Readme and info displayed in wide modal dialog.
2016-05-07 18:39:19 -04:00