Andrew Dolgov
fd5e0f98c4
even more tracing
2023-04-09 22:31:42 +03:00
wn_
a355221e7f
Consistently get the self URL.
...
This ensures all uses of the self URL get the same normalized/sanitized value.
2022-11-28 17:40:42 +00:00
jmechnich
560caf8377
Fix PHP8 strtime warning if argument is null (addendum)
2022-10-01 11:05:12 +02:00
wn_
a63c949a55
Use arrow functions in some places.
2022-08-12 14:41:21 +00:00
wn_
57bf56f794
Address PHPStan warnings in 'classes/article.php'.
...
Also related changes in some other classes.
2021-11-12 01:50:40 +00:00
wn_
50997df57a
Address PHPStan warnings in 'inclasses/digest.php'.
2021-11-11 21:46:44 +00:00
Andrew Dolgov
46b77fc6b7
fix digest preview not working on mysql because of a quoted LIMIT argument
2021-03-08 09:10:44 +03:00
Andrew Dolgov
ba86c64d38
add digest preview button, also fix a bunch of bugs
2021-03-02 19:21:21 +03:00
Andrew Dolgov
c96172fa04
use constants in get_pref()/set_pref()
2021-02-25 14:49:58 +03:00
Andrew Dolgov
bd2314170d
implement prefs UI based on new prefs class and a few more things
2021-02-25 12:46:13 +03:00
Andrew Dolgov
211f699aa0
migrate the rest into Config::
2021-02-22 22:35:27 +03:00
Andrew Dolgov
e4107ac952
wip: initial for config object
2021-02-22 21:47:48 +03:00
Andrew Dolgov
be4e7b1340
fix several issues reported by phpstan
2021-02-22 14:41:09 +03:00
Andrew Dolgov
257efb43c6
article: unify naming
2021-02-15 15:52:28 +03:00
Andrew Dolgov
c94f1b6ff8
fix some more warnings reported by phpstan
2021-02-06 17:38:24 +03:00
Andrew Dolgov
215f388992
move timestamp-related stuff to a separate class
2020-09-23 13:04:26 +03:00
Andrew Dolgov
1f2a721905
allow overriding built-in templates via templates.local
2020-03-13 14:40:35 +03:00
Andrew Dolgov
ef514bc4bd
add notifications for mail and password changes
...
update and shorten some other message templates
2019-10-09 09:04:51 +03:00
Andrew Dolgov
656475ec78
digest text mode excerpt: use ellipsis fit for plain text
2019-03-26 08:51:36 +03:00
Andrew Dolgov
4e1eeb0488
digest text mode: fix article excerpt source
2019-03-26 08:08:50 +03:00
Andrew Dolgov
eab568065f
enable excerpt for text digest
2019-03-16 15:35:11 +03:00
Andrew Dolgov
da1b3e3ba1
digest: add ARTICLE_LABELS
2019-03-02 17:57:25 +03:00
Andrew Dolgov
7867f3efa4
prepare_headlines_digest: do not use PDO constants by reference
2018-12-21 08:26:03 +03:00
Andrew Dolgov
c10a43069e
debug logging system rework:
...
* support various logging levels per-message
* remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc
* _debug() is kept as a compatibility shim for plugins
2018-11-30 08:34:29 +03:00
Andrew Dolgov
55bf4bc1d3
mailer: split to/from name/addresses
2018-11-22 16:36:10 +03:00
Andrew Dolgov
57932e1837
remove PHPMailer and related directives from config.php-dist; add pluggable Mailer class
2018-11-22 14:45:14 +03:00
immanuelfodor
09be7cdd73
binding statement named param instead of positional replacement
2018-01-02 06:30:22 +00:00
Andrew Dolgov
abf94f00b4
digest: use PDO
2017-12-01 18:31:23 +03:00
Andrew Dolgov
c2f0f24e4c
move digest stuff to Digest class
2017-05-04 15:41:38 +03:00