John Molakvoæ (skjnldsv)
6fcd075730
Use DOMContentLoaded and fix sharebymail loading issue
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years ago
Julius Härtl
381decca49
Add setting to restrict user enumeration to groups
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years ago
John Molakvoæ (skjnldsv)
444c9b6744
Add settings front and split sharing entry config
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years ago
Christoph Wurst
de6940352a
Move settings to an app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
6 years ago
Maxence Lange
22b141525f
testing process
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
7 years ago
Jan-Christoph Borchardt
d14c0f2ed7
Move font from Nunito to Noto Sans
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
7 years ago
Christoph Wurst
0f3e438f7c
Move OC.theme to the bundle and deprecate oc_defaults
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
7 years ago
Christoph Wurst
42be4b7765
Move oc_appconfig/OC.appConfig to the main bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
7 years ago
Morris Jobke
19db60f1f5
Fix setup checks for ocm/ocs-provider
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Roeland Jago Douma
575b3f9ff8
Revert "Where is your data?"
7 years ago
Morris Jobke
faef05730a
Add unit tests and provide better message
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Bjoern Schiessle
6c9ea61758
check ocs-provider route
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
7 years ago
Bjoern Schiessle
7c31c9a748
add setup check for ocm-provider route
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
7 years ago
Michael Weimann
813ff430f1
Implement storing and loading the server info
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
7 years ago
Daniel Kesselberg
51f0651d68
Run setupchecks when #security-warnings is present
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
7 years ago
Julius Härtl
a3be286273
Make setup check also pass with a 501 status
Signed-off-by: Julius Härtl <jus@bitgrid.net>
7 years ago
Morris Jobke
f5894b653d
Add check for missing .woff2 rule in Nginx via setup check
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Daniel Kesselberg
92675a606e
Add sendmailmode to gui
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
7 years ago
Rinat Gumirov
5aca24f3bd
expire share days in settings validate
Signed-off-by: Rinat Gumirov <rinat.gumirov@mail.ru>
7 years ago
Daniel Calviño Sánchez
20a5ce217a
Add check for well known URL of WebFinger in the settings overview
If the WebFinger service is not set in Nextcloud configuration no check
is performed.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
7 years ago
Morris Jobke
b8d54bd53a
Fix a misleading setup check for .well-known/caldav & carddav
The problem is that the version without the slash is the correct one.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Daniel Calviño Sánchez
fe30653194
Fix "checkWellKnownUrl" not being run
The check is run only if its last parameter is true; data() tries to
convert the HTML attribute string to an actual JavaScript value, so
"true" is returned as an actual boolean instead of an string; as a
strict comparison against "true" was used the result was false and thus
the checks were not run.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
7 years ago
Julius Härtl
5a20ac7df2
Add warning state to setup checks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
8 years ago
Julius Härtl
6afe3e42f3
Add visual indicator for setup checks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
8 years ago
Morris Jobke
0d5142be70
Show a link to the docs instead of a button on the untrusted domain page
Before there was a button to "quickly" add the untrusted domain to the config. This button often didn't worked, because the generated URL was often untrusted as well. Thus removing it and providing proper docs seems to be the better approach to handle this rare case.
Also the log should not be spammed by messages for the untrusted domain accesses, because they are user related and not necessarily an administrative issue.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
8 years ago
Bjoern Schiessle
1615312bf1
add share permissions to settings page
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
8 years ago
Joas Schilling
e938663329
Don't send the test mail twice
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
a5b4308a51
Don't put the SMTP password into the HTML code
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
beb3f92c4d
Remove the double password confirmation on changing cron
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
62855c08ff
Require confirmation when changing the email settings
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
247b7f37ce
Color the trusted domain to alert the admin a bit more
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
103bf6dd28
Switch to public API
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
0b1fb180a5
Make AppConfig part of the public API
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Morris Jobke
6bb95de1c5
Adding a optional disclaimer to the anonymous upload page
10 years ago
Morris Jobke
cf79417490
Use tooltip for background job execution time
10 years ago
Christoph Wurst
e4a8456d01
replace $().attr('checked') by $().prop('checked', state) or $().is(':checked')
10 years ago
Roeland Jago Douma
35024beb9c
Add `allow sharing with groups` checkbox to admin page
10 years ago
Vincent Chan
faf48e42b7
Move data protection check to javascript
fixes #20199
10 years ago
Morris Jobke
8b6b042ffd
Add config switch to disable the .well-known URL check
10 years ago
Lukas Reschke
f4c04c5f28
Concat also the other results
Otherwise this will ignore the two last checks 🙊
10 years ago
Morris Jobke
0161928fc3
Add check for .well-known URL in the root of the webservers URL
* fixes #20012
10 years ago
Robin McCorkell
6959d5ca22
Properly detect setup check messages set in the HTML template
10 years ago
Thomas Müller
b2dd5cb616
save excluded groups in json format - fixes #10983
10 years ago
Morris Jobke
63a1f9afac
add success message
11 years ago
Morris Jobke
e8c3eb7473
Clear cron errors on change of background job mode
* fixes #18454
11 years ago
Morris Jobke
70bce7a54a
[admin settings] hide security warnings if empty
* fixes #15257
11 years ago
Roeland Jago Douma
8bde72c4bd
All setup messages are now properly types
11 years ago
Roeland Jago Douma
5d15051da4
Allow setupchecks to specify a warning level
11 years ago
Roeland Jago Douma
15a0f8e433
Do not allow invalid default expire days
Currently it is possible to set a negative number of days in which a
public share expires. This results in public sharing not working and it
undesired.
Weird thing is that the API still lets you create shares and gives back
an URL. However the id is "unkown" and the URL invalid.
11 years ago
Bjoern Schiessle
8f1e504d79
adjust wording and add button to confirm encryption
11 years ago