Joas Schilling
4d98128e9a
Fix migration parameter handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 year ago
Arthur Schiwon
b4f6329a83
fix querybuilder instance recuse
...and execute delete query
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 year ago
Christopher Ng
7f5ef4dcf7
Delete theming background preferences
Signed-off-by: Christopher Ng <chrng8@gmail.com>
1 year ago
Joas Schilling
7599cbb529
New code being new
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 year ago
Joas Schilling
6e4a90ba36
Fix SQL errors
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 year ago
Christopher Ng
107a974b36
Fix missing background on upgrade
Signed-off-by: Christopher Ng <chrng8@gmail.com>
1 year ago
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
Joas Schilling
d5df033ede
Create primary keys on all tables and add a command to create the afterwards
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst
74936c49ea
Remove unused imports
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst
1b46621cd3
Update license headers for 18
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Julius Härtl
e29a76bc79
Use file path for direct editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years ago
Julius Härtl
9a2694fcb0
Code style fixes and cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years ago
Julius Härtl
e52793c69e
Direct editing API to allow file editing using a one-time token for
mobile apps
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years ago
Roeland Jago Douma
68748d4f85
Some php-cs fixes
* Order the imports
* No leading slash on imports
* Empty line before namespace
* One line per import
* Empty after imports
* Emmpty line at bottom of file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Joas Schilling
704c7b6672
Set default value
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
45506adc5c
Add a displayname to the database group backend
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Georg Ehrke
071301bfb9
Fix Calendarsubscriptions source column change on Oracle
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
5 years ago
Georg Ehrke
b83918ed6d
convert source column in calendarsubscription table to (long) text
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
5 years ago
Roeland Jago Douma
efef053960
Add column to DB to store expired passwords
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Christoph Wurst
82748a482e
Fix backup codes column length to fix Argon2 hash values
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years ago
Daniel Calviño Sánchez
49fd17ff14
Add "password_by_talk" column to "share" table in the database
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years ago
Bjoern Schiessle
7bdedfba48
explicitely mention that the note column can be null
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
6 years ago
Bjoern Schiessle
94c7052482
allow 'note' to be null
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
6 years ago
Bjoern Schiessle
a93f2a648b
allow to add a personal note to a share
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
6 years ago
Bjoern Schiessle
4c8f3d6d77
add cloud federation api app
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
6 years ago
Bjoern Schiessle
5cfe20675d
start implementing federated sharing 2.0
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
6 years ago
Bjoern Schiessle
cbacca4202
move capabilities to share by mail app
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
7 years ago
Joas Schilling
5c2ec58440
Move ShareByMail activities to new API
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Bjoern Schiessle
25bcd71d02
add activity if a file was shared by mail
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
7 years ago
Bjoern Schiessle
86b362809b
always show correct place holder, mention share by mail only if the share provider is enabled
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
7 years ago
Morris Jobke
f56ae37e8f
Opening the trashbin causes errors in log for files without preview
* put a file without a generated preview in the trashbin
(e.g. a *.docx file)
* open the trashbin
* following errors will show up in the nextcloud.log:
- filesize(): stat failed for ...
- fopen(...): failed to open stream: No such file or directory at ...
- fread() expects parameter 1 to be resource, boolean given at ...
- fclose() expects parameter 1 to be resource, boolean given at ...
- imagecreatefromstring(): Empty string or invalid image at ...
This is because the preview code tries to load an SVG image, which
is obviously only text.
The fix simply handles this before the loading happens and the web UI
keeps showing the default mimetype icon.
7 years ago
Morris Jobke
2f42a3fc31
Add workflowengine
8 years ago
Joas Schilling
ba87db3fcc
Fix others
8 years ago
Roeland Jago Douma
ea47974a08
Add OCSMiddleware to catch OCS exceptions
* OCSException
* OCSBadRequestException
* OCSForbiddenException
* OCSNotFoundException
8 years ago
Bjoern Schiessle
86f12cc3e7
listen to trash bin and group manager hooks
8 years ago
Lukas Reschke
aa831252b3
Add basic audit component to logger
Logs already:
- Share events
- Authentication events
- User management events
- File action events
8 years ago
Sam Tuke
8b01286a5d
Merged branch 'master'
11 years ago
Frank Karlitschek
72e9a2ce57
moved to apps repository
12 years ago
jfd
dc3bec6211
OC_Share no longer exists. remove hooks that would trigger require_once / autoloading failures, so i can at least upload files
12 years ago
Bart Visscher
2d581c675f
Audit: Log sharing actions
12 years ago
Bart Visscher
1e12db35ee
Audit: Add user login/logout logging
12 years ago
Bart Visscher
640ba1828f
Start of audit app
Audit the filesystem action
12 years ago