Commit graph

39 commits

Author SHA1 Message Date
9ae8925069 Upload: Fix available file extension check 2024-05-19 18:08:19 +00:00
39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
Marek Bachmann
efb98c8457 Wrapped Strings::getBytesFromShorthand() around the last overseen DI::config()->get('system', 'maximagesize') 2022-11-30 21:33:11 +01:00
Marek Bachmann
119a5ca8d8 Adjusted code use of shorthandnotation for image size upload limits 2022-11-30 21:27:14 +01:00
a3e1a43f79
Wrong type-hint, fixes #11731 2022-07-13 20:48:32 +02:00
04df7f6e05
Changes:
- added more type-hints
- cleaned up some files (curly braces, spaces)
2022-06-23 07:17:00 +02:00
f0522a998b [various] Use __DIR__ constant in all Page registerStylesheet and registerFooterScript calls 2021-11-29 06:54:59 -05:00
0bf6612ea3 "log" is replaced with the corresponding logging functions 2021-10-21 06:04:27 +00:00
d902f6808d Use globals instead of $a->data 2021-07-25 17:28:07 +00:00
Balázs Úr
73e780d7b6 [js_upload] Improve wording by adding placeholders 2021-03-23 02:41:32 +01:00
Spencer Dub
94875043e1
Expand description
Expand description to indicate that it assists with multi-file upload.
2020-08-10 13:18:02 -07:00
65e4726718
Remove unneeded Config namespace usages 2020-01-19 22:50:43 +01:00
1ce63185ab
Move Config::get() to DI::config()->get() 2020-01-19 21:21:12 +01:00
f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00
2ca621a92a
Replace deprecated $a->page with DI::page() 2019-12-30 20:02:08 +01:00
665c2c3337 [js_upload] Rewrite addon after ACl changes
- Move HTML to template
- Remove redundant uninstall method
- Enforce coding standards
- Add type-hinting
2019-11-30 12:06:51 -05:00
acdd62da3e [various] Replace deprecated defaults() calls by ?? operator 2019-10-17 11:08:46 -04:00
e0815309d0
Fix wrong intends in js_upload 2019-03-13 21:01:09 +01:00
dcf4b5695d
Fix wrong intends in js_upload 2019-03-13 20:58:54 +01:00
47b2326dff
Fixing missing extension index in js_upload 2019-03-13 20:54:18 +01:00
c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
aa5fbb4994 Replace killme() by exit() 2018-12-26 10:20:16 -05:00
d836593a3b Replace x() by !empty() or defaults()
- Remove extraneous parentheses around !empty()
2018-11-30 09:11:56 -05:00
Adam Magness
c9a8974165 Logger Levels
update logger levels
2018-10-30 09:48:09 -04:00
Adam Magness
49eff56e5d Core Logger
implement log() function.
more to squash


Core Logger Class

implement log() function
2018-10-29 19:40:18 -04:00
1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
rabuzarus
6e4abdb875 js_upload: use empty string if no newalbum or album input element is found (#712) 2018-08-20 00:25:35 -04:00
Andreas Neustifter
aa1a542396 [js_upload] Better wording for mass-upload photos button. (#654) 2018-07-20 15:15:09 -04:00
Adam Magness
f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Adam Magness
0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05:00
Hypolite Petovan
27b60e003f Use short form array syntax everywhere 2018-01-15 08:15:33 -05:00
f8d9efe8c7 some files were executable, now they are not 2017-12-07 14:26:26 +01:00
Adam Magness
48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
friendica
ed2a22ab16 js_upload - provide a site tmp directory config in case your service provider has an unusually small /tmp partition 2012-11-25 19:05:23 -08:00
friendica
fbfe9a3f29 bug #77, photo upload produces inelegant warning if sizelimit exceeded 2012-02-16 22:48:12 -08:00
friendica
391f57fa39 permission change 644 to 755 for addons 2012-01-21 15:19:22 -08:00
Friendika
38e3373963 option to not publish photos on wall 2011-10-01 06:19:34 -07:00
Friendika
056921b1e8 addon repository relocated 2011-09-25 01:56:03 -07:00