Commit Graph

14098 Commits

Author SHA1 Message Date
Arthur Schiwon d01689037d
Initial work on Apps page split:
* interfaces for the Admin settings (IAdmin) and section (ISection)
* SettingsManager service
* example setup with LDAP app
2016-08-16 21:04:22 +02:00
Roeland Jago Douma f1d4341dd7
Add files drop capability for clients 2016-08-15 21:29:03 +02:00
Julius Haertl 0b838b8eef
Theming: Add OCA.Theming Js for app interaction 2016-08-10 18:46:39 +02:00
Julius Haertl 5bf85b727b
Add css classes to allow app developers using the theming colors 2016-08-10 18:46:28 +02:00
Lukas Reschke 550c5ee7c4 Merge pull request #811 from nextcloud/shared-cachethepropagatorinstance-stable10
Store the shared propagator instance
2016-08-10 17:24:44 +02:00
Lukas Reschke f3a3953ca3 Merge pull request #809 from nextcloud/skip_expiry_for_users_that_never_logged_in-stable10
Skip version and trash expiry for users that never logged in
2016-08-10 16:31:19 +02:00
Robin Appelman 5321a8728e get shared storage storage id without setting up the storage 2016-08-10 13:05:32 +02:00
Vincent Petry 5edd5100fe
Store the shared propagator instance
This instead of recreating it for every call.
2016-08-10 10:59:56 +02:00
Jörn Friedrich Dreyer 73de15fb08
Skip version and trash expiry for users that never logged in 2016-08-10 10:54:02 +02:00
Lukas Reschke 94d9d52de2 Merge pull request #743 from nextcloud/fix_smb_attributes-10
[10] Fix file permissions for SMB (read-only folders will be writeable
2016-08-10 00:23:17 +02:00
Lukas Reschke 808a82dd6c
Use correct version
Fixes https://github.com/nextcloud/server/issues/800, other apps such as fileaccesscontrol and workflow already have the correct version.
2016-08-09 23:02:42 +02:00
Roeland Jago Douma cb2e535565 Merge pull request #794 from nextcloud/stable10_780
[Stable10] Add clipboard action to Personal Settings Fed Cloud Id
2016-08-09 20:47:47 +02:00
Roeland Jago Douma b5f32a055f
Add clipboard action to Personal Settings Fed Cloud Id 2016-08-09 16:18:44 +02:00
Roeland Jago Douma 8fc5f6bcd0
Padding of federated server 2016-08-09 16:14:26 +02:00
Björn Schießle 289704f13d Merge pull request #788 from nextcloud/stable10-federation-error-messages
[stable10] improve federation error messages
2016-08-09 15:50:33 +02:00
Bjoern Schiessle d61c49a0b0 improve federation error messages 2016-08-09 14:36:30 +02:00
Roeland Jago Douma 1d6448beb1
Make 'Add to your website' toggleable 2016-08-09 14:16:32 +02:00
Joas Schilling 7637c2e366
Allow a description for workflow sections 2016-08-09 11:33:04 +02:00
Joas Schilling ae1a41f05b
Add placeholder to the name field 2016-08-09 11:32:57 +02:00
Joas Schilling 1f527576a4
Rename operations and checks 2016-08-09 11:32:50 +02:00
Joas Schilling 99494925fe
Highlight the check row on hover 2016-08-09 11:32:42 +02:00
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
Roeland Douma 26cf51403e Merge pull request #464 from nextcloud/master-change-load-order
[master] Change load order of auth backends so that we can throw an exception …
2016-07-20 20:08:22 +02:00
Roeland Douma ffc345b141 Merge pull request #468 from nextcloud/stringid-fix
Cast share id to string (#25402)
2016-07-20 20:06:46 +02:00
Lukas Reschke a299fa38a9
[master] Port Same-Site Cookies to master
Fixes https://github.com/nextcloud/server/issues/50
2016-07-20 18:37:57 +02:00
Morris Jobke e2abe70514 Merge pull request #470 from nextcloud/sftp-renameoverwritedir
Fix overwriting folders on rename with SFTP
2016-07-20 18:31:06 +02:00
Morris Jobke 1264e9644f Merge pull request #402 from nextcloud/smb-notifications
smb update notifications
2016-07-20 16:19:21 +02:00
Vincent Petry 631af42b3a
Added storage tests for fopen with special chars
This makes it possible to test special chars with unit tests.
There is already a test for directories but there was none for file
names.
2016-07-20 15:13:24 +02:00
Vincent Petry d372836efc
Fix overwriting folders on rename with SFTP
This aligns the behavior with other storages and also fixes the failing
unit test testRenameOverWriteDirectory
2016-07-20 15:12:27 +02:00
Vincent Petry e5c4f53eea
Cast share id to string (#25402) 2016-07-20 15:10:10 +02:00
Thomas Müller 4d67429cf0
Use an icon to set the email instead of a button with string 2016-07-20 15:07:46 +02:00
Thomas Müller daaa3ded8d
Add clipboard button to public share link 2016-07-20 15:07:41 +02:00
Aaron Wood 7c0de08cc4
Escape special characters (#25429)
* Escape LIKE parameter

* Escape LIKE parameter

* Escape LIKE parameter

* Escape LIKE parameter

* Escape LIKE parameter

* Use correct method in the AbstractMapping class

* Change the getNamesBySearch method so that input can be properly escaped while still supporting matches

* Don't escape hardcoded wildcard
2016-07-20 14:46:47 +02:00
Thomas Müller e795f7b106
Change load order of auth backends so that we can throw an exception in OCA\DAV\Connector\Sabre\Auth - fixes #25362 (#25476) 2016-07-20 14:40:52 +02:00
Joas Schilling 45c99c226b
Fix the HTML encoding when uploading a folder in FF when using french l10n 2016-07-20 13:03:27 +02:00
Morris Jobke 0a6d95b126 Merge pull request #394 from nextcloud/tags-for-everything
SystemTags for everything not just files
2016-07-19 10:47:12 +02:00
Nextcloud bot 4a963c21ff
[tx-robot] updated from transifex 2016-07-19 00:09:00 +00:00
Björn Schießle f7d26e4aa5 Merge pull request #414 from nextcloud/files_sharing_event_dispatcher
Files sharing event dispatcher
2016-07-18 16:10:21 +02:00
Nextcloud bot b23d3c6418
[tx-robot] updated from transifex 2016-07-18 14:08:51 +00:00
Björn Schießle ea470f8777 Merge pull request #405 from nextcloud/theming-fixes
Theming fixes
2016-07-18 15:59:47 +02:00
Morris Jobke b1a9f12b77 Merge pull request #428 from nextcloud/setupfromtoken_sharemanager
Move SetupFromToken to ShareManager
2016-07-18 15:49:51 +02:00
Roeland Jago Douma 773250be24
Cleanup coding style 2016-07-18 13:35:35 +02:00
Roeland Jago Douma 1c5e082ee1
Add eventdispatcher to public link view 2016-07-18 13:35:35 +02:00
Roeland Jago Douma ea3035aa0e
Move JS inclusion to Controller
* This way we can easier load files conditionally
2016-07-18 13:34:32 +02:00
Joas Schilling 89a32a2f84 Merge pull request #412 from nextcloud/theming-foreground-color
Theming: invert foreground color on bright backgrounds
2016-07-18 12:43:11 +02:00
Roeland Jago Douma ff54141639
Move SetupFromToken to ShareManager 2016-07-18 10:53:49 +02:00
Joas Schilling 54708f97a1
Fix non-existing exception class 2016-07-18 10:26:42 +02:00
Joas Schilling 7c039bcbf6
Allow apps to register SystemTags plugins 2016-07-18 10:26:42 +02:00
Joas Schilling c2b077e185
Fix doc blocks 2016-07-18 10:26:42 +02:00
Joas Schilling 8e13ff2c86
Fix TODO and bring in abstraction (similar to comments) 2016-07-18 10:26:36 +02:00
Morris Jobke 40328114f9 Merge pull request #379 from nextcloud/create_federated_share_on_mount
Create federated share on mount
2016-07-18 09:22:48 +02:00