Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
792 commits
Select commit Hold shift + click to select a range
ddd4f36
Merge pull request #25199 from owncloud/shared-mount-catch-9
Jun 21, 2016
54209ab
Merge pull request #25197 from owncloud/fix-npe-in-user-ldap-stable9
Jun 21, 2016
880ff12
Rollback version must also adjust cached size
Jun 22, 2016
3aaa33d
Merge pull request #25228 from owncloud/stable9-enc-revertversionsize
Jun 22, 2016
f44500f
Init the headers in iedavclient.js
Jun 22, 2016
b6192c3
On mount make sure multiple shares with same target map to unique one…
rullzer Apr 14, 2016
eb8e151
Merge pull request #25248 from owncloud/stable9-unique_targets
Jun 23, 2016
e366ed6
Don't reload page in case of auth errors during setup checks
Jun 23, 2016
907c901
Merge pull request #25256 from owncloud/stable9-setupchecks-preventre…
ChristophWurst Jun 24, 2016
3128a2c
Fix search result link for file results outside default list
Jun 24, 2016
fd05ff0
Hide search results after switching directory
Jun 24, 2016
735411d
ownCloud 9.0.3
Jun 29, 2016
1f71285
get only vcards which match both the address book id and the vcard ur…
schiessle Jun 29, 2016
9881828
Merge pull request #25234 from owncloud/stable9-iedavclient-nullheaders
Jul 1, 2016
abdc587
Merge pull request #25264 from owncloud/stable9-search-fixsearchfromo…
Jul 1, 2016
4a4103b
Suppress warnings from DAV migration if there's nothing to do (#25279)
DeepDiver1975 Jul 1, 2016
4ac256e
[stable9] Fix decrypt message stable9 (#25188)
DeepDiver1975 Jul 1, 2016
21bdd30
Fix OC_Helper::rmdirr for nested symlinks (#25255)
VicDeo Jul 1, 2016
9fcb269
occ web executor (#24957)
VicDeo Jun 22, 2016
1a42979
Revert "Remove repair steps for broken updater repair"
Jul 4, 2016
fdb0d4a
check if renamed user is still valid by reapplying the ldap filter (#…
felixboehm Jul 4, 2016
a2bbc22
Change order of share creation validation
Jul 5, 2016
ffe1a8b
Add integration test for sharing with group, then user in group
Jul 5, 2016
6e27375
Merge pull request #25222 from owncloud/web-executor-stable9
Jul 5, 2016
a2e0573
Merge pull request #25298 from owncloud/schiessle-fix-get-contact-sta…
Jul 6, 2016
c92c234
Ignore invalid paths in the JS file list (#25368)
Jul 6, 2016
3864555
Merge pull request #25360 from owncloud/stable9-backportshareownerfix
Jul 6, 2016
116a6f3
Merge pull request #25343 from owncloud/stable9-revertrepairrevert
Jul 6, 2016
ad67b3f
Merge pull request #25375 from owncloud/stable9-147c672f5866002d45ec6…
Jul 6, 2016
445a76b
Bypass upgrade page when occ controller is requested (#25363)
VicDeo Jul 6, 2016
64a1519
Backport 25367 to Stable 9.0 (#25384)
cdamken Jul 6, 2016
24ac177
[stable9] Use named parameter instead of direct value for system tags…
DeepDiver1975 Jul 7, 2016
cfd4e79
fix swift primary object store test (#25281) (#25391)
DeepDiver1975 Jul 7, 2016
e7302a8
[stable9] Set content type when downloading log file to force downloa…
DeepDiver1975 Jul 7, 2016
1698f2d
[stable9] Filelist change dir auto-prepend slash (#25378)
Jul 7, 2016
93c36a0
Cap LDAP user cache (#25324)
butonic Jul 7, 2016
cc7cf56
[stable9] Contacts API: replace raw image data with url (#25219)
georgehrke Jul 7, 2016
3a450f8
Hide revert button when no permission to revert (#25327)
Jul 7, 2016
121a330
Additional perm check in Webdav
Jul 6, 2016
0f7cf5c
Modified integration tests
SergioBertolinSG Jul 11, 2016
d106335
Merge pull request #25449 from owncloud/stable9-webdav-copypermissions
Jul 12, 2016
1f57e2f
[stable9] Workaround to check htaccess in case of redirects (#25435)
Jul 13, 2016
ec2e6ce
Cast share id to string (#25402) (#25431)
DeepDiver1975 Jul 13, 2016
fb2d273
[stable9] Adding certificate revocation list and validate if the app …
Jul 13, 2016
89c97ee
ownCloud Server 9.0.4 RC1
Jul 13, 2016
36c9f64
Backport guzzlehttp fix from 5.3.1
Jul 18, 2016
6f4931a
ownCloud Server 9.0.4
Jul 18, 2016
9d15d4e
[stable9] Use explode() instead of split() - fixes #25483 (#25488) (#…
DeepDiver1975 Jul 20, 2016
d7943f7
[stable9] Test jenkins pipeline (#25401) (#25502)
DeepDiver1975 Jul 24, 2016
e5c22c3
[stable9] Especially with coverage enabled execution times are pretty…
DeepDiver1975 Jul 25, 2016
53938bd
Prevent setting email and triggering events at login time (#25531)
Jul 26, 2016
023a525
Fix undefined OfflineUser::composeAndStoreDisplayName() - fixes #2324…
DeepDiver1975 Jul 26, 2016
396a4ad
Stable9 backport integration tests (#25631)
SergioBertolinSG Jul 28, 2016
d962904
[stable9] Adding quota plugin to new dav endpoint (#25615) (#25646)
DeepDiver1975 Jul 31, 2016
48c386b
[stable9] Added white download icons (#25673)
DeepDiver1975 Aug 1, 2016
ac64fa8
Respect theme for external folder icon (#25487)
tipichris Aug 5, 2016
1de0600
[stable9] Added integration test (#25677)
DeepDiver1975 Aug 9, 2016
582a4bb
log class name, ID only is hard to debug (#25744)
butonic Aug 10, 2016
2f08c6c
Skip version and tras expiry for users that never logged in (#25742)
butonic Aug 10, 2016
bbbe6a0
[Stable9] fix unit test on new jenkins setup and adjust Jenkinsfile (…
DeepDiver1975 Aug 11, 2016
0182b9d
[stable9] getJailedPath expects $path to have a trailing / (#25703) …
DeepDiver1975 Aug 12, 2016
831e123
[stable9] backport of #23728 (#25491)
michaelstingl Aug 12, 2016
97a86bd
Fix file permissions for SMB (read-only folders will be writeable) (#…
jvillafanez Aug 12, 2016
f2f86e8
[stable9] lastInsertId requires the prefix (#25786)
butonic Aug 12, 2016
9e14fef
Fix subadmin permission check for addToGroup/removeFromGroup
Aug 12, 2016
aedae12
In cases where the server dictates the link share expiration the date…
DeepDiver1975 Aug 11, 2016
fd1f7cc
Fix paths returned by \OC\Files\Storage\Shared hooks (#25519)
Aug 13, 2016
f149bce
Add integration tests for merging received shares
Jul 11, 2016
c3e7cf5
Added more tests for sharing's MountProvider
Jul 13, 2016
fd0f403
Add repair step for unmerged shares
Jul 20, 2016
5c15a94
Group incoming shares for resharing in JS
Jul 13, 2016
a39f3eb
Fix grouping of received shares in MountProvider
Jul 22, 2016
b194b9f
Adjust RepairUnmergedShares version check
Jul 22, 2016
2d463d3
Fix RepairUnmergedShares to not skip valid repair cases
Jul 22, 2016
f897e19
Add integration tests for double shares with rename in between
Jul 22, 2016
2e04cc8
Ignore file_target when grouping shares
Jul 22, 2016
ca1043e
Don't bother repairing unmerged shares when coming from OC 8.2
Aug 12, 2016
f68dd4d
Improve file_target finding logic when repairing unmerged shares
Aug 12, 2016
d2ad804
Fix unmerged shares repair with mixed group and direct shares
Aug 12, 2016
a817327
Merge pull request #25766 from owncloud/fix-server-side-share-expirat…
Aug 15, 2016
a67e536
add conditional smb trace logging for debug purposes
butonic Aug 16, 2016
7654efb
Merge pull request #25798 from owncloud/stable9-provisioning-api-suba…
Aug 16, 2016
33c66f3
Merge pull request #25543 from owncloud/stable9-group-shares
Aug 16, 2016
9cda05f
Merge pull request #25808 from owncloud/stable9-smb-trace
Aug 16, 2016
9345b9e
[stable9] Simplify testPermissionMovedGroupShare (#25573)
Jul 25, 2016
ef8da70
[stable9] Merge pull request #25652 from owncloud/fix-getQuota-on-null
Aug 11, 2016
40fc3d1
Merge pull request #25777 from owncloud/stable9-eaecf0cfa9094eb5224e5…
Aug 17, 2016
7857517
Take from https://github.com/nextcloud/server/pull/608/commits/351cab…
DeepDiver1975 Jul 28, 2016
4913b59
Fix unit tests
DeepDiver1975 Jul 28, 2016
63be960
Merge pull request #25608 from owncloud/stable9-6230563489165248c20d4…
Aug 17, 2016
4e17ecb
204 and 304 must not have a body, see https://tools.ietf.org/html/rfc…
butonic Aug 17, 2016
83cce56
Improve regexp to detect duplicate folders when repairing unmerged sh…
Aug 17, 2016
3c28ebd
map oracle driver options to params (#25801)
butonic Aug 17, 2016
85b944a
Merge pull request #25842 from owncloud/stable9-fix-unmerged-shares-r…
Aug 17, 2016
643c803
remove reference magic
butonic Aug 17, 2016
9ecb4b7
Merge pull request #25836 from owncloud/stable9_nobodyifnocontent
Aug 18, 2016
3306473
Merge pull request #25843 from owncloud/stable9_remove_reference_magic
Aug 18, 2016
45e4049
Merge pull request #25832 from owncloud/stable9-dont-decrypt-shared-f…
Aug 18, 2016
1d3a157
ownCloud Server 9.0.5 RC1
Aug 18, 2016
b2766ab
[stable9] Move over to new CalDAVTester repo (#25859) (#25864)
DeepDiver1975 Aug 19, 2016
57908ab
Hide the LDAP password in the client side (#25874)
jvillafanez Aug 19, 2016
19ca745
[9.0] Before a user is getting scanned the database connection is re-…
DeepDiver1975 Aug 18, 2016
17f0626
[9.0] Best practice through out the web speak of a max avatar image s…
DeepDiver1975 Aug 22, 2016
d32ae24
Merge pull request #25889 from owncloud/stable9-891c5311357e7ac140877…
Aug 22, 2016
a3c9989
Merge pull request #25899 from owncloud/stable9-a9e633db0cd04cb6288ce…
Aug 22, 2016
689a7bd
[stable9] Add occ command to expire the trashbin (#25878) (#25915)
DeepDiver1975 Aug 24, 2016
d358cbb
Users page lazy multiselect group dropdowns
Aug 23, 2016
c061f13
Merge pull request #25932 from owncloud/stable9-users-lazydropdownwit…
Aug 24, 2016
61c9a06
stat for root of a share does not work
butonic Aug 16, 2016
e0c8696
don't list hidden files
butonic Aug 16, 2016
baec3a0
formatInfo should include type
butonic Aug 16, 2016
f4051a1
overwrite target on rename
butonic Aug 16, 2016
5d11696
use stat to determine has updated
butonic Aug 16, 2016
b53de63
stat now handles mtime for root shares, simplify hasUpdated
butonic Aug 16, 2016
f95fc02
move share check to getFileInfo
butonic Aug 18, 2016
2565eac
always try stat, fake if forbidden, actually return the fileinfo array
butonic Aug 18, 2016
717c521
share root is always readable
butonic Aug 18, 2016
d253b6d
do not overwrite stat cache with plain array
butonic Aug 22, 2016
1ac6f4f
fix test execution due to connection limit
butonic Aug 23, 2016
1ef2059
add dir based stat fallback
butonic Aug 24, 2016
93229e7
fix return values for smbclient backend
butonic Aug 24, 2016
185ce22
allow unhiding root folder in subfolder of share
butonic Aug 24, 2016
ebf8be1
trust libsmbclient on stat, only do dir fallback for smbclient
butonic Aug 24, 2016
72fa98b
Merge pull request #25817 from owncloud/stable9-smbfixes
butonic Aug 26, 2016
7dcad08
Added testcases about adding and removing users to groups using subad…
SergioBertolinSG Aug 16, 2016
b06f211
Only check the pertenence to groups
SergioBertolinSG Aug 16, 2016
f5ed979
Change of user missing
SergioBertolinSG Aug 16, 2016
3b01d7e
Typo in scenario
SergioBertolinSG Aug 17, 2016
246dd57
Merge pull request #25953 from owncloud/stable9-integration-tests-sub…
Aug 29, 2016
5c1940b
Fix redirection taking care of protocol and port (#25957)
VicDeo Aug 29, 2016
cc0e096
Creating the folder when the tests run
SergioBertolinSG Aug 30, 2016
7bc069a
Added feature and context, not working yet, option to allow sharing n…
SergioBertolinSG Aug 8, 2016
7431cd9
Removed extra context added needed option and remove storage after ex…
SergioBertolinSG Aug 9, 2016
ccdd257
Run as current user
SergioBertolinSG Aug 10, 2016
a799206
Added local_storage folder
SergioBertolinSG Aug 12, 2016
e0ff7f8
External storage was not enabled and content was not deleted before s…
SergioBertolinSG Aug 26, 2016
4f64c16
Changed enabled/disabled app in provisioning api tests
SergioBertolinSG Aug 26, 2016
6d74b49
Merge pull request #25992 from owncloud/stable9-integration_tests_loc…
Aug 31, 2016
e7b469b
[stable9] Comments field is not properly escaped (#26008) (#26010)
DeepDiver1975 Sep 2, 2016
af76cb7
Pass web requests to occ controller if upgrade is needed
VicDeo Sep 6, 2016
765fba1
Fix failing preview unit tests (#26039)
DeepDiver1975 Sep 6, 2016
5b35100
Fix preview namespaces from backport
Sep 7, 2016
4aba079
Merge pull request #26051 from owncloud/stable9-fix-preview-tests
Sep 7, 2016
9841ede
Merge pull request #26049 from owncloud/stable9-cath-needs-upgrade-no…
Sep 7, 2016
2e5ff7b
Increase version for 9.0.5RC2
Sep 7, 2016
c8a8cec
Set version to 9.0.5 final
Sep 19, 2016
8771eb3
Allow uploading empty files (#26136)
Sep 19, 2016
0b51c9a
[stable9] Fix mimetype detection inside hidden folders (#26138) (#26152)
DeepDiver1975 Sep 20, 2016
6b4d426
[stable9] In case the build on master or any release branch fails an …
DeepDiver1975 Sep 21, 2016
f5fd9b8
Allow space for federated share id search (#25982)
Sep 22, 2016
e5c604f
Allow increasing permissions for share owner
Aug 29, 2016
f02b66e
Merge pull request #26187 from owncloud/stable9-fix-shareperms-increa…
Sep 23, 2016
5300fc9
Backport #26087 to stable9 (#26229)
Sep 27, 2016
1b4305d
Backport #26236 to stable9 (#26237)
Sep 28, 2016
c238b80
[stable9] Unset user PHOTO before setting new one in OCA\DAV\CardDAV\…
DeepDiver1975 Sep 30, 2016
b82a99a
[stable9] 25532_issue_password_update_notification_updated (#25756) (…
DeepDiver1975 Sep 30, 2016
44aa9b8
[stable9] Tear down FS between cron jobs (#26223)
Sep 30, 2016
729f095
Merge pull request #26258 from owncloud/stable9-8b20b12584bb49b46913f…
Oct 4, 2016
f665b21
Backport #26031 and #26105
VicDeo Oct 4, 2016
169adc8
Added scenario sharing again an own file while belonging to a group t…
SergioBertolinSG Sep 22, 2016
2d2a896
Merge pull request #26275 from owncloud/stable9-integration-tests-iss…
Oct 4, 2016
1641f86
Merge pull request #26276 from owncloud/stable9-backport26031
Oct 6, 2016
8343cd2
[stable9] Improve user list rendering perf by not resorting after eve…
Oct 7, 2016
12c934a
Tear down FS after user update in CardDAV sync job (#26204)
Oct 8, 2016
846ef0a
Merge pull request #26310 from owncloud/stable9-0f6a5aac7c4a770d45f9a…
Oct 10, 2016
d03255a
[stable9] forum.owncloud.org -> central.owncloud.org (#25644)
Jul 31, 2016
c88238b
New command to update group mappings
jvillafanez Oct 11, 2016
8f39d01
Merge pull request #26343 from owncloud/ldap_command_updategroup_stable9
Oct 11, 2016
97d12db
Merge pull request #26332 from owncloud/stable9-b569564fcc1aba85dce64…
Oct 11, 2016
fcda88c
Fix post_unshareFromSelf hook parameter format
Oct 13, 2016
1144cf0
Partial backport of etag propagation tests
Oct 18, 2016
652c960
Skip over missing groups
jvillafanez Oct 17, 2016
95dae78
Fix minor typo
jvillafanez Oct 19, 2016
20f749e
Merge pull request #26403 from owncloud/upgrade_group_skip_missing_st…
Oct 19, 2016
ab92c20
[stable9] Escape special characters (#25429)
aaronjwood Jul 20, 2016
a9e8b7d
Merge pull request #26389 from owncloud/stable9-fix-unsharefromself-h…
Oct 19, 2016
ed468d5
Merge pull request #26409 from owncloud/stable9-36d6f3ba8b7b7db8f4d8b…
Oct 19, 2016
f25b302
Set version to 8.2.9 RC1
Oct 19, 2016
c40bec5
Sanitize length headers when validating quota (#26417)
Oct 20, 2016
dee0647
[stable9] Fix misleading SSL/TLS SMTP email configuration (#26447)
Oct 24, 2016
c98cc72
Merge pull request #26456 from owncloud/stable9-da79d9affbf1cd3a2e30c…
Oct 24, 2016
f9b3abf
stable9 is not compatible with PHP 7.1 (#26433)
Oct 24, 2016
942ca72
remove old share propagation entries from appconfig (#26454)
Oct 24, 2016
e7acbce
Exclude more invalid chars from files UI path
Oct 24, 2016
3519b6e
Merge pull request #26475 from owncloud/stable9-filelist-catchinvalid…
Oct 25, 2016
4fa4c9f
Allow integrity check via OccController
VicDeo Oct 25, 2016
bcc6c39
Merge pull request #26460 from owncloud/throw-exceptions-not-printable
Oct 25, 2016
7ff29e8
Merge pull request #26483 from owncloud/stable9-allow-integrity-check
VicDeo Oct 25, 2016
9e1462f
Merge pull request #26485 from owncloud/stable9-96b8afe48570bc70088cc…
Oct 25, 2016
a5f7247
Set version to 9.0.6 RC2
Oct 25, 2016
6accf54
[stable9.1] Merge pull request #26459 from owncloud/limit-carddav-ima…
Oct 25, 2016
8036aa5
Fixed disappearing of share info in file view
mjobst-necls Nov 2, 2016
f3407ba
Transfer ownership only analyze home storage
Nov 2, 2016
03f40e1
Skip broken shares when transferring ownership
Nov 2, 2016
eac87d3
Set version to 9.0.6
Nov 8, 2016
16f77a8
[stable9] We need to ensure that the app holding the objectstore impl…
DeepDiver1975 Oct 7, 2016
b01f1eb
First process group shares and then user shares (#26567)
Nov 10, 2016
7199ada
Merge pull request #26536 from owncloud/stable9-fix_disappearing_shar…
Nov 11, 2016
553740c
Merge pull request #26565 from owncloud/stable9-transferownership-ext…
Nov 11, 2016
a3dec95
Add repair step to fix file share permissions
Nov 7, 2016
8eb0802
Add back RepairInvalidShares in repair list
Nov 14, 2016
5921e8b
[stable9] Fallback to share link owner when no owner found (#26587)
Nov 14, 2016
ef16dce
Merge pull request #26599 from owncloud/stable9-7bb28ae6176c60b5a018e…
Nov 14, 2016
f31082b
Merge pull request #26620 from owncloud/stable9-0b91f8d976b04fef24992…
Nov 14, 2016
e472e96
behat will only only pass if all tests pass
DeepDiver1975 Nov 14, 2016
78eacaa
Merge pull request #26631 from owncloud/stable9-jenkins-failing-behat…
DeepDiver1975 Nov 14, 2016
b9edfca
Merge pull request #26618 from owncloud/stable9-fix-invalid-share-perms
Nov 15, 2016
7f4dbae
Added test checking quota after usage
SergioBertolinSG Sep 26, 2016
9dd216a
Added quota calculation test when a file is recieved
SergioBertolinSG Sep 26, 2016
0360d6f
Merge pull request #26635 from owncloud/stable9-integration-tests-qa-222
Nov 15, 2016
4b0aa3a
Adapted favorites and dav2 features
SergioBertolinSG Sep 27, 2016
fbb2d6d
Adapted sharing and external features, random failures in sharing:857
SergioBertolinSG Sep 27, 2016
6e50738
Added weddav related feature
SergioBertolinSG Sep 27, 2016
0819d0f
Removed forgotten leftovers
SergioBertolinSG Sep 28, 2016
d76b83e
Added missing requirements
SergioBertolinSG Nov 16, 2016
22ac88a
Changed nothing for 0 because of previous sabre dav version
SergioBertolinSG Nov 18, 2016
ed91673
Removed some tests added in the conflict resolution which are not nee…
SergioBertolinSG Nov 21, 2016
85c8a02
Merge pull request #26576 from owncloud/stable9-transfer-ownership-ex…
DeepDiver1975 Nov 21, 2016
8456a66
Properly expire ext storage versions (#26601)
Nov 22, 2016
102df9a
No challenge from FedAuth
DeepDiver1975 Nov 22, 2016
2924094
Merge pull request #26682 from owncloud/stable9-ext-storage-expirever…
DeepDiver1975 Nov 22, 2016
6c0d4bc
Merge pull request #26688 from owncloud/stable9-fix-duplicate-www-aut…
Nov 23, 2016
eca5ff3
Skip local shares in bkg scan and occ files:scan (#26590)
Nov 10, 2016
7efbfc7
Added functions to check etag of elements
SergioBertolinSG Oct 13, 2016
5d2bd76
Changed description of variable
SergioBertolinSG Oct 14, 2016
a0dd1d9
Added test case about issue 26346
SergioBertolinSG Oct 14, 2016
dc77e03
Removed useless function
SergioBertolinSG Nov 24, 2016
3fc3290
Remove dav v2 move because broken on stable9
Nov 24, 2016
34bf725
Merge pull request #26666 from owncloud/stable9-integration-tests-ref…
Nov 24, 2016
2f5e3e6
Add transfer ownership integration tests (#26543)
Nov 7, 2016
e12c367
Transfer ownership now returns exit code on error
Nov 4, 2016
d90e958
Correctly convert OCS permissions params
Nov 22, 2016
667903a
Added tests about permissions and public upload
SergioBertolinSG Nov 15, 2016
7cf3e25
don't try to render preview images if 'enable_previews' has been set …
Nov 24, 2016
151a0ce
Merge pull request #26713 from owncloud/stable9-disable-previews
Nov 24, 2016
65af378
Backport integration test functions from #26610
Nov 14, 2016
63666b7
commit transaction after select query
Nov 24, 2016
c334f98
Merge pull request #26614 from owncloud/stable9-behat-transferownership
DeepDiver1975 Nov 24, 2016
6962047
Merge pull request #26710 from owncloud/stable9-failed-to-create-shar…
Nov 25, 2016
fc7abeb
Merge pull request #26696 from owncloud/stable9-publicupload-fix
Nov 25, 2016
60cc998
Fix finding transferred folder in integration tests
Nov 14, 2016
9a2ab51
Merge pull request #26699 from owncloud/stable9-occ-filesscan-skipshares
Nov 25, 2016
68ed4ef
Merge pull request #26719 from owncloud/stable9-fix-transferownership…
Nov 28, 2016
f418d55
Use the correct realm for basic authentication - fixes #23427
DeepDiver1975 Jun 9, 2016
505c5c3
Add test for duplicate 401 headers on DAV
Nov 22, 2016
553448b
Merge pull request #26721 from owncloud/stable9-fix-the-realm
DeepDiver1975 Nov 29, 2016
4ec231f
Set version to 9.0.7 RC1
Nov 29, 2016
d6e9178
Set version to 9.0.7
Dec 12, 2016
7ee4f73
Only construct the storage when we start using it
icewind1991 Apr 15, 2016
c9fdd1e
Get shared storage numeric id directly from DB
Aug 10, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 11 additions & 18 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@
SetEnv htaccessWorking true
</IfModule>
</IfModule>
<IfModule mod_php7.c>
php_value upload_max_filesize 513M
php_value post_max_size 513M
php_value memory_limit 512M
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
php_value output_buffering 0
<IfModule mod_env.c>
SetEnv htaccessWorking true
</IfModule>
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
Expand All @@ -48,24 +59,6 @@
RewriteRule ^(build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
RewriteRule ^(\.|autotest|occ|issue|indie|db_|console).* - [R=404,L]

# Rewrite rules for `front_controller_active`
Options -MultiViews
RewriteRule ^core/js/oc.js$ index.php/core/js/oc.js [PT,E=PATH_INFO:$1]
RewriteRule ^core/preview.png$ index.php/core/preview.png [PT,E=PATH_INFO:$1]
RewriteCond %{REQUEST_FILENAME} !\.(css|js|svg|gif|png|html|ttf|woff|ico)$
RewriteCond %{REQUEST_FILENAME} !core/img/favicon.ico$
RewriteCond %{REQUEST_FILENAME} !/remote.php
RewriteCond %{REQUEST_FILENAME} !/public.php
RewriteCond %{REQUEST_FILENAME} !/cron.php
RewriteCond %{REQUEST_FILENAME} !/core/ajax/update.php
RewriteCond %{REQUEST_FILENAME} !/status.php
RewriteCond %{REQUEST_FILENAME} !/ocs/v1.php
RewriteCond %{REQUEST_FILENAME} !/ocs/v2.php
RewriteCond %{REQUEST_FILENAME} !/updater/
RewriteCond %{REQUEST_FILENAME} !/ocs-provider/
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
RewriteRule .* index.php [PT,E=PATH_INFO:$1]
</IfModule>
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
Expand Down
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
branches:
only:
- master
# - /^stable\d+(\.\d+)?$/
- /^stable\d+(\.\d+)?$/

addons:
apt:
Expand All @@ -29,6 +29,7 @@ install:


script:
- sh -c "if [ '$TC' = 'syntax' ]; then composer install && vendor/bin/parallel-lint --exclude vendor/jakub-onderka/ --exclude 3rdparty/symfony/polyfill-php70/Resources/stubs/ --exclude 3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/ --exclude 3rdparty/paragonie/random_compat/lib/ --exclude vendor/composer/autoload_static.php --exclude 3rdparty/composer/autoload_static.php .; fi"
- sh -c "if [ '$TEST_DAV' != '1' ]; then echo \"Not testing DAV\"; fi"
- sh -c "if [ '$TEST_DAV' = '1' ]; then echo \"Testing DAV\"; fi"

Expand All @@ -42,5 +43,13 @@ matrix:
env: DB=sqlite;TC=carddav
- php: 5.4
env: DB=sqlite;TC=caldav
- php: 5.4
env: DB=sqlite;TC=syntax;TEST_DAV=0
- php: 5.5
env: DB=sqlite;TC=syntax;TEST_DAV=0
- php: 5.6
env: DB=sqlite;TC=syntax;TEST_DAV=0
- php: 7.0
env: DB=sqlite;TC=syntax;TEST_DAV=0

fast_finish: true
2 changes: 1 addition & 1 deletion 3rdparty
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Help us to maximize the effort we can spend fixing issues and adding new feature

[template]: https://raw.github.com/owncloud/core/master/issue_template.md
[mailinglist]: https://mailman.owncloud.org/mailman/listinfo/owncloud
[forum]: https://forum.owncloud.org/
[forum]: https://central.owncloud.org/
[irc]: https://webchat.freenode.net/?channels=owncloud&uio=d4

## Contributing to Source Code
Expand Down
144 changes: 144 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
#!groovy
/*
* This Jenkinsfile is intended to run on https://ci.owncloud.org and may fail anywhere else.
* It makes assumptions about plugins being installed, labels mapping to nodes that can build what is needed, etc.
*/

timestampedNode('SLAVE') {
stage 'Checkout'
checkout scm
sh '''git submodule update --init'''

stage 'JavaScript Testing'
executeAndReport('tests/autotest-results-js.xml') {
sh '''./autotest-js.sh'''
}

stage 'PHPUnit'
executeAndReport('tests/autotest-results-sqlite.xml') {
sh '''
export NOCOVERAGE=1
unset USEDOCKER
phpenv local 7.0
./autotest.sh sqlite
'''
}
executeAndReport('tests/autotest-results-mysql.xml') {
sh '''
export NOCOVERAGE=1
unset USEDOCKER
phpenv local 5.4
./autotest.sh mysql
'''
}
executeAndReport('tests/autotest-results-pgsql.xml') {
sh '''
export NOCOVERAGE=1
unset USEDOCKER
phpenv local 5.6
./autotest.sh pgsql
'''
}
executeAndReport('tests/autotest-results-oci.xml') {
sh '''
export NOCOVERAGE=1
unset USEDOCKER
phpenv local 5.5
./autotest.sh oci
'''
}

stage 'Files External Testing'
executeAndReport('tests/autotest-external-results-sqlite-webdav-ownCloud.xml') {
sh '''phpenv local 7.0
export NOCOVERAGE=1
unset USEDOCKER
./autotest-external.sh sqlite webdav-ownCloud
'''
}
executeAndReport('tests/autotest-external-results-sqlite-smb-silvershell.xml') {
sh '''phpenv local 7.0
export NOCOVERAGE=1
unset USEDOCKER
./autotest-external.sh sqlite smb-silvershell
'''
}
executeAndReport('tests/autotest-external-results-sqlite-swift-ceph.xml') {
sh '''phpenv local 7.0
export NOCOVERAGE=1
unset USEDOCKER
./autotest-external.sh sqlite swift-ceph
'''
}
executeAndReport('tests/autotest-external-results-sqlite-smb-windows.xml') {
sh '''phpenv local 7.0
export NOCOVERAGE=1
unset USEDOCKER
./autotest-external.sh sqlite smb-windows
'''
}

step([$class: 'JUnitResultArchiver', testResults: 'tests/autotest-external-results-sqlite.xml'])

stage 'Primary Objectstore Test - Swift'
executeAndReport('tests/autotest-results-mysql.xml') {
sh '''phpenv local 7.0

export NOCOVERAGE=1
export RUN_OBJECTSTORE_TESTS=1
export PRIMARY_STORAGE_CONFIG="swift"
unset USEDOCKER

rm tests/autotest-results-*.xml
./autotest.sh mysql
'''
}

stage 'Integration Testing'
executeAndReport('build/integration/output/*.xml') {
sh '''phpenv local 7.0
rm -rf config/config.php
./occ maintenance:install --admin-pass=admin
rm -rf build/integration/output
rm -rf build/integration/vendor
rm -rf build/integration/composer.lock
cd build/integration
./run.sh
'''
}
}

void executeAndReport(String testResultLocation, def body) {
def failed = false
// We're wrapping this in a timeout - if it takes longer, kill it.
try {
timeout(time: 120, unit: 'MINUTES') {
body.call()
}
} catch (Exception e) {
failed = true
echo "Test execution failed: ${e}"
} finally {
step([$class: 'JUnitResultArchiver', testResults: testResultLocation])
}

if (failed) {

if (env.BRANCH_NAME == 'master' || env.BRANCH_NAME == 'stable9.1' || env.BRANCH_NAME == 'stable9' || env.BRANCH_NAME == 'stable8.2') {
mail body: "project build error is here: ${env.BUILD_URL}" ,
subject: "Build on release branch failed: ${env.BRANCH_NAME}",
to: '[email protected]'
}

error "Test execution failed. Terminating the build"
}
}

// Runs the given body within a Timestamper wrapper on the given label.
def timestampedNode(String label, Closure body) {
node(label) {
wrap([$class: 'TimestamperBuildWrapper']) {
body.call()
}
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ https://owncloud.org/contribute/
Learn about the different ways you can get support for ownCloud: https://owncloud.org/support/

## Get in touch
* :clipboard: [Forum](https://forum.owncloud.org)
* :clipboard: [Forum](https://central.owncloud.org)
* :envelope: [Mailing list](https://mailman.owncloud.org/mailman/listinfo)
* :hash: [IRC channel](https://webchat.freenode.net/?channels=owncloud)
* :busts_in_silhouette: [Facebook] (https://facebook.com/ownclouders)
Expand Down
23 changes: 22 additions & 1 deletion apps/comments/activity/extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function getDefaultTypes($method) {
public function getTypeIcon($type) {
switch ($type) {
case self::APP_NAME:
return false;
return 'icon-comment';
}

return false;
Expand Down Expand Up @@ -150,6 +150,9 @@ protected function translateShort($text, IL10N $l, array $params) {

switch ($text) {
case self::ADD_COMMENT_SUBJECT:
if ($this->authorIsCurrentUser($params[0])) {
return (string) $l->t('You commented');
}
return (string) $l->t('%1$s commented', $params);
case self::ADD_COMMENT_MESSAGE:
return $this->convertParameterToComment($params[0], 120);
Expand All @@ -168,6 +171,9 @@ protected function translateLong($text, IL10N $l, array $params) {

switch ($text) {
case self::ADD_COMMENT_SUBJECT:
if ($this->authorIsCurrentUser($params[0])) {
return (string) $l->t('You commented on %2$s', $params);
}
return (string) $l->t('%1$s commented on %2$s', $params);
case self::ADD_COMMENT_MESSAGE:
return $this->convertParameterToComment($params[0]);
Expand All @@ -176,6 +182,21 @@ protected function translateLong($text, IL10N $l, array $params) {
return false;
}

/**
* Check if the author is the current user
*
* @param string $user Parameter e.g. `<user display-name="admin">admin</user>`
* @return bool
*/
protected function authorIsCurrentUser($user) {
try {
return strip_tags($user) === $this->activityManager->getCurrentUserId();
} catch (\UnexpectedValueException $e) {
// FIXME this is awkward, but we have no access to the current user in emails
return false;
}
}

/**
* The extension can define the type of parameters for translation
*
Expand Down
2 changes: 1 addition & 1 deletion apps/comments/js/commentstabview.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
'{{/if}}' +
' </div>' +
' <form class="newCommentForm">' +
' <textarea class="message" placeholder="{{newMessagePlaceholder}}">{{{message}}}</textarea>' +
' <textarea class="message" placeholder="{{newMessagePlaceholder}}">{{message}}</textarea>' +
' <input class="submit" type="submit" value="{{submitText}}" />' +
'{{#if isEditMode}}' +
' <input class="cancel" type="button" value="{{cancelText}}" />' +
Expand Down
3 changes: 2 additions & 1 deletion apps/comments/l10n/cs_CZ.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ OC.L10N.register(
"Save" : "Uložit",
"Allowed characters {count} of {max}" : "Povolených znaků {count} z {max}",
"{count} unread comments" : "{count} nepřečtených komentářů",
"Comment" : "Komentář"
"Comment" : "Komentář",
"<strong>Comments</strong> for files" : "<strong>Komentáře</strong> souborů"
},
"nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;");
3 changes: 2 additions & 1 deletion apps/comments/l10n/cs_CZ.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"Save" : "Uložit",
"Allowed characters {count} of {max}" : "Povolených znaků {count} z {max}",
"{count} unread comments" : "{count} nepřečtených komentářů",
"Comment" : "Komentář"
"Comment" : "Komentář",
"<strong>Comments</strong> for files" : "<strong>Komentáře</strong> souborů"
},"pluralForm" :"nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;"
}
3 changes: 2 additions & 1 deletion apps/comments/l10n/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ OC.L10N.register(
"Save" : "Speichern",
"Allowed characters {count} of {max}" : "Erlaubte Zeichen {count} von {max}",
"{count} unread comments" : "{count} ungelesene Kommentare",
"Comment" : "Kommentar"
"Comment" : "Kommentar",
"<strong>Comments</strong> for files" : "<strong>Kommentare</strong> für Dateien"
},
"nplurals=2; plural=(n != 1);");
3 changes: 2 additions & 1 deletion apps/comments/l10n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"Save" : "Speichern",
"Allowed characters {count} of {max}" : "Erlaubte Zeichen {count} von {max}",
"{count} unread comments" : "{count} ungelesene Kommentare",
"Comment" : "Kommentar"
"Comment" : "Kommentar",
"<strong>Comments</strong> for files" : "<strong>Kommentare</strong> für Dateien"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
3 changes: 2 additions & 1 deletion apps/comments/l10n/de_DE.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ OC.L10N.register(
"Save" : "Speichern",
"Allowed characters {count} of {max}" : "{count} von {max} Zeichen benutzt",
"{count} unread comments" : "[count] ungelesene Kommentare",
"Comment" : "Kommentar"
"Comment" : "Kommentar",
"<strong>Comments</strong> for files" : "<strong>Kommentare</strong> für Dateien"
},
"nplurals=2; plural=(n != 1);");
3 changes: 2 additions & 1 deletion apps/comments/l10n/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"Save" : "Speichern",
"Allowed characters {count} of {max}" : "{count} von {max} Zeichen benutzt",
"{count} unread comments" : "[count] ungelesene Kommentare",
"Comment" : "Kommentar"
"Comment" : "Kommentar",
"<strong>Comments</strong> for files" : "<strong>Kommentare</strong> für Dateien"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
3 changes: 2 additions & 1 deletion apps/comments/l10n/en_GB.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ OC.L10N.register(
"Save" : "Save",
"Allowed characters {count} of {max}" : "Allowed characters {count} of {max}",
"{count} unread comments" : "{count} unread comments",
"Comment" : "Comment"
"Comment" : "Comment",
"<strong>Comments</strong> for files" : "<strong>Comments</strong> for files"
},
"nplurals=2; plural=(n != 1);");
3 changes: 2 additions & 1 deletion apps/comments/l10n/en_GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"Save" : "Save",
"Allowed characters {count} of {max}" : "Allowed characters {count} of {max}",
"{count} unread comments" : "{count} unread comments",
"Comment" : "Comment"
"Comment" : "Comment",
"<strong>Comments</strong> for files" : "<strong>Comments</strong> for files"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
3 changes: 2 additions & 1 deletion apps/comments/l10n/eo.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ OC.L10N.register(
"Save" : "Konservi",
"Allowed characters {count} of {max}" : "Permesataj karakteroj: {count} el {max}",
"{count} unread comments" : "{count} nelegitaj komentoj",
"Comment" : "Komento"
"Comment" : "Komento",
"<strong>Comments</strong> for files" : "<strong>Komentoj</strong> por dosieroj"
},
"nplurals=2; plural=(n != 1);");
3 changes: 2 additions & 1 deletion apps/comments/l10n/eo.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"Save" : "Konservi",
"Allowed characters {count} of {max}" : "Permesataj karakteroj: {count} el {max}",
"{count} unread comments" : "{count} nelegitaj komentoj",
"Comment" : "Komento"
"Comment" : "Komento",
"<strong>Comments</strong> for files" : "<strong>Komentoj</strong> por dosieroj"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
Loading