Commit Graph

14027 Commits

Author SHA1 Message Date
Joas Schilling 47a3700973
Add some space between the rule groups 2016-08-09 11:32:32 +02:00
Bugsbane 0174579fb5 Add black version of system tags icon
Includes PNG (16x16px) and SVG (scoured) versions in black, to be uniform with the other icon files.
2016-08-08 20:23:50 +02:00
Joas Schilling 924b0ac060
Disable by default 2016-08-08 16:48:00 +02:00
Joas Schilling f910837722
More casing 2016-08-08 16:48:00 +02:00
Joas Schilling 7b3974501e
Increment the versions and adjust the capitilization 2016-08-08 16:48:00 +02:00
Björn Schießle 7321baa108 Merge pull request #713 from nextcloud/stable10_474
[Stable 10] Group shares with same source and target
2016-08-08 10:55:26 +02:00
Julius Härtl efe8f7d136 Merge pull request #705 from nextcloud/backport-408-psr4-for-theming
[stable10] Theming input validation
2016-08-05 11:51:42 +02:00
Juan Pablo Villafañez 91c6c451f4 Fix file permissions for SMB (read-only folders will be writeable) (#25301)
* Fix file permissions for SMB (read-only folders will be writeable)

* Read-only folders won't be deletable

* Added comment for the read-only behaviour for folders
2016-08-05 10:23:50 +02:00
Vincent Petry e75a0a44c6
Make share target consistent when grouping group share with user share
In some situations, a group share is created before a user share, and
the recipient renamed the received share before the latter is created.
In this situation, the "file_target" was already modified and the second
created share must align to the already renamed share.

To achieve this, the MountProvider now groups only by "item_source"
value and sorts by share time. This makes it so that the least recent
share is selected as super-share and its "file_target" value is then
adjusted in all grouped shares.

This fixes the issue where this situation would have different
"file_target" values resulting in two shared folders appearing instead
of one.
2016-08-04 19:50:16 +02:00
Vincent Petry 2ab799f674
Added more tests for sharing's MountProvider 2016-08-04 19:50:16 +02:00
Vincent Petry 3e8b787dd1
Improved share grouping readability + fixed test 2016-08-04 19:50:16 +02:00
Roeland Jago Douma 39ebf120c2
Group shares with same source and target
Fixes #24575

Note that this is a very limited solution and eventually we want smarter
merging!
2016-08-04 19:49:27 +02:00
Bernhard Posselt f4f43dddf5 Merge pull request #733 from nextcloud/fix-724-stable10
Backport Stable 10: Fix #724 by using step instead of job
2016-08-04 16:23:53 +02:00
Bernhard Posselt 5e24c6b5fd fix #724 by using step instead of job 2016-08-04 14:52:38 +02:00
Joas Schilling 713e201074 Merge pull request #602 from nextcloud/backport-workflow-engine
🚧 [WIP] Backport workflow engine 🚧
2016-08-04 14:20:14 +02:00
Joas Schilling 8d23405602
Ooops 2016-08-03 14:44:18 +02:00
Joas Schilling 065763f117
No multi support, less magic 2016-08-03 14:44:08 +02:00
Joas Schilling 7d71535f57
Allow to define the operation 2016-08-03 14:44:01 +02:00
Joas Schilling c12c083eba
Tags need to be loaded before 2016-08-03 14:43:52 +02:00
Joas Schilling cc719c9bb7
Translate the errors 2016-08-03 14:43:44 +02:00
Joas Schilling 66fd216d3a
Load the timezones via select2 2016-08-03 14:43:35 +02:00
Morris Jobke e978c39b13
add a UI to render proper time picker 2016-08-03 14:43:26 +02:00
Joas Schilling f1869cd183
Add request time 2016-08-03 14:43:14 +02:00
Joas Schilling af3eaa86ac
Add remote address 2016-08-03 14:42:55 +02:00
Joas Schilling 01d269bb4d
Add Request URL 2016-08-03 14:42:48 +02:00
Joas Schilling 45c74cdc5a
User agent check 2016-08-03 14:40:40 +02:00
Joas Schilling d146df5820
Add file mime type 2016-08-03 14:40:29 +02:00
Joas Schilling 627f24396c
Add file size as check 2016-08-03 14:40:20 +02:00
Joas Schilling 7b87935cb9
Add system tag check 2016-08-03 14:40:12 +02:00
Joas Schilling 7b73c0f5a2
Add the systemtag js files 2016-08-03 14:40:03 +02:00
Joas Schilling df3ca567ad
Make sure each plugin is only added once 2016-08-03 14:39:56 +02:00
Joas Schilling 7289cb5ec0
Do not allow to delete/update group shares as a group member 2016-08-03 09:17:50 +02:00
Joas Schilling 3d3614d233
Validate the input of the theming options 2016-08-03 09:15:00 +02:00
Joas Schilling 16b2d2d935
Fix tests 2016-08-03 09:14:52 +02:00
Joas Schilling eac3b8d992
Update routes.php 2016-08-03 09:14:44 +02:00
Joas Schilling 02773efe4f
Remove useless check 2016-08-03 09:14:34 +02:00
Joas Schilling 08ea343adb
Use the methods on the Response object 2016-08-03 09:14:24 +02:00
Joas Schilling d248fbde92
Use public API preferable 2016-08-03 09:14:15 +02:00
Joas Schilling 8bf034ffbf
Move classes to PSR-4 2016-08-03 09:14:04 +02:00
Jan-Christoph Borchardt 80470093dd Merge pull request #683 from nextcloud/stable10-fix-theming-logo
[stable10] fix missing semicolon to fix themed logo on log in page
2016-08-01 21:01:51 +02:00
Morris Jobke 481418ff40 Merge pull request #593 from nextcloud/ldap-avoidneedlesssetemailonlogin-stable10
[stable10] Prevent setting email and triggering events at login time (#25554)
2016-08-01 18:22:20 +02:00
Jan-Christoph Borchardt a32d9bbc6e fix missing semicolon to fix themed logo on log in page 2016-08-01 18:16:32 +02:00
Jan-Christoph Borchardt 0d5b8f3293 up the minimum size of the public share video a bit, use 16/9 ratio, fix #603 2016-07-29 23:35:18 +02:00
Thomas Müller f944a8861a
Adding quota plugin to new dav endpoint (#25615)
* Adding quota plugin to new dav endpoint

* Added integrated test failing in old endpoint

* Added 0B quota test
2016-07-29 12:31:56 +02:00
Björn Schießle 6301f75cb0 Merge pull request #639 from nextcloud/theming-firstrunwizard-stable10
[stable10] apply theme to the firstrunwizard
2016-07-29 11:37:25 +02:00
Morris Jobke 51be4bf2f0 Merge pull request #618 from nextcloud/backport-519-stable10
Backport LDAPProvider to Nextcloud 10
2016-07-28 23:13:21 +02:00
Morris Jobke 94f4e1009c Merge pull request #610 from nextcloud/no-missing-preview-10
[10] Don't try to load previews when we know there is none
2016-07-28 17:48:42 +02:00
Bjoern Schiessle 35acbd6279
fix background id selector for the first run wizard 2016-07-28 17:44:23 +02:00
Bjoern Schiessle 39f88c74f9
fix unit tests 2016-07-28 17:44:01 +02:00
Bjoern Schiessle 6aede49ea1
re-use background color from theme in the firstrunwizard 2016-07-28 17:43:52 +02:00
Bjoern Schiessle 39712d1adc
apply theme to the firstrunwizard 2016-07-28 17:43:45 +02:00
Björn Schießle b28e6a7938 Merge pull request #635 from nextcloud/stable10-backport-415
[stable10] Colorize checkboxes depending on theming color
2016-07-28 17:41:20 +02:00
Morris Jobke 2830b80042 Merge pull request #619 from nextcloud/backport-494-systemtags-management
[stable10] Add a simple Admin UI to manage systemtags
2016-07-28 17:02:22 +02:00
Julius Haertl 4eb85f10a9
Theming: Cleanup and remove opacity from checkbox/radiobutton 2016-07-28 16:18:51 +02:00
Julius Haertl 1f3e55bc86
Theming: Generate colorized radio buttons dynamically 2016-07-28 16:18:50 +02:00
Julius Haertl b7024b454f
Theming: Colorize radio buttons and append new styles on preview 2016-07-28 16:18:50 +02:00
Julius Haertl aa4e133443
Theming: Clean up css generation and fix tests 2016-07-28 16:18:50 +02:00
Julius Haertl 49ef99474f
Theming: Colorize checkboxes depending on luminance 2016-07-28 16:18:47 +02:00
Julius Haertl 5c12c8cb02
Theming: Preview for colorized checkboxes 2016-07-28 16:17:53 +02:00
Joas Schilling f814ef6ea7
Add L10N support 2016-07-28 16:13:43 +02:00
Joas Schilling cba370634f
Add a simple Admin UI to manage systemtags 2016-07-28 10:37:48 +02:00
root aa02f518ad
Backport LDAPProvider to Nextcloud 10
New LDAPProvider for user_ldap

final changes

comments amended

Nextcloud license header for new files
2016-07-28 10:20:38 +02:00
Morris Jobke c9b4a2b4cc Fix unit tests 2016-07-28 10:08:36 +02:00
Jan-Christoph Borchardt 12a35e46ce also adjust log in background color in theme 2016-07-28 10:08:02 +02:00
Jan-Christoph Borchardt 88560096d4 fix searchbox overlapping on mobile 2016-07-28 10:07:57 +02:00
Robin Appelman 05b6850a9e fix js test 2016-07-27 16:38:07 +02:00
Robin Appelman b9dfc1674c only load sidebar previews when we know it's available 2016-07-27 16:38:03 +02:00
Robin Appelman 276383ebf5 dont load filelist previews if we know we dont have one 2016-07-27 16:37:59 +02:00
Robin Appelman 76b2cffb08 add dav property to check if a file has a preview available 2016-07-27 16:37:56 +02:00
Morris Jobke 1fc7248dae Merge pull request #591 from nextcloud/fixing-undefined-OfflineUser-composeAndStoreDisplayName-stable10
[stable10] Fix undefined OfflineUser::composeAndStoreDisplayName()
2016-07-27 15:25:31 +02:00
Morris Jobke 0e816a65b5 Merge pull request #580 from nextcloud/backport-550-stable10
[stable10] fix autoloading in LPAP integration tests, resolves #544
2016-07-27 14:55:26 +02:00
Morris Jobke 8e0e85c631
Fix loading icon for workflowengine 2016-07-27 14:13:18 +02:00
Joas Schilling ec8ec17cf4
Allow to reuse the template 2016-07-27 14:12:47 +02:00
Joas Schilling 0ebc3bbc9f
Fix default value of operator 2016-07-27 14:12:39 +02:00
Joas Schilling 34f46c8e7f
Fix morris comments 2016-07-27 14:12:28 +02:00
Joas Schilling 6a21289378
Remove php side of check registration 2016-07-27 14:12:19 +02:00
Joas Schilling 155e4ced3f
Generate the checks list in JS 2016-07-27 14:12:12 +02:00
Morris Jobke 497954ca34
Move template to workflowengine app 2016-07-27 14:11:14 +02:00
Morris Jobke 6eabcf134f
create an operation based on the correct model 2016-07-27 14:10:55 +02:00
Morris Jobke bc6c05afb6
Add workflowengine 2016-07-27 14:10:43 +02:00
Vincent Petry b9266e7141
Prevent setting email and triggering events at login time (#25554)
Whenever an LDAP user also has an email address defined in LDAP, the
LDAP code will try and update the email address of the locally known
user. This happens at login time or every time the user's LDAP
attributes are processed.

There is code listening to the email setting hook which updates the
system address book, which also will trigger FS setup due to avatars
and other things.

This fix only sets the email address when really necessary.
2016-07-27 11:32:10 +02:00
Thomas Müller ac5987a017
[stable9.1] Fix undefined OfflineUser::composeAndStoreDisplayName() - fixes #23248 2016-07-27 11:21:26 +02:00
Marius Blüm 4b96e3a93e Add icon for tags app 2016-07-27 11:10:52 +02:00
Marius Blüm 24d3164abe Add icon for comments app 2016-07-27 11:09:32 +02:00
Arthur Schiwon 1013fac447
fix autoloading in LPAP integration tests, resolves #544 2016-07-26 21:06:29 +02:00
Julius Haertl db755d7236
Theming: Fix preview and center alignment of logo 2016-07-26 13:24:41 +02:00
Lukas Reschke 9281b008c5
Adjust tests 2016-07-26 13:24:34 +02:00
Jos Poortvliet 148cb09e00
Update themingcontroller.php 2016-07-26 13:24:08 +02:00
Morris Jobke d5e783d2bd
Add proper scope to files external CSS
* for select2
2016-07-26 09:20:40 +02:00
Morris Jobke edc15db3bd
Fix error message while restoring all files
* use $_POST['files'] only of ssinlge files are restored
* fixes #528
2016-07-25 12:57:18 +02:00
Joas Schilling 23b205ed48
Run the license script 2016-07-22 11:40:41 +02:00
Joas Schilling f4fbdbabee
Change the app name 2016-07-22 09:24:59 +02:00
Bjoern Schiessle f98bc936d7
move closing div to the right place 2016-07-21 11:30:37 +02:00
Lukas Reschke 0caeb31d83
Use proper branding
Stable9 has this already
2016-07-21 02:21:28 +02:00
Lukas Reschke c385423d10 Merge pull request #479 from nextcloud/add-bruteforce-throttler
Implement brute force protection
2016-07-21 00:31:02 +02:00
Lukas Reschke ba4f12baa0
Implement brute force protection
Class Throttler implements the bruteforce protection for security actions in
Nextcloud.

It is working by logging invalid login attempts to the database and slowing
down all login attempts from the same subnet. The max delay is 30 seconds and
the starting delay are 200 milliseconds. (after the first failed login)
2016-07-20 22:08:56 +02:00
Lukas Reschke 020a2a6958 Merge pull request #476 from nextcloud/port-same-site-cookies
[master] Port Same-Site Cookies to master
2016-07-20 21:35:02 +02:00
Lukas Reschke a17ba2f488 Merge pull request #466 from nextcloud/escape-special-characters
Escape special characters (#25429)
2016-07-20 21:24:19 +02:00
Morris Jobke e08278494d Merge pull request #471 from nextcloud/storage-fopenspecialchars
Added storage tests for fopen with special chars
2016-07-20 20:56:59 +02:00
Roeland Douma 9f219f55f2 Merge pull request #467 from nextcloud/use-clipboard-api
Use clipboard api
2016-07-20 20:11:08 +02:00