Matthew Barbour
007e07e507
Various changes to cron uploader:
...
Removed count limit, the cron job now checks the max PH execution time and auto-stops itself at 80% of that value.
Now skips os-specific image cache files like thumbs.db and the __macosx folder.
Changed failed folder re-deployment to allow re-deploying to populated queue, making it easier to re-process lots of failed batches all at once.
Changed page to output as a stream, allowing a long-running process to provide output as it runs rather than just at the very end.
Changed import loop to use the yield convention, allowing faster consumption of found files and lower memory use overall.
2020-06-03 19:57:27 +01:00
Shish
f47e35e4e5
make make_link more sane
2020-03-28 14:11:14 +00:00
Shish
7b9c9dc208
Make SHM_FORM generate the correct targets
2020-03-27 14:46:55 +00:00
Shish
03806d0420
https a bunch of things
2020-03-25 11:47:00 +00:00
Shish
1597eff082
lint fixing
2020-03-13 09:23:54 +00:00
Matthew Barbour
cff72263dc
Added text to transcode message to indicate file size change
2020-03-02 15:41:43 +00:00
Shish
3c78b5685e
remove runtime-coverage -- when we want coverage, we enable it at the PHP runtime level
2020-02-09 16:08:35 +00:00
Shish
d749784e95
remove redundant escaping and split load_balance_url into a separate function with testing
2020-02-09 16:02:37 +00:00
Shish
cdaecb3380
format
2020-02-06 03:10:30 +00:00
Shish
81880f7458
Make installer nice again
2020-02-06 02:19:51 +00:00
Shish
f0f3cc7aa0
merge layout stuff into Page class
2020-02-01 18:11:11 +00:00
Shish
da42b19d6b
make it more explicit that caret/decaret are for encoding tags into URL paths
2020-01-30 21:50:30 +00:00
Shish
fb80509be9
also escape ? and & in tags
2020-01-30 21:24:16 +00:00
Shish
c2231432f3
no make_link for forms
2020-01-30 10:31:11 +00:00
Shish
831906681e
fixes for mysql
2020-01-30 09:01:19 +00:00
Shish
6d3ca01424
format
2020-01-29 00:49:26 +00:00
Shish
615da9e9d2
fix all the tests (for sqlite, php7.4, osx, at least)
2020-01-28 21:19:59 +00:00
Shish
af48aa504b
stop ENABLED_MODS
2020-01-27 20:00:23 +00:00
Shish
59c89ee135
Stop failing to have a separate SCORE_VERSION
2020-01-27 19:57:07 +00:00
Shish
15d1e4ef17
Remove MIN_PHP_VERSION - that's not a thing that end users can change
2020-01-27 19:54:51 +00:00
Shish
b0237ddd97
more stuff to util.php
2020-01-27 19:05:43 +00:00
Shish
dba89e9d13
make all themes have a Page class, to simplify loading
2020-01-27 18:35:36 +00:00
Shish
903679dc53
more stuff into regular functions
2020-01-27 18:24:11 +00:00
Shish
9b50e98927
move some installer bits to util.php
2020-01-27 17:47:28 +00:00
Shish
4bd1d8b6ee
forms
2020-01-26 23:23:15 +00:00
Shish
50f3d04f0c
transload error log-ish
2020-01-26 23:23:01 +00:00
Shish
cddf6e9d5f
more types
2020-01-26 19:44:36 +00:00
Shish
3631084afd
format
2020-01-26 16:38:26 +00:00
Shish
9eb5acf2dc
use strict types
2020-01-26 16:27:56 +00:00
Shish
f5ccffdaf4
shm_simple_form
2020-01-26 13:29:04 +00:00
Shish
73c63e3477
microhtml for user page
2020-01-16 19:13:12 +00:00
Shish
70db0ce5bd
flash_message -> page->flash, with no cookies
2019-12-15 19:47:18 +00:00
Shish
d705578f79
formatting
2019-12-15 15:31:44 +00:00
Shish
562a2c8fea
use microhtml for ext_manager
2019-12-09 14:20:56 +00:00
Shish
7f041a9f93
have fatal_error print out a bunch more info when run from CLI
2019-12-07 22:53:59 +00:00
Shish
a9993b47a8
working microcrud for ipbans
2019-11-27 21:06:14 +00:00
Shish
c94f289291
html_escape all exception messages - pass query out-of-band if we want it formatted
2019-11-11 16:43:42 +00:00
Shish
247cfcbd77
Avoid shadowing global variable
...
When we aren't referencing the current `global $user`, we should give it
a different name to avoid confusion
2019-11-11 16:43:42 +00:00
Shish
55c6854003
formatting
2019-11-02 19:57:34 +00:00
Matthew Barbour
92a0afc15e
Supporting function for cron uploader changes
2019-10-10 10:41:17 -05:00
Shish
e08cdb1638
make Cache its own thing, separate from Database
2019-10-02 10:49:32 +01:00
Shish
a6bb15d859
formatting
2019-09-29 14:30:55 +01:00
Matthew Barbour
f4b647b6b8
Updated util for new extension methods
2019-08-07 15:59:06 -05:00
Matthew Barbour
972b68bdd3
Setup constants
2019-08-05 09:00:23 -05:00
Matthew Barbour
cb1e9c0075
Permissions to constants
2019-08-01 08:07:05 -05:00
Matthew Barbour
a41e99d1af
Renamed graphics extension to media extension
2019-07-08 08:07:08 -05:00
Matthew Barbour
3859e27839
New Graphics extension
...
Added constants to several extensions
2019-07-08 08:07:02 -05:00
Shish
4cadce1de0
merge slow-page-log into tracer, fixes #673
2019-07-07 13:51:19 +01:00
matthew
c906df6956
Added iterator_map and iterator_map_to_array
...
Moved the path join/sanitize to pollyfills
2019-07-07 11:11:57 +01:00
Shish
ccb9c493d5
s/Context/EventTracer/g
2019-07-05 20:49:47 +01:00