Commit Graph

20949 Commits

Author SHA1 Message Date
Joas Schilling f23d49266f
Merge pull request #17286 from nextcloud/bugfix/noid/correctly-detect-mimetype-from-uploads
Correctly detect the mimetype from uploads
2019-09-27 10:51:10 +02:00
Joas Schilling 744b635d5c
Correctly detect the mimetype from uploads
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-26 17:43:47 +02:00
Joas Schilling 2959e15c7a
Fix "Cannot add a NOT NULL column with default value NULL"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-26 15:51:55 +02:00
Roeland Jago Douma e387189d4a
Merge pull request #14913 from nextcloud/bugfix/6954/scan-external-s3
Fix directory detection for s3
2019-09-26 11:39:17 +02:00
Nextcloud bot 6217b45e26
[tx-robot] updated from transifex 2019-09-26 02:14:57 +00:00
Robin Appelman bc160992d3
Update apps/files_external/lib/Lib/Backend/SMB.php
Co-Authored-By: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-25 14:59:44 +02:00
Robin Appelman 194edfc64e
add (hidden) option to configure smb timeout
hidden from ui to prevent clutter

```occ files_external:config <mount> timeout 30```

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-09-25 13:30:40 +02:00
Nextcloud bot c99fcd63f8
[tx-robot] updated from transifex 2019-09-25 02:14:47 +00:00
Roeland Jago Douma 88b2d8f220
Merge pull request #16641 from nextcloud/enh/files_additionalscripts
Files additionalscripts to real event
2019-09-24 21:56:50 +02:00
Nextcloud bot 61d22ff6cf
[tx-robot] updated from transifex 2019-09-24 02:14:41 +00:00
Daniel Kesselberg 72d22a4828
Use local variable for directory name
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-23 14:03:41 +02:00
Daniel Kesselberg 75b8944061
Don't strip path from directory prefix
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-23 14:03:41 +02:00
Daniel Kesselberg 80340a8d46
Fill directory cache from opendir
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-23 14:03:41 +02:00
Daniel Kesselberg 12863e0d24
Change visibility to private (from protected)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-23 14:03:40 +02:00
Daniel Kesselberg 963d35c78c
Rename $location to $path
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-23 14:03:40 +02:00
Daniel Kesselberg 010473ca1f
Add method to check if directory exists
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-23 14:03:40 +02:00
Roeland Jago Douma 5694a04b70
Move over comments to the new event
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-23 10:09:58 +02:00
Roeland Jago Douma 606b4d5bf3
Add new LoadAdditionalScriptsEvent
This adds a new event that is in the new style of event dispatching.
This should allow more lazy loading and better sepeartion of concerns

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-23 10:09:57 +02:00
Roeland Jago Douma 2025cfe7d1
Merge pull request #17233 from nextcloud/dependabot/npm_and_yarn/handlebars-4.2.1
Bump handlebars from 4.2.0 to 4.2.1
2019-09-22 19:57:21 +02:00
dependabot-preview[bot] 0a24da76eb Bump handlebars from 4.2.0 to 4.2.1
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/v4.2.1/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.2.0...v4.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-22 10:57:27 +00:00
Nextcloud bot dddf509806
[tx-robot] updated from transifex 2019-09-22 02:15:36 +00:00
Nextcloud bot a76e1a9596
[tx-robot] updated from transifex 2019-09-21 02:14:49 +00:00
Nextcloud bot 9313783a43
[tx-robot] updated from transifex 2019-09-20 02:15:04 +00:00
Nextcloud bot ce10683944
[tx-robot] updated from transifex 2019-09-19 02:15:38 +00:00
Nextcloud bot 6af36c8c6a
[tx-robot] updated from transifex 2019-09-18 02:14:55 +00:00
John Molakvoæ b636aa79c3
Add theme class to body and fix for theme selection (#16929)
Add theme class to body and fix for theme selection
2019-09-18 00:56:50 +02:00
Roeland Jago Douma 0a558ffbc8
Merge pull request #17162 from nextcloud/bugfix/noid/fix_recent-favorite_filename_ovelaping
Fix the recent/favorite/shared filename problem
2019-09-17 18:16:47 +02:00
Roeland Jago Douma 85610d9b99
Merge pull request #17174 from nextcloud/bugfix/noid/properly_mark_birthday_calendars_as_not_sharable
properly mark birthday calendars as not shareable for now
2019-09-17 18:03:21 +02:00
Joas Schilling 89880fb2c4
Merge pull request #17098 from nextcloud/fix/css/variables-color-primary-light
Create color-primary-light variable
2019-09-17 15:54:35 +02:00
Nextcloud bot 8cc41974a4
[tx-robot] updated from transifex 2019-09-17 12:33:26 +00:00
Roeland Jago Douma dc3d545e30
We should ignore compiles javascript!
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-17 14:18:55 +02:00
Georg Ehrke b0a3782a07
properly mark birthday calendars as not shareable for now
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-09-17 12:21:26 +02:00
blizzz 1c45c04251
Merge pull request #17138 from nextcloud/bugfix/noid/workflow
Workflowengine: Fix check listing
2019-09-17 11:59:08 +02:00
Roeland Jago Douma d43a478840
Merge pull request #17159 from nextcloud/bugfix/17004/birthday_service_fixes
Sabre/VObject returns a DateAndOrTime object now, so adapt to it in Birthday service
2019-09-17 10:06:19 +02:00
Janis Köhr d75fbab5d2
Removed duplicate defintion of app name and rebased/rebuilt.
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
2019-09-16 21:14:11 +02:00
Janis Köhr 4a1ce95464
Added copyright for contribution
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
2019-09-16 21:04:19 +02:00
Janis Köhr adb3e59a01
Change name of high contrast theme to high contrast mode
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
2019-09-16 21:04:19 +02:00
Janis Köhr ae9523c6ce
Add highcontrast style for dark mode
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
2019-09-16 21:04:19 +02:00
Janis Köhr 9872154e01
Changed highcontrast from array (theme) to object (flag/filter)
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
2019-09-16 21:04:19 +02:00
Janis Köhr 05ef7725e2
Add small linting fix
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
2019-09-16 21:04:19 +02:00
John Molakvoæ (skjnldsv) 3334a315de
Update autoload checkers
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-09-16 21:04:18 +02:00
Janis Köhr df246f1110
Added migration step
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
2019-09-16 21:04:18 +02:00
Janis Köhr 567b224df4
Add theme class for selected theme to body, fix for accessibility theme selection and separated highcontrast theme
Signed-off-by: Janis Köhr <janis.koehr@novatec-gmbh.de>
2019-09-16 21:04:18 +02:00
Greta Doci 2409240d31 Fix the recent/favorite/shared filename problem
Signed-off-by: Greta Doci <gretadoci@gmail.com>
2019-09-16 17:12:10 +02:00
Georg Ehrke 3487f0d281
Sabre/VObject returns a DateAndOrTime object now, so adapt to it in Birthday service
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-09-16 15:47:42 +02:00
Thomas Ebert e47a7f0a95 Allow options to be passed to `FileList.createFile`, so that `scrollTo` can be overridden.
Signed-off-by: Thomas Ebert <thomas.ebert@te-online.net>
2019-09-16 15:17:05 +02:00
Roeland Jago Douma 7149ed74c1
Merge pull request #16976 from nextcloud/bugfix/noid/directory-icon-mount
Always use the folder icon depending on the mount type if not a share mount
2019-09-15 21:11:38 +02:00
Julius Härtl e383bf0470
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-15 20:35:35 +02:00
Julius Härtl 69ed4bb939
Fix check listing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-15 20:33:08 +02:00
Julius Härtl 260d93e5f2
Fallback to directory icon based on the mount type
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-15 19:29:57 +02:00
Joas Schilling 16d47b5928
Fix wrongly mixed mock objects in encryption tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-15 12:04:28 +02:00
Greta Doci 0a874c51af
Disable app token creation for impersonated people, ref #15539
Signed-off-by: Greta Doci <gretadoci@gmail.com>
2019-09-15 12:04:27 +02:00
Roeland Jago Douma 50ab20c22c
Remove leftover unit test
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-14 13:38:18 +02:00
Roeland Jago Douma 55e034c7a1
Merge pull request #17120 from nextcloud/dependabot/npm_and_yarn/webpack-4.40.1
Bump webpack from 4.39.3 to 4.40.1
2019-09-14 00:53:50 +02:00
dependabot-preview[bot] e2393ef3d9 Bump webpack from 4.39.3 to 4.40.1
Bumps [webpack](https://github.com/webpack/webpack) from 4.39.3 to 4.40.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.39.3...v4.40.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-13 14:33:26 +00:00
Roeland Jago Douma 0eeec1caab
Remove unused backupscode function
We use the initial state API so no need for this anymore.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-12 22:16:29 +02:00
Joas Schilling 15d39c48e6
Merge pull request #17021 from nextcloud/bye-spreed-hello-talk
Bye Spreed namespace, hello Talk!
2019-09-11 14:59:37 +02:00
Roeland Jago Douma 2187f856ce
Merge pull request #16682 from nextcloud/enh/12790/workflow-backend
workflow overhaul
2019-09-11 13:14:06 +02:00
Julius Härtl 228cb240bc
Bump workflow bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-11 11:58:57 +02:00
Arthur Schiwon 6f5f53c0f4
bump version to reflect fundamental changes
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-11 11:28:13 +02:00
John Molakvoæ (skjnldsv) 223046b079
Create color-primary-light variable
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-09-11 11:27:59 +02:00
Nextcloud bot adbd3591d2
[tx-robot] updated from transifex 2019-09-11 02:15:16 +00:00
blizzz bfec3715ee
Merge pull request #16706 from nextcloud/workflow-frontend
Workflow frontend overhaul
2019-09-10 16:05:17 +02:00
Roeland Jago Douma 15e16d4a85
Merge pull request #16790 from nextcloud/admin-use-user-global-auth
Allow admin configured mounts to use user configured global credentials
2019-09-10 16:01:14 +02:00
Arthur Schiwon f889ea8373
fix manager tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-10 12:01:12 +02:00
Julius Härtl 7683208dfa
Workflow vue cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:44:20 +02:00
Julius Härtl 99e1063a57
Add user group selector
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:26 +02:00
Julius Härtl 370242cf6d
Add request url selector
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:26 +02:00
Julius Härtl 335d7cfba3
Add tag selector
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:26 +02:00
Julius Härtl e17a666517
Implement custom check components and fix linting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:26 +02:00
Julius Härtl 24aec9b9d2
Frontend polishing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:26 +02:00
Julius Härtl 98666a9f4d
Move over checker plugins
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:25 +02:00
Julius Härtl d6b3af9d77
Load checks from the backend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:25 +02:00
Julius Härtl c665d5475a
Fix removing checks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:25 +02:00
Julius Härtl 2364fc84d7
Make rule listing more compact
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:25 +02:00
Julius Härtl 11d6486b1d
Migrate check plugins
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:25 +02:00
Julius Härtl 1742f97acf
Allow placeholder and validation without custom vue component
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:24 +02:00
Julius Härtl 69ac169fd9
Do not use shot tag
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:24 +02:00
Julius Härtl 28a7721b2b
Handle operator registration properly
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:24 +02:00
Julius Härtl ae55829989
Document plugins to be used by integrators
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:24 +02:00
Julius Härtl f36b50c502
Migrate plugins to vuex store
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:24 +02:00
Julius Härtl b3bafb1614
Add missing files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:24 +02:00
Julius Härtl af3cb9c772
Use trigger hint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:23 +02:00
Julius Härtl bd281daa47
Move to vuex store
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:23 +02:00
Julius Härtl aa00f401b3
Adjust to new backend URLs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:23 +02:00
Julius Härtl 0f84696d10
Styling fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:23 +02:00
Julius Härtl 9f8ccf1036
Use entity/event definitions from backend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:23 +02:00
Julius Härtl aed630ac0a
Adjust template id
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:22 +02:00
Julius Härtl e7e9166efe
Add endpoint to test operations before submitting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:22 +02:00
Julius Härtl ad976c66fd
Unified workflow management
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 09:01:22 +02:00
Julius Härtl 9eb7a31864
Fix test mocking
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 08:59:51 +02:00
Julius Härtl 72a7fe8185
Fix type hinting on setFileInfo
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 08:52:13 +02:00
Nextcloud bot 4c850263a2
[tx-robot] updated from transifex 2019-09-10 02:15:33 +00:00
Arthur Schiwon d363654132
fix order/entity types when setting the context
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-10 00:52:27 +02:00
Arthur Schiwon 5610f73b7a
File entity supports tagging events now
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 23:59:31 +02:00
Arthur Schiwon ae1cc1d14d
entities equip the RuleMatcher on the events they are aware of
Operations will receive the matcher instance

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:06 +02:00
Arthur Schiwon 849d025d09
let a dedicate service serve a stateful process
* includes making ICheck not requiring any context setter
* and IFileCheck extending the IEntityCheck as entity data can be handed in
  via Dispatcher

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:05 +02:00
Arthur Schiwon 4cd931fcc6
require IChecks to receive entity context
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:05 +02:00
Arthur Schiwon fd2de58503
seperate setFileInfo from ICheck
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 22:56:05 +02:00
Julius Härtl 687edb4bc8
No need to get the class since the entity is already the class string
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-09 22:56:05 +02:00