Commit Graph

288 Commits

Author SHA1 Message Date
Mario
4c962417ff pÃrevent storing files/folder with filenames exceeding their max name length 2025-04-16 11:03:08 +00:00
Mario Vavti
9e2f3dc05f fix more issues reported by phpstan 2024-11-27 10:25:37 +01:00
Mario
01da60b385 Merge branch 'various-phpstan-issues' into 'dev'
Several issues discovered by PHPStan

See merge request hubzilla/core!2168
2024-11-14 18:40:15 +00:00
Harald Eilertsen
951800eca6 Several issues discovered by PHPStan 2024-11-14 18:40:15 +00:00
Mario Vavti
e52714ed16 make sure to notify the drop if necessary 2024-11-10 18:53:46 +01:00
Mario Vavti
e339fbcc46 container fixes for photo and file upload 2024-11-10 11:40:56 +01:00
Mario Vavti
0481901b59 refactor drop_item[s]() for containers 2024-11-08 20:18:20 +01:00
Mario Vavti
e8f816a981 Merge branch 'dev' into containers 2024-10-18 21:36:48 +02:00
Mario
e649ba5b13 remove attach_upgrade() after 7 years it should not be required anymore 2024-10-18 19:32:41 +00:00
Mario Vavti
d5291e9b07 containers: port core modules and attach_store_item() 2024-10-11 17:10:56 +02:00
Mario Vavti
a5f0253aef rewrite sql logic to rename photos - there are more DB queries involved now but the previous logic was throwing error in postgresql (while the result was correct anyway) 2024-10-02 14:45:10 +02:00
Mario
06ac41c005 whitespace 2024-09-19 06:59:55 +00:00
Mario
39ee872f49 prefer token if available 2024-09-19 06:59:27 +00:00
Mario
06183ba01a duplicate array key 2024-06-10 10:00:25 +00:00
Mario
9c62514c1b docu 2024-06-10 08:58:32 +00:00
Mario
0428a97e00 docu 2024-06-10 08:56:59 +00:00
Mario
2e15207d0b fix spacing issues in mod wall_attach and make save_chunk() deal with userfile and file array keys 2024-04-17 07:45:20 +00:00
Harald Eilertsen
0dc959d9fe Deprecate *_config() functions in core. 2024-03-24 09:58:21 +00:00
Mario
3dd7394247 AS2 2024-02-25 19:29:50 +00:00
Mario
515d1d5e63 postgres does not like binaries to be string while mariadb/mysql does not seem to care - let's see 2024-01-02 20:49:57 +00:00
Mario
be19b75031 make sure that we allow "0" as pathname 2023-08-15 12:05:50 +00:00
Mario
c4af4e3297 fix unable to create folders with name 0 2023-08-14 08:17:47 +00:00
Mario
cd26ead043 implement optional moderation of unsolicited comments, minor css fixes and some more work on ocap 2023-06-23 09:13:51 +00:00
Mario
11a2419c22 fix wrong array key 2023-06-02 19:10:53 +00:00
Mario
48a33f08e2 ocap initial checkin 2023-06-02 11:33:44 +00:00
Mario Vavti
3fb27bdc55 fix query for postgres 2023-05-10 18:04:19 +02:00
Mario
abae5de4d8 when uploading a image file, embed it in the item. otherwise attach it 2022-12-07 10:50:26 +00:00
Mario
839c5a8e41 fix regression where automatically created directories were not public and pinned/featured state of apps was not displayed correctly 2022-11-07 19:41:22 +00:00
Mario Vavti
e9ca17cec1 fix php warnings 2022-10-18 12:39:13 +02:00
Mario
108be24aed remove logging 2022-10-12 19:39:15 +00:00
Mario
71efb05658 fix php warnings 2022-10-12 19:36:24 +00:00
Mario
d6a9a9927c HQ dashboard - initial checkin 2022-07-15 17:50:02 +00:00
Mario
2968bf8241 merge branch perms_ng into dev 2021-12-15 12:17:19 +00:00
Mario Vavti
4ba47698d7 revise content import/export part 2 2021-09-29 21:47:12 +02:00
Zot
5b73cee0d8 file is stored in wrong directory (/) if uploaded using photo module and it... 2021-08-30 07:56:00 +00:00
Mario
a2403042c2 make sure we have a path before running getimagesize() on it 2021-08-17 07:53:07 +00:00
Mario
3f6b6dfaf3 fix regression in relation with recent photo changes 2021-06-27 15:20:06 +00:00
Hilmar R
c26dede97f get dev 2021-03-01 18:48:11 +01:00
Mario
3105f514e4 make attach_upgrade() catch entries where only display_path is missing
(cherry picked from commit 42812078c5)
2021-01-16 10:13:43 +01:00
Mario
52fa350138 error in logic
(cherry picked from commit 16082456df)
2021-01-06 20:35:16 +01:00
Mario
d80f2a621d simplify attach_folder_select_list()
(cherry picked from commit c7010dac3c)
2021-01-06 20:33:59 +01:00
Mario
d118ab71e6 files_ng: implement directory and bulk file download 2020-12-21 21:37:10 +00:00
Mario
b4b566318a files_ng: fix regression in finding the right path in certain situations and add a info panel with attach and zrl bbcode 2020-12-16 16:57:56 +00:00
Mario
8e488e2913 handle removal of terms in attach_delete() when deleting a ressource 2020-12-14 21:56:19 +00:00
Mario
e58e27ce22 sync categories 2020-12-14 21:38:49 +00:00
Mario
2a154f8c9a merge branch files_ng into dev 2020-12-14 11:02:20 +00:00
Mario
d59b81f11d if restarting a previously interrupted upload just return where we ended - fix issue #1485 2020-10-31 19:57:14 +00:00
Mario
c9794439bc adjust code comments and whitespace 2020-04-29 08:24:00 +00:00
Mario
079c13e633 more work on attach_store_item() 2020-04-29 08:21:33 +00:00
Mario
c229f058b4 fix mod filestorage and fetch the info from attach if only the hash is provided in attach_store_item() 2020-04-25 09:15:20 +00:00