Julius Härtl
|
b7d624c671
|
chore: Fix php-cs and psalm
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2024-01-09 11:32:34 +01:00 |
|
Carl Schwan
|
44481e1c2a
|
Switch from OC::$server->get to OCP\Server::get
And add a bit more typing to some classes + psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
2022-05-12 10:55:36 +02:00 |
|
Vitor Mattos
|
4561887348
|
Add long comments with attachment
Signed-off-by: Vitor Mattos <vitor@php.rio>
|
2021-12-30 11:19:49 +01:00 |
|
Julius Härtl
|
9f7901519b
|
Switch to Content-Disposition attachment and check for sane mimetypes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2021-03-04 08:17:28 +01:00 |
|
Julius Härtl
|
76a1cc0618
|
Always set self/blob csp when displaying attachments
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2020-04-24 20:01:46 +02:00 |
|
Julius Härtl
|
52febb396c
|
Fix php cs issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2020-04-22 19:57:19 +02:00 |
|
Jakob Röhrl
|
d27a5ac9ba
|
override attachment
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
|
2020-03-11 12:08:23 +01:00 |
|
Jakob Röhrl
|
725f99d8b8
|
update attachment
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
|
2020-03-11 12:08:04 +01:00 |
|
Jakob Röhrl
|
1e3ff41cb2
|
new exception
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
|
2020-03-11 12:08:03 +01:00 |
|
Julius Härtl
|
aee5fb7a98
|
Only call fclose if resource is still available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-11-08 18:55:48 +01:00 |
|
Julius Härtl
|
dcfb9f3903
|
Properly annotate exceptions thrown by services
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-08-15 21:15:19 +02:00 |
|
Julius Härtl
|
cb25643741
|
Fetch file from rootFolder instead of IAppData to use StreamResponse when displaying
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-07-05 18:42:33 +02:00 |
|
Julius Härtl
|
014f76b2fb
|
Provide resource of tmp file instead of putting all content in memory
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-06-25 17:55:40 +02:00 |
|
Julius Härtl
|
546928fb79
|
Throw proper StatusException
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-06-25 17:55:18 +02:00 |
|
Julius Härtl
|
7955a19149
|
Add some logging
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-06-19 18:00:06 +02:00 |
|
Julius Härtl
|
a83b50bb97
|
return empty result
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-06-19 18:00:06 +02:00 |
|
Julius Härtl
|
0f50f8d1d9
|
Use generic Exception
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-06-19 18:00:06 +02:00 |
|
Julius Härtl
|
5bc65a6eb3
|
Use object-src self/blob for pdf files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-06-19 18:00:05 +02:00 |
|
Julius Härtl
|
581fa011e3
|
Implement updating files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-06-19 18:00:05 +02:00 |
|
Julius Härtl
|
ee5a54a575
|
Allow to undo file deletions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-06-19 18:00:04 +02:00 |
|
Julius Härtl
|
45c7241daf
|
Implement attachment backend with a first module for app data file upload
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-06-19 17:59:00 +02:00 |
|