Commit graph

14953 commits

Author SHA1 Message Date
Victor Dubiniuk
c4fcd1f282
Update tests for phunit 5.5
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2016-10-13 01:06:45 +02:00
Victor Dubiniuk
011d5f554c
Harden empty
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2016-10-13 00:53:34 +02:00
Arthur Schiwon
9e817e9e0b
symfony replaced table helper by class, fixes two broken LDAP occ commands
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2016-10-12 23:47:07 +02:00
Arthur Schiwon
1bcd2ca8e3
emit pre-update event for comments
* notifications can be cleaned up, no polluted DB
* updating comments will re-notify users or remove notifications, depending on the message

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2016-10-12 18:06:22 +02:00
Robin Appelman
2de59d8a2a
remove unneeded unlock
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-12 16:12:40 +02:00
Robin Appelman
ab10a54836
remove duplicate trait
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-12 16:12:38 +02:00
Robin Appelman
f63f0aa1ae
get node by path as fallback
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-12 16:12:37 +02:00
Robin Appelman
9754724c8b
fix getting recipient share in ocs api
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-12 16:12:37 +02:00
Robin Appelman
7d1e800c15
fix share tests not passing path
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-12 16:12:36 +02:00
Robin Appelman
1b3b816a0a
re-use the share node while formating if we already have it
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-12 16:12:35 +02:00
Robin Appelman
3845d4ec9a
more robust test setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-12 16:12:34 +02:00
Robin Appelman
7ce68ce6ac
phpunit is weird
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-12 16:12:34 +02:00
Robin Appelman
37eded7e7c
Always unlock node after trying to create a share
Signed-off-by: Robin Appelman <robin@icewind.nl>
2016-10-12 16:12:29 +02:00
Roeland Jago Douma
b2d68c0009 Merge pull request #1713 from nextcloud/rebase_1493
fix issue #1482 - mail invites through v1 webdav
2016-10-12 10:24:44 +02:00
Claudemir Todo Bom
5b7f272fd4
fix issue #1482 - mail invites through v1 webdav
Signed-off-by: Claudemir Todo Bom <claudemir@todobom.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-12 09:13:55 +02:00
Roeland Jago Douma
0c574569a4
Readd Notify command
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-12 08:04:49 +02:00
Thomas Müller
8628d57b2c
Move console command registration to info.xml for encryption as well as files_external
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-12 08:04:15 +02:00
Nextcloud bot
c2be9cb605
[tx-robot] updated from transifex 2016-10-12 00:08:16 +00:00
Thomas Müller
c5ca71ee82
[9.2] Register commands in info.xml (#26248)
* Use DI to load console commands from the apps - class name to be defined in the info.xml

* Load commands from info.xml

* Fix unit test

* Allow Di magic for IMountManager

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-11 19:48:26 +02:00
Morris Jobke
675230f86d Merge pull request #1407 from nextcloud/multiline_comments
Bring back multiline comments
2016-10-11 16:17:51 +02:00
skjnldsv
1930aa3102
Fix bold no results search text
Fix wording
2016-10-11 15:06:25 +02:00
skjnldsv
dcddd4b9d5 fix textarea submit 2016-10-11 12:33:20 +02:00
Nextcloud bot
cc4b51490e
[tx-robot] updated from transifex 2016-10-11 00:06:54 +00:00
Roeland Jago Douma
ada4d6cafc Merge pull request #1680 from nextcloud/downstream-26308
Remove PNG fallbacks from files app
2016-10-10 22:09:48 +02:00
Lukas Reschke
d99ab1b038 Merge pull request #1675 from nextcloud/remove-unneeded-variable
remove unneeded variable & proper element creation
2016-10-10 20:28:30 +02:00
Morris Jobke
0497affc46
fix drag and drop icon for files app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-10-10 15:09:15 +02:00
Vincent Petry
db472b20cc
Remove PNG fallbacks from files app (#26308) 2016-10-10 15:08:40 +02:00
Morris Jobke
5158328190
remove unneeded variable & proper element creation
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-10-10 14:06:43 +02:00
Roeland Jago Douma
7d2f70ef72
Use more IConfig and add unit tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-10 10:51:13 +02:00
Roeland Jago Douma
bdf4bf4669
DI IConfig into ldap helper
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-10 10:18:18 +02:00
Roeland Jago Douma
1ba2b7e5d4
Do not query data that is already in the appconfig
This is already available. We better use a simple regex.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-10 09:39:20 +02:00
Nextcloud bot
3f40bb69f8
[tx-robot] updated from transifex 2016-10-10 00:06:58 +00:00
Nextcloud bot
9fc3209d2c
[tx-robot] updated from transifex 2016-10-09 00:06:49 +00:00
Nextcloud bot
0beecbf2c5
[tx-robot] updated from transifex 2016-10-08 00:06:50 +00:00
Arthur Schiwon
a9671a4dc2
adjust wording of the notification
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2016-10-08 01:17:51 +02:00
Arthur Schiwon
a35d4e7b44
remove notifications of deleted comments from the DB
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2016-10-08 01:10:49 +02:00
Arthur Schiwon
006da9afd7
use different files route/controller
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2016-10-07 17:27:33 +02:00
Arthur Schiwon
e1073cf442
Notificacations for simple @-mentioning in comments
(WIP) notify user when mentioned in comments

Fix doc, and create absolute URL for as notification link.

PSR-4 compatibility changes

also move notification creation to comments app

Do not notify yourself

unit test for controller and application

smaller fixes

- translatable app name
- remove doubles in mention array
- micro perf optimization
- display name: special label for deleted users, keep user id for users that could not be fetched from userManager

Comment Notification-Listener Unit Test

fix email adresses

remove notification when triggering comment was deleted

add and adjust tests

add missing @license tags

simplify NotificationsController registration

appinfo simplification, php docs

make string easier to translate

adjust test

replace dispatcher-based listeners with a registration method and interface

safer to not pass optional data parameter to setSubject for marking as processed. ID and mention suffices

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>

update comment

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2016-10-07 17:11:19 +02:00
Morris Jobke
7264d20152 Merge pull request #1643 from nextcloud/ldap_more_caching
cache loginName2UserName and cover the method with unit tests
2016-10-07 09:38:53 +02:00
Nextcloud bot
838e258b44
[tx-robot] updated from transifex 2016-10-07 00:07:04 +00:00
Arthur Schiwon
a30341823e
cache loginName2UserName and cover the method with unit tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2016-10-07 01:39:57 +02:00
Morris Jobke
6278d3bbfd Merge pull request #1144 from nextcloud/translate-default-calendar
translate default calendar & default address book displaynames & add …
2016-10-06 23:00:26 +02:00
Arthur Schiwon
979612fa08
get rid of test warnings
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2016-10-06 22:53:14 +02:00
Morris Jobke
55e72caf9b Merge pull request #1616 from nextcloud/downstream_ldap_6
Prevent user with empty uid
2016-10-06 14:43:25 +02:00
Morris Jobke
70e0074e5c
Add transifex config 2016-10-06 14:20:02 +02:00
Joas Schilling
7dd952d5a2
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-06 14:20:02 +02:00
Joas Schilling
ce964f0a10
Translate the Contacts addressbook when it's default
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-06 14:20:01 +02:00
Joas Schilling
a4f82f13f3
Translate the personal calendar
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-06 14:19:58 +02:00
Morris Jobke
0a092e94c7 Merge pull request #1636 from nextcloud/downstream-26203-fix-synjob-class-name
Fix SyncJob class name in info.xml
2016-10-06 12:45:54 +02:00
Joas Schilling
82c29e1204
Log the error with display name
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-06 11:21:43 +02:00
Joas Schilling
f6e8da186d Merge pull request #1525 from nextcloud/newdav-tagsplugin
Newdav tagsplugin
2016-10-06 11:13:48 +02:00
Joas Schilling
1a26e7a8e7
Fix SyncJob class name in info.xml
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-06 10:55:28 +02:00
Morris Jobke
ff3e8c2139 Merge pull request #1518 from nextcloud/dav-fileshome-directory-properties
FilesHome now also returns DAV properties
2016-10-06 00:21:44 +02:00
Morris Jobke
fe2116ecf7 Merge pull request #1519 from nextcloud/better-comments-in-activity-sidebar
Better comments in activity sidebar
2016-10-05 23:56:10 +02:00
Lukas Reschke
f2b1a1781c Merge pull request #1568 from nextcloud/test-running-coverage-also-for-db
[Test] Generate coverage for DB group
2016-10-05 14:37:25 +02:00
Joas Schilling
43265befac
Update file header
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-05 14:33:54 +02:00
Vincent Petry
dba72a48cd
Fix activity rendering plugin name
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-05 14:21:26 +02:00
Joas Schilling
ed70d4a2dc
Mark the methods as copied
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-05 14:21:26 +02:00
Joas Schilling
bd0c9489f6
Make sure the CSS rules apply to the activityTabView as well
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-05 14:21:25 +02:00
Joas Schilling
724cd50e52
Register a ActivityTabView plugin
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-05 14:21:25 +02:00
Joas Schilling
fe6c9f7f47
Remove resolved FIXME
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-05 14:21:25 +02:00
Joas Schilling
b8cf2fb58b
Do not shorten comments in the activity sidebar
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-05 14:21:22 +02:00
Morris Jobke
088dd716a3 Merge pull request #1418 from nextcloud/add-move-rename-support
Add support for translations of move/rename activities
2016-10-05 14:02:35 +02:00
Lukas Reschke
a1f5364d7f
Generate coverage for quick DB tests
This adds the "QUICKDB" group which excludes some tests that abuse unit tests as integration tests as displayed in https://github.com/nextcloud/server/issues/1626

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-05 13:55:44 +02:00
Joas Schilling
671f16f706
Add icons to activity navigation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-05 11:38:06 +02:00
Joas Schilling
de81c52c80
Add support for translations of move/rename activities
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-05 10:06:59 +02:00
Vincent Petry
5d25563634
New dav endpoint register tags plugin
This makes it possible to retrieve and PROPPATCH the favorite info

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-05 08:19:41 +02:00
Nextcloud bot
66ae43880b
[tx-robot] updated from transifex 2016-10-05 00:06:57 +00:00
Morris Jobke
7c20aa2d72 Merge pull request #1617 from nextcloud/issue-1605-update-notification-readable-version
Update notification readable version (10.0.1 instead of 9.1.1.5)
2016-10-04 17:12:10 +02:00
Roeland Jago Douma
c83b3e6bd5
Fix js test 2016-10-04 13:07:44 +02:00
Roeland Jago Douma
5ca50d9f31
Add autosize to comments input
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-04 13:04:56 +02:00
Joas Schilling
db57190e33
Use new URL schema
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-04 12:49:55 +02:00
Joas Schilling
b74c12c3f5
Use the readable version for notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-04 12:49:27 +02:00
Jörn Friedrich Dreyer
0ae9a2c9fe
Prevent user with empty uid
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2016-10-04 12:26:06 +02:00
Joas Schilling
3a0e06147c Merge pull request #1613 from nextcloud/2fa-backup-codes-psr4
Do not use underscores in PSR4 namespaces of the backup codes app
2016-10-04 10:37:36 +02:00
Nextcloud bot
14d226dc33
[tx-robot] updated from transifex 2016-10-04 00:06:56 +00:00
Christoph Wurst
f27b7fa8d1
Do not use underscores in PSR4 namespaces of the backup codes app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2016-10-03 21:47:33 +02:00
Morris Jobke
62d5daa94f Merge pull request #1590 from nextcloud/issue-1432-special-chars-on-name-conflict
Fix special characters when renaming to a conflict
2016-10-03 16:47:20 +02:00
Lukas Reschke
08b0e5c112 Merge pull request #607 from nextcloud/sharing-popover-menu
Move sharing options into popover menu
2016-10-03 14:18:17 +02:00
Christoph Wurst
407232b772 Merge pull request #1547 from nextcloud/files-translate-filesummary
Translate file summary connector (#26221)
2016-10-03 10:41:20 +02:00
Christoph Wurst
96af627bb7
fix sharing icon's alignment and add padding to the unshare icon 2016-10-03 09:35:54 +02:00
Nextcloud bot
07a1be2e06
[tx-robot] updated from transifex 2016-10-03 00:12:47 +00:00
Nextcloud bot
6297d201df
[tx-robot] updated from transifex 2016-10-02 00:16:25 +00:00
Nextcloud bot
da03018add
[tx-robot] updated from transifex 2016-10-01 00:08:23 +00:00
Joas Schilling
0ecaf8e602
Fix special characters when renaming to a conflict
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-30 12:44:49 +02:00
Nextcloud bot
99076a8c0d
[tx-robot] updated from transifex 2016-09-30 00:08:13 +00:00
Olivier Mehani
60cab0d73e Unset user PHOTO before setting new one in OCA\DAV\CardDAV\Converter::updateCard (#26243)
Signed-off-by: Olivier Mehani <shtrom@ssji.net>

#26242
2016-09-29 17:09:24 +02:00
Lukas Reschke
8a14f4a899 Merge pull request #1567 from nextcloud/inject-http-service
Inject IHTTPClientService
2016-09-29 11:56:07 +02:00
Nextcloud bot
4b873b35b7
[tx-robot] updated from transifex 2016-09-29 00:07:08 +00:00
Lukas Reschke
498b7399c1
Inject IHTTPClientService
Otherwise the unit test execution will do a ton of external HTTP requests which fail and then timeout…

See https://blackfire.io/profiles/compare/3c67acfa-a11e-4aec-bcd4-c945b006f01e/graph for reference

Pretty similar to https://github.com/nextcloud/server/pull/1565

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-29 00:26:20 +02:00
Lukas Reschke
bd70221d61
Mock HTTPClientService
These tests were not using any kind of mocks at all! This made the test execution time took 2 minutes instead of now less than 1 second… (because multiple HTTP requests were queued and timed-out then…)

See https://blackfire.io/profiles/compare/6d2611f2-ad08-47b6-973b-2b5f9c8b96d2/graph for reference

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-29 00:06:56 +02:00
Lukas Reschke
2eab2ffa22 Merge pull request #1553 from nextcloud/fix-comment-count-translation
Fix comment count tooltip
2016-09-28 23:17:05 +02:00
Lukas Reschke
0f321fe116 Merge pull request #1534 from nextcloud/svg-optimization
Svgo optimization
2016-09-28 23:05:48 +02:00
Morris Jobke
85301df817 Merge pull request #1513 from nextcloud/fix-etag-on-move
Return ETag and OC-ETag in case of a move (#25683)
2016-09-28 21:46:51 +02:00
Morris Jobke
ef0760f84f Merge pull request #1545 from nextcloud/delete-calendars-with-their-users
Delete calendars with their users
2016-09-28 21:42:55 +02:00
Thomas Müller
bd96c6aa38
Return ETag and OC-ETag in case of a move (#25683)
Downstreaming of https://github.com/owncloud/core/pull/25683

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-28 21:12:50 +02:00
Morris Jobke
f4eee1d3a5 Merge pull request #1512 from nextcloud/share-alttext
Display "Share" alt text for share action icon (#26158)
2016-09-28 20:44:15 +02:00
Thomas Citharel
6c8bcb38f1
Rename deleteAllSharesForUser() to deleteAllSharesByUser()
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2016-09-28 15:32:03 +02:00
Lukas Reschke
1602e82363
UpdateState is empty if no update is available
This leads to log messages such as "Undefined index: updaterEnabled at /media/psf/nextcloud/apps/updatenotification/lib/Controller/AdminController.php#116".

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-28 12:37:08 +02:00
Joas Schilling
c9c64141ee
Fix comment count tooltip
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-28 10:54:37 +02:00
Julius Härtl
f219ed2e99 Merge pull request #1535 from nextcloud/files-loading-css-fix
Use css loading animation and not gif
2016-09-28 10:38:46 +02:00
Nextcloud bot
e2670e62eb
[tx-robot] updated from transifex 2016-09-28 00:10:20 +00:00
Lukas Reschke
479c427f2a
Add IL10N to unit test
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-27 21:12:37 +02:00
John Molakvoæ
f623d020f7 Use css loading animation and not gif
Signed-off-by: John Molakvoæ <fremulon@protonmail.com>
2016-09-27 21:06:25 +02:00
skjnldsv
71830b285c Svgo optimization
Signed-off-by: John Molakvoæ <fremulon@protonmail.com>
2016-09-27 20:56:26 +02:00
Lukas Reschke
2f488ce373 Merge pull request #1459 from nextcloud/upstream-fix_trashbin_deleteallhooks_solution2
[Upstream] fix trashbin deleteallhooks solution2
2016-09-27 18:52:14 +02:00
Lukas Reschke
06e969cb74 Merge pull request #1197 from nextcloud/oc-public-sharing
CalDAV calendar public sharing
2016-09-27 18:51:40 +02:00
Vincent Petry
7de4c809ef
Translate file summary connector (#26221)
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-27 18:38:56 +02:00
Thomas Citharel
da1543eef7
fix deletion of calendars
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-27 18:33:56 +02:00
Thomas Citharel
5215833fe4
delete shares to an user
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-27 18:30:19 +02:00
Thomas Müller
97a47f49a1
Adjust delete logic and ann unit tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-27 18:30:10 +02:00
Thomas Citharel
18c07f0692
delete also addressbooks on user deletion
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-27 18:30:02 +02:00
Thomas Citharel
7db01ff805
delete calendars when users are deleted
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-27 18:29:53 +02:00
Björn Schießle
6ca8ce6228 Merge pull request #1543 from nextcloud/increase-component-length
Increase the max length for components
2016-09-27 18:01:45 +02:00
Joas Schilling
a7315e98ff
Increase the max length for components
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-27 17:03:57 +02:00
Joas Schilling
3e00554d35
Respect updater kill switch and fall back to download button
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-27 14:47:59 +02:00
Nextcloud bot
810f72df46
[tx-robot] updated from transifex 2016-09-27 00:09:46 +00:00
Lukas Reschke
a43c680d9f Merge pull request #1499 from nextcloud/updater
Add repair step and revert "Open updater" button
2016-09-26 22:28:21 +02:00
Morris Jobke
6b2920a6bc Merge pull request #1520 from nextcloud/upload-allow-zero
Allow uploading empty files (#26113)
2016-09-26 17:40:53 +02:00
Morris Jobke
3e4a4cab34 Merge pull request #1510 from nextcloud/workflow-fix-handlebar-update
Fix selection of workflowengine rules and operators
2016-09-26 17:33:22 +02:00
Joas Schilling
fc65093694 Merge pull request #1460 from nextcloud/fed-share-retry
[upstream] Fix fed share test call to return proper result
2016-09-26 13:59:28 +02:00
Morris Jobke
4064010c29
Revert "Fix tests"
This reverts commit 27a3c68d84.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-09-26 13:44:50 +02:00
Lukas Reschke
4f4286932f Merge pull request #1457 from nextcloud/upstream-fix-birthday-calendar-component
[Upstream] fix birthday calendar component
2016-09-26 13:21:08 +02:00
Lukas Reschke
0873fe4284 Merge pull request #1524 from nextcloud/addScript
use correct case for addScript (#26214)
2016-09-26 13:18:41 +02:00
Lukas Reschke
0c6957dfb7 Merge pull request #1406 from nextcloud/fix-folder-drop-in-firefox
Fix folder drag glitch in Firefox
2016-09-26 13:10:19 +02:00
Thomas Citharel
dcc23114e9
fix annotations & copyright headers 2016-09-26 11:55:43 +02:00
Thomas Citharel
9c75b00850
fix tests 2016-09-26 11:55:43 +02:00
Thomas Citharel
17d5dfdeb1
add in same request 2016-09-26 11:55:43 +02:00
Thomas Citharel
8360222554
fix public calendars 2016-09-26 11:55:42 +02:00
Thomas Müller
d884370844
Use true random string as uri for public calendars - as a result we can no longer return the pre-publish-url 2016-09-26 11:55:42 +02:00
Lukas Reschke
4659e3ab59
Add new constructor args 2016-09-26 11:55:42 +02:00
Lukas Reschke
2fff203c59
Add missing constructor argument 2016-09-26 11:55:42 +02:00
Thomas Citharel
ff67cbc6af
Add test for PublicCalendarRoot 2016-09-26 11:55:42 +02:00
Thomas Citharel
3e9a346223
add calendarserver-sharing to the list of advertised features 2016-09-26 11:55:41 +02:00
Thomas Citharel
ad0eeaaf1c
use AllowedSharingModes for can-be-published & can-be-shared 2016-09-26 11:55:41 +02:00
Thomas Citharel
6378dbca7e
fix can-be-published 2016-09-26 11:55:41 +02:00
Thomas Citharel
f0421e1f75
add missing tests 2016-09-26 11:55:41 +02:00
Thomas Citharel
f16ea48e96
add can-be-published property 2016-09-26 11:55:40 +02:00
Thomas Citharel
a4fe596a21
add space between calendarname and owner name 2016-09-26 11:55:40 +02:00
Thomas Citharel
8433c3ca31
fix getChild() 2016-09-26 11:55:40 +02:00
Thomas Citharel
9af2a9ff4d
test serializer 2016-09-26 11:55:40 +02:00
Thomas Citharel
691b3ab448
Add publicuri to oc_dav_shares table and start working with it 2016-09-26 11:55:39 +02:00
Thomas Citharel
dd248caa09
fix some bracket positions 2016-09-26 11:55:39 +02:00
Thomas Citharel
1899116509
move getPublicCalendar inside the caldav backend 2016-09-26 11:55:39 +02:00
Thomas Citharel
762726d988
fix indent once and for all 2016-09-26 11:55:39 +02:00
Thomas Citharel
3921385ed3
fix things (indentation, tests, comments, backend custom implementation 2016-09-26 11:55:39 +02:00
Thomas Citharel
ebf23778f5
fix unpublishing test 2016-09-26 11:55:38 +02:00
Thomas Citharel
de5e212694
fix plugin test 2016-09-26 11:55:38 +02:00
Thomas Citharel
77216e7ca9
a few tests 2016-09-26 11:55:38 +02:00
Thomas Müller
d0ec6b9c15
Disable OPTIONS handling - done by sabre 2016-09-26 11:55:38 +02:00
Thomas Müller
e783d01da7
Allow public access to the principals/system/public 2016-09-26 11:55:37 +02:00
Thomas Citharel
aadb56dfcc
Fix wrong way to get publish status 2016-09-26 11:55:37 +02:00
Thomas Citharel
f09c46d166
Fix some tests 2016-09-26 11:55:37 +02:00
Thomas Citharel
2df69ec7f4
correct get published status and minor fixes 2016-09-26 11:55:37 +02:00
Thomas Citharel
aca305332a
Fix DB call for MySQL databases 2016-09-26 11:55:37 +02:00
Thomas Citharel
994001c480
Dirty hack to disable dav plugins on public calendar urls 2016-09-26 11:55:36 +02:00
Thomas Müller
00dc157b19
Fix requests for browser plugin as well as for the public calendar root folder 2016-09-26 11:55:36 +02:00
Thomas Müller
e7085aab38
Allow not-authenticated access to specific urls 2016-09-26 11:55:36 +02:00
Thomas Müller
90ab6e4fd9
Add new root collection public-calendars which holds all public calendars 2016-09-26 11:55:36 +02:00
Thomas Citharel
8da2100e7d
Start work on returning CalDAV published calendars 2016-09-26 11:55:35 +02:00
Thomas Citharel
bd0aae8636
No need to call database twice 2016-09-26 11:55:35 +02:00
Thomas Citharel
7e5a82b968
Use urlgenerator to generate an absolute url
And pass Config the correct way too
2016-09-26 11:55:35 +02:00
Thomas Citharel
72f35f8862
Use ressource ID instead of name 2016-09-26 11:55:35 +02:00
Thomas Citharel
f89961ddba
Fix annotations 2016-09-26 11:55:34 +02:00
Thomas Citharel
4a0e6e2ad0
Remove unnecessary line 2016-09-26 11:55:34 +02:00
Thomas Citharel
1652a74feb
Fix publish-url property & getPublishStatus() fct 2016-09-26 11:55:34 +02:00
Thomas Citharel
981c38f6d9
Remove unnecessary implementation 2016-09-26 11:55:34 +02:00
Thomas Citharel
5824c2493b
Make little corrections
Function getPublishedStatus) is not working atm.
2016-09-26 11:55:34 +02:00
Thomas Citharel
69d3601dcb
Proper work on Publishing 2016-09-26 11:55:33 +02:00
Jörn Friedrich Dreyer
b79997dd33
use correct case for addScript (#26214)
Downstreaming of https://github.com/owncloud/core/pull/26214

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 11:44:57 +02:00
Vincent Petry
e8836bfd30
Allow uploading empty files (#26113)
Downstreaming of https://github.com/owncloud/core/pull/26113

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 11:28:05 +02:00
Vincent Petry
b17e836e45
FilesHome now also returns DAV properties
The files home node must also return DAV properties like etag,
permissions, etc for the clients to work like they did with the old
endpoint.

This fix makes FilesHome extend the Sabre Directory class, this makes
the FilesPlugin and other plugins recognize it as a directory and will
retrieve the matching properties when applicable.

Downstream of https://github.com/owncloud/core/pull/26066

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 11:24:23 +02:00
Vincent Petry
f07d146644
Display "Share" alt text for share action icon (#26158)
Downstreaming of https://github.com/owncloud/core/pull/26158

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 10:30:11 +02:00
Joas Schilling
968dc876b2
Do not translate the samples themselves
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-26 10:30:08 +02:00
Nextcloud bot
9e91a76b30
[tx-robot] updated from transifex 2016-09-26 08:10:43 +00:00
Joas Schilling
73cb19ca0d
Fix selection of workflowengine rules and operators
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-09-26 09:43:54 +02:00
Morris Jobke
4a33bb6d18
add workflowengine l10n
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-09-26 09:42:20 +02:00
Nextcloud bot
5f2b29b2dc
[tx-robot] updated from transifex 2016-09-26 00:09:43 +00:00
Nextcloud bot
a086011e00
[tx-robot] updated from transifex 2016-09-25 00:09:40 +00:00
Nextcloud bot
8767e9566f
[tx-robot] updated from transifex 2016-09-24 00:09:45 +00:00
Morris Jobke
3f740966dc
Revert "Show an update button instead of the updater"
This reverts commit 202ae42506.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2016-09-23 13:11:08 +02:00
Nextcloud bot
b30c79b63c
[tx-robot] updated from transifex 2016-09-23 00:09:45 +00:00
Joas Schilling
a0e62f0880 Merge pull request #1455 from nextcloud/use-magic-di
Use magic DI
2016-09-22 12:23:46 +02:00
Nextcloud bot
6a873acf46
[tx-robot] updated from transifex 2016-09-22 00:11:32 +00:00
Jan-Christoph Borchardt
f383b2a3c3 Merge pull request #1469 from nextcloud/hide-empty-tag-input
Hide collaborative tag input when empty
2016-09-21 10:39:17 +02:00
Nextcloud bot
d24e78d1ff
[tx-robot] updated from transifex 2016-09-21 00:09:40 +00:00
Jan-Christoph Borchardt
dd74627e85 proper padding for Tags action 2016-09-21 00:22:19 +02:00
Joas Schilling
c5c69edd40
Add viewbox to icons 2016-09-20 18:45:55 +02:00
Joas Schilling
c5c403b574
Add a handle for the tags label 2016-09-20 18:07:06 +02:00
Joas Schilling
d853899ab6
Hide the tags input field when it's empty 2016-09-20 17:19:11 +02:00
Joas Schilling
94b0315d7a
Fix more tests 2016-09-20 14:28:17 +02:00
Vincent Petry
118c9d58fe
Fix fed share test call to return proper result
Fixes an issue where retrying a previously failed federated share would
not properly reset the availability flag because the return value was
undefined instead of "true".
2016-09-20 12:11:26 +02:00
Steven Bühner
1bd4eebb26
Also fire a bulk pre- and post-delete hook 2016-09-20 12:07:03 +02:00
Steven Bühner
2b37dc9c9e
Always use the same relative Path (Starting from users home dir. i.e.: "/files_trashbin/...") 2016-09-20 12:07:00 +02:00
Steven Bühner
55fe036dbf
Take the same path (with /USERNAME/ as base) for every emmited hooks 2016-09-20 12:06:56 +02:00
Steven Bühner
a41541ae22
Emit hooks for each file before and after all files in trashbin have been deleted. 2016-09-20 12:06:51 +02:00
Steven Bühner
2f555cb10d
Fiy typo 2016-09-20 12:06:47 +02:00
Steven Bühner
0408d9a2e4
Emit Hooks for each file bevore and after all files in trashbin have been deleted. 2016-09-20 12:06:43 +02:00
Thomas Müller
1f825f0fe8
Adding repair step to fix component of birthday calendars 2016-09-20 11:28:00 +02:00
Thomas Müller
6eb1bc55ab
The birthday calendar can only hold VEVENT - refs https://github.com/owncloud/tasks/issues/338 2016-09-20 11:26:09 +02:00
Nextcloud bot
70660d0d6c
[tx-robot] updated from transifex 2016-09-20 00:09:37 +00:00
Joas Schilling
1944d9b3ab
Use magic DI 2016-09-20 01:15:24 +02:00
Nextcloud bot
f4a4578f0d
[tx-robot] updated from transifex 2016-09-19 00:09:33 +00:00
Nextcloud bot
bcc4b5cd0a
[tx-robot] updated from transifex 2016-09-18 00:09:26 +00:00
Nextcloud bot
cb6e16ab5c
[tx-robot] updated from transifex 2016-09-17 00:10:14 +00:00
Roeland Jago Douma
fcc91cbc49 Merge pull request #1408 from nextcloud/chunk-calendar-objects-query
Chunk if you have too many contacts/events
2016-09-16 10:12:30 +02:00
Nextcloud bot
9fa288f12b
[tx-robot] updated from transifex 2016-09-16 00:09:34 +00:00
Joas Schilling
44fbf6f734
Close cursors 2016-09-15 09:47:39 +02:00
Nextcloud bot
4fdee00c27
[tx-robot] updated from transifex 2016-09-15 00:12:37 +00:00
Joas Schilling
08c6ca5a1a
Chunk if you have too many contacts 2016-09-14 16:29:58 +02:00
Joas Schilling
62f31d67bd
Chunk if you have too many events 2016-09-14 16:29:33 +02:00
Morris Jobke
8d4e5747f3
Fix folder drag glitch in Firefox
issue:
* drag'n'drop a folder into the files app in Firefox
* the highlight stays there because Firefox doesn't trigger the drop event for folders

solution:
* behave like the drop event if the dragover event isn't fired for 100ms (only applied in Firefox)
2016-09-14 13:44:34 +02:00
Nextcloud bot
7ffadc7e26
[tx-robot] updated from transifex 2016-09-14 00:10:31 +00:00
Roeland Jago Douma
b6439da128 Merge pull request #1338 from nextcloud/fix-trashbin-errors
Opening the trashbin causes errors in log for files without preview
2016-09-13 19:23:51 +02:00
Lukas Reschke
c0656fb4ef
Move Travis tests to DroneCI
Should give us some quicker test execution speed as we're not limited by Travis

Explicitly invoke with "bash"

Install instance already

Use newest litmus container
2016-09-13 18:17:15 +02:00
Morris Jobke
15e7f8f3cc Merge pull request #1370 from nextcloud/dav-fixassemblystreamperf
[uc] Improve chunk upload AssemblyStream performance
2016-09-13 10:28:39 +02:00
Roeland Jago Douma
56d37e27bc
Fix tests 2016-09-13 09:40:59 +02:00
Vincent Petry
fb52b1af67
Allow increasing permissions for share owner
In some cases, the owner of the share is also recipient through a group
share. The owner must still be able to increase permissions in that
situation.
2016-09-13 09:40:59 +02:00
Vincent Petry
1ab472b9ad
Improve chunk upload AssemblyStream performance 2016-09-13 09:29:02 +02:00
Nextcloud bot
feb85981cd
[tx-robot] updated from transifex 2016-09-13 00:11:21 +00:00
Joas Schilling
6f8f78b07a
Fix some more sniffs 2016-09-12 16:48:11 +02:00
Joas Schilling
5e5e5b77d5
Fix encryption app 2016-09-12 16:48:11 +02:00
Joas Schilling
6ac2b8d83f
Fix twofactor_backupcodes 2016-09-12 16:48:11 +02:00
Joas Schilling
60c22dd074
Fix more sniffing 2016-09-12 16:48:11 +02:00
Joas Schilling
01cf85e4e5
Fix the User_LDAP app 2016-09-12 16:48:11 +02:00
Joas Schilling
a2668b11e5
Fix sniffes in admin_audit 2016-09-12 16:48:11 +02:00
Nextcloud bot
cf57055960
[tx-robot] updated from transifex 2016-09-12 00:09:35 +00:00
Morris Jobke
9c3ffa6a65 Merge pull request #1351 from nextcloud/cast_to_int
Cast query result to int
2016-09-11 23:18:44 +02:00
Roeland Jago Douma
bc40a033f3 Merge pull request #1250 from nextcloud/remote_ocs
Move remote_shares OCS endpoint to AppFramework
2016-09-11 20:57:46 +02:00
Nextcloud bot
96d176d1e8
[tx-robot] updated from transifex 2016-09-11 00:09:14 +00:00
Roeland Jago Douma
ef4eaaee17 Merge pull request #1346 from nextcloud/trash-detect-correct-mimetype
deleted files, fix mimetype detection
2016-09-10 14:42:06 +02:00
Nextcloud bot
341d4f0c01
[tx-robot] updated from transifex 2016-09-10 00:09:19 +00:00
Roeland Jago Douma
94fb5bcbae
Cast query result to int
Else we never create the default address book
2016-09-09 19:15:27 +02:00
Jan-Christoph Borchardt
a45cfbc2d2 search design details 2016-09-09 18:01:00 +02:00
Bjoern Schiessle
68b53669c0
detect the correct mimetype of the files in the trashbin, therefore we have to check the filename without the appended timestamp 2016-09-09 15:36:30 +02:00
Morris Jobke
3fc37b2fc5 Merge pull request #1342 from nextcloud/throw-exceptions-not-printable
Don't print exception message in HTML
2016-09-09 14:57:23 +02:00
Morris Jobke
f56ae37e8f
Opening the trashbin causes errors in log for files without preview
* put a file without a generated preview in the trashbin
  (e.g. a *.docx file)
* open the trashbin
* following errors will show up in the nextcloud.log:
	- filesize(): stat failed for ...
	- fopen(...): failed to open stream: No such file or directory at ...
	- fread() expects parameter 1 to be resource, boolean given at ...
	- fclose() expects parameter 1 to be resource, boolean given at ...
	- imagecreatefromstring(): Empty string or invalid image at ...

This is because the preview code tries to load an SVG image, which
is obviously only text.

The fix simply handles this before the loading happens and the web UI
keeps showing the default mimetype icon.
2016-09-09 13:53:06 +02:00
Lukas Reschke
f715b5ea2e
Don't print exception message in HTML
The exception message is potentially influenced by user input and could thus be confusing (e.g. somebody could try to open a file like "Please send a mail to support@foo.com", and then the message would include that string.

It is thus reasonable to not show the exception message by default. Also for the browser view I added an `exit()` at the end, as otherwise the XML exception would be attached.
2016-09-09 13:52:34 +02:00
Lukas Reschke
67439951e6
Filter more mimetypes
There's no need to allow more than those defined mimetypes for images.
2016-09-09 12:33:10 +02:00
Roeland Jago Douma
ba104233b0
Move remote_shares OCS endpoint to AppFramework 2016-09-09 07:40:33 +02:00
Nextcloud bot
f5aafdc897
[tx-robot] updated from transifex 2016-09-09 00:09:31 +00:00
Morris Jobke
c16aefcff5 Merge pull request #1317 from nextcloud/add-sharing-disclaimer
Adding a optional disclaimer to the anonymous upload page
2016-09-08 21:18:28 +02:00
Morris Jobke
5ac26d12f0 Merge pull request #1247 from nextcloud/storage-id-global-cache
more efficient querying of numeric storage ids
2016-09-08 21:09:14 +02:00
Lukas Reschke
268c5a0aa0
Adjust test 2016-09-08 20:34:04 +02:00
Lukas Reschke
9a2ae2fe7d
Fix tests 2016-09-08 20:11:21 +02:00
Morris Jobke
6bb95de1c5
Adding a optional disclaimer to the anonymous upload page 2016-09-08 18:44:27 +02:00
Joas Schilling
27a3c68d84
Fix tests 2016-09-08 11:13:36 +02:00
Joas Schilling
202ae42506
Show an update button instead of the updater 2016-09-08 10:59:14 +02:00
Joas Schilling
cdfe538452 Merge pull request #1243 from nextcloud/fix-detection-of-file-types-a-bit
Fix detection of file types a bit
2016-09-08 09:19:33 +02:00
Nextcloud bot
b992bf2142
[tx-robot] updated from transifex 2016-09-08 00:10:21 +00:00
Lukas Reschke
25a1a68bc9 Merge pull request #1310 from nextcloud/shared-with-you-owner
dont show shares you own in "shared with you"
2016-09-07 22:05:44 +02:00
Roeland Jago Douma
680b557a4b
Fix apps warnings 2016-09-07 20:42:38 +02:00
Roeland Jago Douma
3dc840cadf Merge pull request #1311 from nextcloud/add-doc-link
Add a docs link when given
2016-09-07 20:35:41 +02:00
Morris Jobke
c36ceb6fff Merge pull request #1301 from nextcloud/fix-required-permissions-for-webdav-move-and-copy
Fix required permissions for webdav move and copy
2016-09-07 19:56:04 +02:00
Joas Schilling
3dabfb0793
Add a docs link when given 2016-09-07 18:52:49 +02:00
Joas Schilling
b94a4df592
Fix tests 2016-09-07 18:39:48 +02:00
Robin Appelman
9adf78c155
dont show shares you own in "shared with you" 2016-09-07 18:38:08 +02:00
Robin Appelman
e8e950a4d2
more efficient querying of numeric storage ids 2016-09-07 17:22:40 +02:00
Morris Jobke
5bf17607b3
Fix layout of success message and text 2016-09-07 16:51:25 +02:00
Joas Schilling
cf69a2b7eb
UPDATE permissions qualify for renaming a node 2016-09-07 11:22:57 +02:00
Joas Schilling
4c0665b6ec
Only require CREATE permissions when the file does not exist yet 2016-09-07 11:10:48 +02:00
Joas Schilling
0027304b5f Merge pull request #1210 from nextcloud/bump_symfony_console
[3rparty] Bump symfony/console
2016-09-07 09:23:47 +02:00
Morris Jobke
74daac49ac Merge pull request #1292 from nextcloud/add-theming-icon
Add icon for the theming app
2016-09-07 08:31:50 +02:00
Nextcloud bot
1110ef52ed
[tx-robot] updated from transifex 2016-09-07 00:09:25 +00:00
Felix Epp
aacaf7a568 Add icon for the theming app 2016-09-07 01:23:53 +02:00
Roeland Jago Douma
59e5ebf330
Cleanup files_external command imports 2016-09-06 21:36:03 +02:00
Joas Schilling
7c0951244a
Deprecate getEditionString() 2016-09-06 16:05:28 +02:00
Morris Jobke
836c938583 Merge pull request #1245 from nextcloud/get-external-mounts
get files_external mounts more efficiently
2016-09-06 15:43:32 +02:00
Morris Jobke
d13d1e1f06
add twofactor_backupcodes to l10n 2016-09-06 14:50:05 +02:00
Joas Schilling
6a6af86a1c Merge pull request #1242 from nextcloud/bump_phpunit
Bump phpunit
2016-09-06 14:18:57 +02:00
Christoph Wurst
ea6562aa57 translate 2fa backup strings 2016-09-06 12:52:44 +02:00
Christoph Wurst
c57976879c fix 2fa backup codes typo 2016-09-06 10:39:00 +02:00
Morris Jobke
314afcecf9 Merge pull request #1272 from nextcloud/theming-info-capabilities
Add theming information to capabilities for the client
2016-09-06 10:00:42 +02:00
Roeland Jago Douma
5fb2eee5df
Fix getMock user_ldap 2016-09-06 09:29:27 +02:00
Roeland Jago Douma
798dd40139
Fix getMock files_versions 2016-09-06 09:29:27 +02:00
Roeland Jago Douma
327352e73a
Fix getMock files_trashbin 2016-09-06 09:29:27 +02:00
Roeland Jago Douma
9cd6374878
Fix getMock files 2016-09-06 09:29:27 +02:00
Roeland Jago Douma
c629761fea
Fix getMock files_sharing 2016-09-06 09:29:27 +02:00
Roeland Jago Douma
d13ac20bca
Fix getMock files_external 2016-09-06 09:29:27 +02:00
Roeland Jago Douma
0c154c1ed7
Fix getMock encryption 2016-09-06 09:29:27 +02:00
Joas Schilling
67408c3f63
Add image URLs and tests 2016-09-06 08:55:22 +02:00
Nextcloud bot
5d48809609
[tx-robot] updated from transifex 2016-09-06 00:09:18 +00:00
Robin Appelman
b573c5b8f8
get files_external mounts more efficiently 2016-09-05 14:34:20 +02:00
Joas Schilling
1d834bd49e
Add theming information to capabilities for the client 2016-09-05 14:27:19 +02:00
Joas Schilling
2d61ee3c13
Make mimetype also work for READ and DELETE operations 2016-09-05 09:48:23 +02:00
Joas Schilling
d08240e364
Better detection of mimetypes while uploading a zip on a mac 2016-09-05 09:48:22 +02:00
Christoph Wurst
8acb734854
add 2fa backup codes app
* add backup codes app unit tests
* add integration tests for the backup codes app
2016-09-05 08:51:13 +02:00
Nextcloud bot
8b484eedf0
[tx-robot] updated from transifex 2016-09-05 00:09:10 +00:00
Nextcloud bot
fc02c4a980
[tx-robot] updated from transifex 2016-09-04 00:09:21 +00:00
Nextcloud bot
e7f618ef14
[tx-robot] updated from transifex 2016-09-03 00:09:24 +00:00
Roeland Jago Douma
3a45475592
Remove dead OCS register code 2016-09-02 15:13:44 +02:00
Nextcloud bot
ab876619dc
[tx-robot] updated from transifex 2016-09-02 00:09:11 +00:00
Joas Schilling
59d240c3aa Merge pull request #1194 from nextcloud/card-caldav-check-exists
more efficient check if addressbook and calendar exists for user
2016-09-01 14:52:59 +02:00
Roeland Jago Douma
ca7b60ba81 Merge pull request #1215 from nextcloud/issue-1083-update-live-relative-timestamps
Update relative timestamps for a better "live" feeling
2016-09-01 14:13:23 +02:00
Roeland Jago Douma
8325c4443b Merge pull request #1224 from nextcloud/do-not-allow-linebreak-in-paths
Do not allow linebreaks and null bytes in paths
2016-09-01 14:06:40 +02:00
Joas Schilling
6c81c65eea
Also prevent null byte character 2016-09-01 12:24:14 +02:00
Joas Schilling
1ae4a2f9e4 Merge pull request #1143 from nextcloud/ldap-smells-for-fun-and-profit
fix a few minor code smells
2016-09-01 10:09:23 +02:00
Joas Schilling
4beadfc290 Merge pull request #1217 from nextcloud/federation_phpunit_fixes
Fix deprecated getMock call in Federation app
2016-09-01 10:08:33 +02:00
Joas Schilling
7cd86cfe59
Filter out %0A from paths 2016-09-01 10:06:06 +02:00
Joas Schilling
80e8d3db35
Use live timestamp on comments tab 2016-09-01 09:02:36 +02:00
Joas Schilling
0c73797131
Use live timestamps in the versions tab of the sidebar 2016-09-01 09:02:36 +02:00
Joas Schilling
ee838a224e
Use live timestamp in the sidebar details 2016-09-01 09:02:36 +02:00
Joas Schilling
ee1c1b39b2
Update live timestamps to give a more live feeling 2016-09-01 09:02:36 +02:00
Nextcloud bot
4a5cd74fb2
[tx-robot] updated from transifex 2016-09-01 00:09:24 +00:00
Roeland Jago Douma
62485ed08f
Fix deprecated getMock call in Federation app 2016-08-31 20:54:17 +02:00
Roeland Jago Douma
011364317a
Fix ThemingDefaults getMock deprecation 2016-08-31 20:33:18 +02:00
Roeland Jago Douma
5fe25fa648 Merge pull request #1212 from nextcloud/fix_federatedfilesharingtests
Fix deprecated usages of getMock in federatedfilesharing
2016-08-31 16:37:40 +02:00
Robin Appelman
344945bfe9 more efficient check if addressbook and calendar exists for user 2016-08-31 15:08:29 +02:00
Roeland Jago Douma
a0af513a4a Merge pull request #1201 from nextcloud/usermountcache-orphanedshare
[master] Usermountcache orphanedshare
2016-08-31 15:07:13 +02:00
Roeland Jago Douma
ac2be923a6
Fix deprecated usages of getMock in federatedfilesharing 2016-08-31 14:06:51 +02:00
Lukas Reschke
b3ad3a3086 Merge pull request #1137 from nextcloud/external_storage_lnk
External storage lnk
2016-08-31 12:00:48 +02:00
Lukas Reschke
aa90e69b66 Merge pull request #1189 from nextcloud/share-allowspaceinremote
Allow space for federated share id search
2016-08-30 19:54:35 +02:00
Vincent Petry
423378ea17
Added closeCursor in SharedMount numeric id 2016-08-30 19:49:31 +02:00
Vincent Petry
669b0bc2ae
Prevent error with orphaned shares when updating user mount cache 2016-08-30 19:49:23 +02:00
Morris Jobke
c54d6d05c9 Merge pull request #1190 from nextcloud/addressbook-correctly-handle-multi-values
Correctly handle multi-values when converting VCards to array
2016-08-30 14:46:36 +02:00
Joas Schilling
a123fe6f18
Add a unit test for all the magic 2016-08-30 12:24:20 +02:00
Joas Schilling
0c4d471c18
Correctly handle multi-values when converting VCards to array 2016-08-30 12:08:39 +02:00
Roeland Jago Douma
989473169e Merge pull request #1138 from nextcloud/expiry-as-occ-command
Add occ command to expire the trashbin (#25878)
2016-08-30 11:32:26 +02:00
Vincent Petry
ec9fd67bc5
Allow space for federated share id search 2016-08-30 11:11:59 +02:00
Joas Schilling
f4dfd1f1a3 Merge pull request #1178 from nextcloud/theming-spinner-animation
Theming: Show loading spinner while uploading files
2016-08-30 10:01:36 +02:00
Morris Jobke
dd2482e2c2 Merge pull request #988 from nextcloud/ocs_federation
Move OCSAuthAPI to AppFramework
2016-08-30 08:49:05 +02:00
Morris Jobke
c481210e2b Merge pull request #974 from nextcloud/move_ocs_routes_to_fedfilesharing
Move federated sharing routes to the federatedfilesharing app
2016-08-30 08:45:44 +02:00
Julius Haertl
0e8b138534
Theming: Show loading spinner while uploading files 2016-08-30 06:40:41 +02:00
blizzz
7278bd2987 Merge pull request #1132 from nextcloud/prevent-parse-error-on-editing-an-html-comment
Prevent parse error on editing an HTML comment
2016-08-30 00:14:08 +02:00
Lukas Reschke
9ebc58c3d8 Merge pull request #1170 from nextcloud/theming-fix-primary-button
Theming: fix primary button for bright colors
2016-08-29 21:39:09 +02:00
Roeland Jago Douma
4f93dce2e1 Merge pull request #1130 from nextcloud/shared-upload-quota
[uc] Fix uploading to shared folder with quota
2016-08-29 20:37:07 +02:00
Roeland Jago Douma
e1ea45f32b Merge pull request #1147 from nextcloud/files-hidden-files-summary
Display number of hidden files in files summary (#25870)
2016-08-29 20:36:07 +02:00
Roeland Jago Douma
606fd77432 Merge pull request #1146 from nextcloud/init-filesconfig
Make sure file list files config always exists
2016-08-29 20:35:56 +02:00
Roeland Jago Douma
1f8c3c153c Merge pull request #1148 from nextcloud/files-scan-reconnect-database-before-each-user-master
Before a user is getting scanned the database connection is re-establ…
2016-08-29 20:25:59 +02:00
Roeland Jago Douma
013f691fe9
Fix phpdoc 2016-08-29 20:20:17 +02:00
Roeland Jago Douma
613704c58e Merge pull request #1145 from nextcloud/upstream-25794
DAV: Return data-fingerprint always when asked
2016-08-29 19:56:50 +02:00
Julius Haertl
d43c9b9e79
Theming: fix primary button for bright colors 2016-08-29 19:07:27 +02:00
Lukas Reschke
4005e58f93 Merge pull request #1117 from iamfool/master
Update Admin.php
2016-08-29 15:27:41 +02:00
Thomas Müller
a4cf4a53f3
Before a user is getting scanned the database connection is re-established 2016-08-29 14:49:55 +02:00
Vincent Petry
7fa66409ae
Display number of hidden files in files summary (#25870)
When dot files are hidden, the table summary and selection summary will
not show how many hidden files were included.
2016-08-29 14:47:41 +02:00
Vincent Petry
29b45c5c42
Make sure file list files config always exists
Initialize files config with defaults in case none was passed
2016-08-29 14:44:25 +02:00
Markus Goetz
0cb34c2fa5
[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 14:37:14 +02:00
Jörn Friedrich Dreyer
4d31caa6f8
fix a few minor code smells 2016-08-29 14:34:37 +02:00
Thomas Müller
297d2e48ad
Add occ command to expire the trashbin (#25878)
* Add occ command to expire the trashbin

* Fix versions folder in setup check
2016-08-29 14:30:40 +02:00
davitol
ad0090d51a
add in files view a link to personal files external 2016-08-29 14:29:46 +02:00
davitol
9b5a5dcf89
add link to personal files external 2016-08-29 14:29:41 +02:00
Joas Schilling
28792a010c
Prevent parse error on editing an HTML comment 2016-08-29 14:18:34 +02:00
Thomas Müller
6c365cb06d A shared storage is never a home storage - fixes #25582 2016-08-29 14:13:26 +02:00
iamfool
7e1a690059 Update AdminTest.php 2016-08-29 01:47:23 -07:00
iamfool
e13cd289cb Update Admin.php 2016-08-28 18:02:45 -07:00
Roeland Jago Douma
2812755359
Move federated sharing routes to the federatedfilesharingapp
* Move routes to app
* Move routes over to the AppFramework
* Fix tests

There is plenty of stuff to fix properly here. But out of scope for now.
2016-08-28 21:26:33 +02:00
Lukas Reschke
3647fbe7cd Merge pull request #976 from nextcloud/downstream-25702
Hide the LDAP password in the client side
2016-08-28 15:06:27 +02:00
Roeland Jago Douma
b6520827f7
Use function parameters 2016-08-28 11:40:58 +02:00
Roeland Jago Douma
16ff207465
Move OCSAuthAPI to AppFramework
* Convert class
* Convert routes
* Convert tests
2016-08-28 11:40:53 +02:00
Jan-Christoph Borchardt
48a307ffdc Merge pull request #1103 from nextcloud/improve-theming-performance
Increase theming performance
2016-08-27 23:18:34 +02:00
Lukas Reschke
4d85ffc27c Merge pull request #1054 from nextcloud/less-cache-hits
Reduce the number of cache operations for dav operations
2016-08-27 22:44:29 +02:00
Lukas Reschke
683f0e7f77
Use temporary file as cache 2016-08-27 21:38:41 +02:00
Lukas Reschke
73bc108451
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-27 21:02:08 +02:00
Julius Haertl
d7f0a970ae
Theming: Preview for page title 2016-08-26 18:21:05 +02:00
Joas Schilling
89c78bbce4 Merge pull request #1031 from nextcloud/2fa-infinite-redirect-loop
prevent infinite redirect loops if the there is no 2fa provider to pass
2016-08-26 16:03:05 +02:00
Roeland Jago Douma
c20aef8795 Merge pull request #1085 from nextcloud/fix-ffs-sharing-syntax
Fix the syntax of the federation ID share buttons
2016-08-26 15:10:03 +02:00
Roeland Jago Douma
53725d4d15 Merge pull request #771 from nextcloud/theming-fixes
Theming: Fix missing color usage
2016-08-26 15:02:21 +02:00
Lukas Reschke
63addaa6c6 Merge pull request #1077 from nextcloud/sharee_ocs_appframework
Sharee API to AppFramework
2016-08-26 14:56:12 +02:00
Joas Schilling
6b885bbc56
Reorder the buttons by importance 2016-08-26 14:16:27 +02:00
Joas Schilling
ab5a69b94d
FIx the syntax of the buttons 2016-08-26 13:59:50 +02:00
Julius Haertl
a7273f1658
Make federadedfilesharing button match the theming values 2016-08-26 12:52:16 +02:00
Julius Haertl
3d38cb9570
Theming: Hide undo button on default values 2016-08-26 12:08:12 +02:00
Julius Haertl
d95aec2ed2
Theming: Add preview for login screen 2016-08-26 12:08:12 +02:00
Julius Haertl
218e2f7850
Theming: Adjust jquery ui elements 2016-08-26 12:07:52 +02:00
Julius Haertl
2b0ed6c27a
Theming: colorize primary buttons 2016-08-26 12:07:52 +02:00
Julius Haertl
a7c5f1b3c4
Theming: fix federated sharing button color 2016-08-26 12:07:45 +02:00
Roeland Jago Douma
044d7c3bb7 Merge pull request #1026 from nextcloud/theming-extend-defaults
Theming: Add logo and background to ThemingDefaults
2016-08-26 11:53:24 +02:00
Roeland Jago Douma
2fdda01b4b
Sharee API to AppFramework
* Move to OCSController
* Move to Controller folder
* Use automatic DI
* Use function parameters
* Updated tests
2016-08-26 11:36:09 +02:00
Robin Appelman
7c4d9add0d reuse the userfolder's fileinfo when possible during dav setup 2016-08-25 17:22:22 +02:00
Roeland Jago Douma
cae87d028d
Fix tests 2016-08-24 21:30:42 +02:00
Roeland Jago Douma
a1ed8207e9
HTTPHelper is deprecated
Use the IClientService instead
2016-08-24 21:30:39 +02:00
Roeland Jago Douma
42ef33661f Merge pull request #1033 from nextcloud/fix_theming_autoloader_magic
Fix theming autoloader magic
2016-08-24 14:16:48 +02:00
Lukas Reschke
b124647e32 Merge pull request #936 from nextcloud/better-dav-display-names
Better dav display names
2016-08-24 13:46:18 +02:00
Roeland Jago Douma
60974de97b
Require a ThemingDefaults class again 2016-08-24 13:22:44 +02:00
Christoph Wurst
6af2efb679
prevent infinite redirect loops if the there is no 2fa provider to pass
This fixes infinite loops that are caused whenever a user is about to solve a 2FA
challenge, but the provider app is disabled at the same time. Since the session
value usually indicates that the challenge needs to be solved before we grant access
we have to remove that value instead in this special case.
2016-08-24 10:49:23 +02:00
Joas Schilling
c7c53aefb2
Use the lazy root to make tests pass 🙈 2016-08-24 09:52:05 +02:00
Joas Schilling
3fbb5de74f
Better displaynames for shared address books 2016-08-24 08:50:25 +02:00
Joas Schilling
53182fb780
Better displaynames for shared calendars 2016-08-24 08:50:25 +02:00
Roeland Jago Douma
352d22e473
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:18:08 +02:00
Julius Haertl
80fe499707
Theming: Add logo and background to ThemingDefaults 2016-08-24 00:40:22 +02:00
Lukas Reschke
2f1b17d44a Merge pull request #1007 from nextcloud/shared-storage-non-recursive
Fix shared storage recursive setup
2016-08-23 22:15:38 +02:00
Robin Appelman
a0c2342c20 prevent infinite recursion while getting storage from mount 2016-08-23 14:52:18 +02:00
Lukas Reschke
3ed102497e Merge pull request #995 from nextcloud/workflow-section
Workflow section + hidden empty sections
2016-08-23 11:20:43 +02:00
Lukas Reschke
d85e678f09 Merge pull request #1005 from nextcloud/fix_994
Do not error on maxUploadChange
2016-08-23 11:18:24 +02:00
Lukas Reschke
e0ae67545e Merge pull request #956 from nextcloud/fix_952
When using permalinks don't error out if file id can't be found
2016-08-23 00:58:25 +02:00
Arthur Schiwon
ee6f29812f
put file handling into a section again 2016-08-22 20:25:58 +02:00
Roeland Jago Douma
f744131b18
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
2016-08-22 20:25:58 +02:00
Robin Appelman
1e7c108bff handle failed shares 2016-08-22 12:32:39 +02:00
Robin Appelman
3ed01e8459 Lazy init shared storage 2016-08-22 12:27:56 +02:00
Robin Appelman
95570d607c reuse existing root id 2016-08-22 12:27:20 +02:00
Arthur Schiwon
a065fee3ff
fixes registering of theming settings where server return OC_Defaults instead of ThemingDefaults 2016-08-22 12:02:06 +02:00
Joas Schilling
8b117ee0d7 Merge pull request #965 from nextcloud/master-files-render-hidden-files-hidden
Fix hidden files handling
2016-08-22 09:44:00 +02:00
Joas Schilling
d1c9f744e1
Move admin settings to workflow section 2016-08-22 08:35:03 +02:00
Arthur Schiwon
cb3c1eee97
add section to worklfowengine 2016-08-22 08:29:44 +02:00
Lukas Reschke
ede32a558a Merge pull request #969 from nextcloud/allow-to-validate-operations
Allow to validate operations
2016-08-21 20:45:40 +02:00
Morris Jobke
56a9997435
use simple bell as update notification icon 2016-08-19 13:59:33 +02:00
Morris Jobke
1fab954353
Change federation icon to the share icon 2016-08-19 13:52:38 +02:00
Juan Pablo Villafáñez
5b4e752079
Hide the LDAP password in the client side
Connection checks will be done by using the configuration id, with the
stored password. LDAP password won't be sent to the client.
2016-08-19 12:23:41 +02:00
Joas Schilling
a111181eb3
Validate the operation 2016-08-19 12:23:05 +02:00
Joas Schilling
6d4ede3e84
System tags are not sharing but workflow 2016-08-19 12:23:05 +02:00
Vincent Petry
f7deb2c2eb
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-19 10:26:19 +02:00
Thomas Müller
f960aec5bb
Move over to new CalDAVTester repo (#25859)
* Move over to new caldac tester repo

* no run.py anymore
2016-08-19 10:18:59 +02:00
Roeland Jago Douma
cc9b36131c
When requesting a permalink to an invalid file redirect
We need to do the redirect to update address bar.
2016-08-19 10:10:19 +02:00
Roeland Jago Douma
54f79a28f6
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-19 08:15:30 +02:00
Marius Blüm
a83c5e8b00 Merge pull request #906 from nextcloud/files_external-settings-polish-missing
Files external settings polish
2016-08-18 23:32:13 +02:00
Morris Jobke
6d7c5e2265 Merge pull request #903 from nextcloud/allow-disable-comments
Revert "Always add activities for comments to the stream"
2016-08-18 16:51:42 +02:00
Morris Jobke
ab5bd81020 Merge pull request #925 from nextcloud/use-util-methods
Load the Template class in case it's not loaded
2016-08-18 16:41:07 +02:00
Robin Appelman
c51e2eb3ba fix error when not logged in 2016-08-18 16:06:25 +02:00
blizzz
3b6bbf8159 Merge pull request #934 from nextcloud/add-cachebusters
Add cachebusters
2016-08-18 15:45:22 +02:00
Roeland Jago Douma
71d81eef08 Merge pull request #927 from nextcloud/drop-unneeded-statements
white-space: pre-wrap is supported on all current browsers
2016-08-18 15:09:43 +02:00
Robin Appelman
2332ed3292 change remote cloud naming to Nextcloud 2016-08-18 12:57:47 +02:00
Robin Appelman
5dd20a55e8 dont register personal files_external setting if it's empty 2016-08-18 12:57:47 +02:00
Lukas Reschke
1f5b297722
Add cachebuster to apps.css 2016-08-18 12:38:41 +02:00
Joas Schilling
b4313f1969
Load the Template class in case it's not loaded 2016-08-18 12:00:59 +02:00
Joas Schilling
9f58e62925
Fix double ending quotes 2016-08-18 11:44:03 +02:00
Morris Jobke
436fb00162
white-space: pre-wrap is supported on all current browsers
* Chrome 1, Firefox 3, IE8, Opera 8 and Safari 3
* see https://developer.mozilla.org/en-US/docs/Web/CSS/white-space
2016-08-18 11:18:44 +02:00
Lukas Reschke
5580a77bd7 Merge pull request #714 from nextcloud/comments-layout
fix design details in comments sidebar
2016-08-18 11:04:20 +02:00
Morris Jobke
869c841082
Improve layout of cancel button in the comments sidebar 2016-08-18 09:07:03 +02:00
Morris Jobke
8c960821f1
Fix layout of comments submit button on all screen sizes
* tested in IE10, IE11, Edge, Chrome and Firefox
2016-08-18 08:57:46 +02:00
Roeland Jago Douma
fda4241dfb
Cleanup Tests 2016-08-17 20:45:29 +02:00
Roeland Jago Douma
af074eb2b7
Move updateShare and getShares over to use proper parameters
* Update tests
2016-08-17 20:45:29 +02:00
Roeland Jago Douma
22e23f3045
Use parameters in createShare
* Fix tests
2016-08-17 20:45:27 +02:00
Morris Jobke
77cfc8bfb2
add viewBox to app icon for proper scaling in Firefox 2016-08-17 18:38:53 +02:00
Morris Jobke
ec4d127e58 Merge pull request #905 from nextcloud/invisible_icons
Fix icons on App page in FF
2016-08-17 17:24:16 +02:00
Nextcloud bot
39c180117e
[tx-robot] updated from transifex 2016-08-17 13:30:52 +00:00
Roeland Jago Douma
ba4633b165
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 15:23:51 +02:00
Joas Schilling
af46b64ef2
Revert "Always add activities for comments to the stream"
This reverts commit 48c41b888c
2016-08-17 13:30:32 +02:00
Marius Blüm
baaf1521ce Merge pull request #787 from nextcloud/files_external-settings-polish
Files external settings polish
2016-08-17 12:32:33 +02:00
Roeland Jago Douma
0d96478758
Fix js unit test 2016-08-17 11:48:26 +02:00
Roeland Jago Douma
252ddcc1a4
Fix edit comment layout 2016-08-17 11:35:18 +02:00
Jan-Christoph Borchardt
efd1cf57da
fix design details in comments sidebar 2016-08-17 11:12:49 +02:00
Morris Jobke
9a7193ce83
Fix casing of external storage app 2016-08-17 10:44:00 +02:00
Joas Schilling
04c5259df0
Allow to retrieve the quota itself via the provisioning api 2016-08-17 10:41:13 +02:00
Morris Jobke
27796a4077
layout refinements 2016-08-17 10:40:59 +02:00
Robin Appelman
644770c950
hide files external in personal settings if it's empty 2016-08-17 10:40:59 +02:00
Robin Appelman
ff89354588
don't show dependency info if we cant create new mounts 2016-08-17 10:40:59 +02:00
Robin Appelman
c62e512989
hide global credentials in personal when a user cant add mounts 2016-08-17 10:40:59 +02:00
Roeland Jago Douma
ce0604bd06 Merge pull request #892 from nextcloud/fix_phpdoc
Some scrutinizer phpdoc fixes
2016-08-17 10:38:21 +02:00
Joas Schilling
027069cbae Merge pull request #846 from nextcloud/provisioning_api_ocs
Move Provisioning API to the AppFramework
2016-08-17 10:23:13 +02:00
Marius Blüm
c1632c3abd Merge pull request #893 from nextcloud/ie8_be_gone
IE8 be gone!
2016-08-17 09:02:58 +02:00
Nextcloud bot
0cc8b8b244
[tx-robot] updated from transifex 2016-08-17 00:09:19 +00:00
Roeland Jago Douma
9fd274c447
Remove IE8 support from ViewController
* Update tests
* Fix getMock in tests
2016-08-16 20:58:33 +02:00
Roeland Jago Douma
64ff8ac6fa
Fix phpdoc in Comments 2016-08-16 20:33:09 +02:00
Arthur Schiwon
717e22267a
Merge branch 'master' into implement_712 2016-08-16 18:31:59 +02:00
Arthur Schiwon
4946cc220d
for new we cannot have nested settings, default module is only appended if available 2016-08-16 18:26:16 +02:00
Björn Schießle
9db189174c Merge pull request #870 from nextcloud/oc-missingprefixforlastinsertid
Fix oracle support of external storage app
2016-08-16 16:24:45 +02:00
Roeland Jago Douma
d14c6ef78c Merge pull request #860 from nextcloud/fix_updatenotifcations_warnings
Fix deprecated getMock warning
2016-08-16 14:50:31 +02:00
Nextcloud bot
8c424c7971
[tx-robot] updated from transifex 2016-08-16 00:10:47 +00:00
Lukas Reschke
6c6338b810
Merge branch 'master' into implement_712 2016-08-15 21:55:09 +02:00
Lukas Reschke
7ffb7b0d84
Use MockBuilder instead of createMock
CI uses an older PHPUnit
2016-08-15 16:43:22 +02:00