Commit Graph

14175 Commits

Author SHA1 Message Date
Julius Haertl 6ce976e7f0
Theming: Show loading spinner while uploading files 2016-08-30 10:28:57 +02:00
Joas Schilling b4a2f93ec8
Fix oracle support of external storage app 2016-08-30 10:08:49 +02:00
Morris Jobke f4d4e3f55f Merge pull request #1179 from nextcloud/stable10_us_25675
[stable10] Added integration test (#25675)
2016-08-30 09:48:17 +02:00
Lukas Reschke 351d01510d Merge pull request #1176 from nextcloud/backport-1145-10
[stable10] DAV: Return data-fingerprint always when asked
2016-08-30 08:41:45 +02:00
Thomas Müller bc3c4ebd2d
[stable9.1] Added integration test (#25675)
* [stable9.1] Added integration test

* A shared storage is never a home storage - fixes #25582
2016-08-30 08:32:12 +02:00
blizzz 7e2c4b80d2 Merge pull request #1140 from nextcloud/backport-1132-prevent-parse-error-on-editing-an-html-comment
[stable10] Prevent parse error on editing an HTML comment
2016-08-30 00:14:34 +02:00
Markus Goetz 4685ca9154
[master] DAV: Return data-fingerprint always when asked (#25482)
For owncloud/client#5056
Users can configure arbitrary subfolders for syncing, therefore we should
always return it when asked for.
The sync client makes sure to not always ask for it to save bandwidth.
2016-08-29 23:59:57 +02:00
Lukas Reschke dbc860e6f7 Merge pull request #1159 from nextcloud/stable9.1-27a5be96f108d4ab2b91bcd765433e1646ba9bf2
[9.1] Before a user is getting scanned the database connection is re-…
2016-08-29 21:39:55 +02:00
Lukas Reschke 0a1b1d57a7 Merge pull request #1157 from nextcloud/stable9.1-init-filesconfig
Make sure file list files config always exists
2016-08-29 21:39:44 +02:00
Vincent Petry db420e54a1
[9.1] Before a user is getting scanned the database connection is re-establ… 2016-08-29 15:22:29 +02:00
Vincent Petry 006e9e8b42
Make sure file list files config always exists
Initialize files config with defaults in case none was passed
2016-08-29 15:20:48 +02:00
Joas Schilling 42425bb910
Prevent parse error on editing an HTML comment 2016-08-29 14:26:40 +02:00
Lukas Reschke 49da5267a9
Use temporary file as cache 2016-08-29 12:19:02 +02:00
Lukas Reschke d4d90a0b84
Increase theming performance
1. Set proper caching headers (`Pragma: cache`)
2. Resize image proportionally to a max size of 1920px
3. Store images with progressive mode

This resizes a previous 2.8 MB picture to 300kb and makes it rendering going down from 11 seconds to less than 1 here. And future requests won't have to download the file newly.
2016-08-29 12:18:57 +02:00
Lukas Reschke 25ed51743a Merge pull request #902 from nextcloud/stable10-787
[stable10] Files external settings polish
2016-08-26 14:58:46 +02:00
Roeland Jago Douma b59f5fc725
Require a ThemingDefaults class again 2016-08-24 13:25:26 +02:00
Roeland Jago Douma 4528bdabe7
Do not error on NotFoundException
Since this exception can be thrown when a shared file is in the
trashbin there is no need to spam the log like crazy.

Fixes #938
2016-08-24 08:17:28 +02:00
Lukas Reschke 2ca5186c94 Merge pull request #993 from nextcloud/stable10-965
[stable10] Fix hidden files handling
2016-08-23 22:16:17 +02:00
Lukas Reschke 805fc22276 Merge pull request #1008 from nextcloud/shared-storage-non-recursive-10
[10] Fix shared storage recursive setup
2016-08-23 22:15:21 +02:00
Robin Appelman fa980af53c prevent infinite recursion while getting storage from mount 2016-08-23 13:59:01 +02:00
Roeland Jago Douma d2718b38ff
Backport of Do not error on maxUploadChange #1005 to stable10
Do not error on maxUploadChange

The new admin page broke the updating of the max upload size. This is
due to very old code there.

* Now update is done in the background using js
* Added proper route+controller to update

Fixes #994

put file handling into a section again
2016-08-23 11:39:44 +02:00
Lukas Reschke f4bb803564 Merge pull request #1009 from nextcloud/backport-995
[stable10] Backport Workflow section + hidden empty sections #995 to stabble10
2016-08-23 11:20:13 +02:00
Roeland Jago Douma 53a3ec2f18
When requesting a permalink to an invalid file redirect
We need to do the redirect to update address bar.
2016-08-23 08:15:05 +02:00
Roeland Jago Douma ac9f75e1d9
When using permalinks don't error out if file id can't be found
Fixes #952

* Use only the index route (since it went to showFile anyways)
* Fix tests
* Use getUserFolder to force init of users mounts
2016-08-23 08:15:00 +02:00
Arthur Schiwon ff2f5ecbf7
Backport Workflow section + hidden empty sections #995 to stabble10
add section to worklfowengine

enlist only registered sections that also have settings registered to

adjust test

Move admin settings to workflow section

fix wrong var name

Save the container with the app's namespace so we can resolve it
2016-08-22 16:37:48 +02:00
Roeland Jago Douma e9e54f057a Merge pull request #1010 from nextcloud/backport-1006
[stable10] fixes registering of theming settings where server return OC_Defaults
2016-08-22 15:08:56 +02:00
Arthur Schiwon 0f3513afff
fixes registering of theming settings where server return OC_Defaults instead of ThemingDefaults 2016-08-22 13:24:08 +02:00
Robin Appelman 58b810a547 handle failed shares 2016-08-22 12:41:16 +02:00
Robin Appelman f4e89c15bf Lazy init shared storage 2016-08-22 12:41:12 +02:00
Robin Appelman 89d4684ef1 reuse existing root id 2016-08-22 12:41:08 +02:00
Joas Schilling 4377d99662
Validate the operation 2016-08-22 09:03:47 +02:00
Joas Schilling 85813c42f9
System tags are not sharing but workflow 2016-08-22 09:01:00 +02:00
Vincent Petry a1f1d2c9e8 Fix hidden files handling
Hidden files (dot files) are now always rendered in the DOM to make
sure that all file operations and selection still work as expected.

Their visibility is now toggled on CSS level.
2016-08-20 18:48:29 +02:00
Morris Jobke 418eec83e0
use simple bell as update notification icon 2016-08-19 14:00:18 +02:00
Morris Jobke 71fa7a20af
Change federation icon to the share icon 2016-08-19 13:53:14 +02:00
Thomas Müller 0298760c1b
Move over to new CalDAVTester repo (#25859)
* Move over to new caldac tester repo

* no run.py anymore
2016-08-19 10:19:58 +02:00
Robin Appelman e286e0492a fix error when not logged in 2016-08-18 23:37:34 +02:00
Robin Appelman bead6c9307 change remote cloud naming to Nextcloud 2016-08-18 23:37:16 +02:00
Robin Appelman 42f14ab5a9 dont register personal files_external setting if it's empty 2016-08-18 23:37:04 +02:00
Morris Jobke 0f926e03bd Merge pull request #926 from nextcloud/backport-925-use-util-methods
[stable10] Load the Template class in case it's not loaded
2016-08-18 16:38:55 +02:00
Lukas Reschke e014ec548d
Add cachebuster to apps.css 2016-08-18 12:46:07 +02:00
Lukas Reschke 3ac524c420 Merge pull request #904 from nextcloud/backport-903-allow-disable-comments
[stable10] Revert "Always add activities for comments to the stream"
2016-08-18 12:06:11 +02:00
Joas Schilling 93a3b7bb18
Load the Template class in case it's not loaded 2016-08-18 12:01:59 +02:00
Morris Jobke 6d43860457
add viewBox to app icon for proper scaling in Firefox 2016-08-17 18:39:50 +02:00
Roeland Jago Douma a3c5aefc96
Add viewBox to app icons
If we don't add a viewbox a lot of browsers will just say NOPE!!! when
we ask them to scale.
2016-08-17 16:27:04 +02:00
Nextcloud bot 4470ab36bb
[tx-robot] updated from transifex 2016-08-17 13:32:21 +00:00
Joas Schilling f900861485
Revert "Always add activities for comments to the stream"
This reverts commit 48c41b888c
2016-08-17 13:33:53 +02:00
Morris Jobke 263c73c685 Fix casing of external storage app 2016-08-17 13:22:28 +02:00
Morris Jobke 8ffbe757d2 layout refinements 2016-08-17 13:22:17 +02:00
Robin Appelman cc422e556b hide files external in personal settings if it's empty 2016-08-17 13:22:09 +02:00
Robin Appelman d2edd38155 don't show dependency info if we cant create new mounts 2016-08-17 13:21:59 +02:00
Robin Appelman d429f472c3 hide global credentials in personal when a user cant add mounts 2016-08-17 13:21:47 +02:00
Joas Schilling 670bbc65c8
Allow to retrieve the quota itself via the provisioning api 2016-08-17 09:42:09 +02:00
Arthur Schiwon c5fdee2678
for new we cannot have nested settings, default module is only appended if available 2016-08-16 21:11:25 +02:00
Lukas Reschke 436e6c1078
Use MockBuilder instead of createMock
CI uses an older PHPUnit
2016-08-16 21:10:47 +02:00
Lukas Reschke 687f5bee94
Add unit tests 2016-08-16 21:10:41 +02:00
Arthur Schiwon 9111b52fef
move mail settings and file handling to additional ones, thus files_external gets its own section 2016-08-16 21:10:21 +02:00
Arthur Schiwon 2d66b16e34
change federatedfilesharing css class to followupsection to reduce whitespace 2016-08-16 21:10:17 +02:00
Arthur Schiwon 0c904c8de7
move systemstags to sharign section, drop collaboration section 2016-08-16 21:10:13 +02:00
Arthur Schiwon c93453e878
make updatenotification settings appear as if it is part of the version part in server settings 2016-08-16 21:10:09 +02:00
Arthur Schiwon d056f575c9
change casing in section display names 2016-08-16 21:10:04 +02:00
Arthur Schiwon fe29483a9d
fix theming tests 2016-08-16 21:09:54 +02:00
Arthur Schiwon cd08307bb8
rename remaining occurences of OCA/Theming/Template 2016-08-16 21:09:46 +02:00
Bjoern Schiessle 4132319bae
rename "Tenmplate" to "ThemingDefaults" to make the auto loader happy" 2016-08-16 21:09:41 +02:00
Arthur Schiwon a5ba5bb19f
register app autoload instead of loading apps 2016-08-16 21:09:36 +02:00
Arthur Schiwon 40778560be
adjust systemtags app 2016-08-16 21:09:08 +02:00
Arthur Schiwon 63efdb35df
adjust federation app 2016-08-16 21:08:41 +02:00
Arthur Schiwon 0c86f69626
superfluous 2016-08-16 21:08:22 +02:00
Arthur Schiwon ea419a29c2
adjust files app, and integrate files_external into that section 2016-08-16 21:08:16 +02:00
Arthur Schiwon 3ae0a380ae
adjust Theming app 2016-08-16 21:07:09 +02:00
Arthur Schiwon 6a35c7d124
superfluous 2016-08-16 21:06:51 +02:00
Arthur Schiwon 09573dbbba
adjust files_external 2016-08-16 21:06:38 +02:00
Arthur Schiwon 94c3d614da
adjust federatedfilesharing 2016-08-16 21:06:16 +02:00
Arthur Schiwon e37db63e47
rename IAdmin to ISettings, the interface is not bound to a specific settings scope 2016-08-16 21:05:54 +02:00
Arthur Schiwon c956901949
fixes, improvements, and another app:
* setupSettings now also triggered on enable
* fixes detection of present admin section or settings in the DB
* add update routine in such cases
* encryption app migrated
2016-08-16 21:05:38 +02:00
Arthur Schiwon 2e9794f53e
more admin page splitup improvements
* bump version to ensure tables are created
* make updatenotification app use settings api
* change IAdmin::render() to getForm() and change return type from Template to TemplateResponse
* adjust User_LDAP accordingly, as well as built-in forms
* add IDateTimeFormatter to AppFramework/DependencyInjection/DIContainer.php. This is important so that \OC::$server->query() is able to resolve the
constructor parameters. We should ensure that all OCP/* stuff that is available from \OC::$server is available here. Kudos to @LukasReschke
* make sure apps that have settings info in their info.xml are loaded before triggering adding the settings setup method
2016-08-16 21:05:11 +02:00
Arthur Schiwon a548902d5f
Fallback for legacy settings. They are placed into Additional Settings 2016-08-16 21:04:41 +02:00
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