Lukas Reschke
90cb3e3cc6
Merge pull request #1661 from nextcloud/fix_1659
...
use older php array syntax in index.php
2016-10-08 18:44:55 +02: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
Lukas Reschke
0245dd7221
Simplify isSubDirectory check
...
Shaves off another 9ms per request as can be seen at https://blackfire.io/profiles/compare/dd54cef3-e58d-4a22-b8f4-c7c4b70697be/graph
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-07 21:56:43 +02:00
Lukas Reschke
0c2b17c80f
Cache AppInfo in Memory Cache if configured
...
This saves around 20ms on a bare-bone instance, on bigger ones more (depending on the number of installed apps).
See https://blackfire.io/profiles/compare/fc326ad3-100d-49b8-8ea9-8343240f53f3/graph
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-07 21:29:23 +02:00
Thomas Müller
67d3574bdf
Don't parse info.xml but reuse already cached app infos - fixes #25603 ( #25968 )
...
* Don't parse info.xml but reuse already cached app infos - fixes #25603
* Use === in InfoParser. Fixes test
* InfoParser should not depend on UrlGenerator - fixes issue with session being closed too early
2016-10-07 20:58:22 +02:00
Georg Ehrke
a48aed2ee9
use older php array syntax in index.php
2016-10-07 20:24:47 +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
522b053466
update autoloading map
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2016-10-07 17:11:23 +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
Joas Schilling
c77933ca22
Add an icon to the notification API
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-07 17:00:24 +02:00
Lukas Reschke
ab4353457d
Default to empty string
...
Otherwise `null` is returned which leads to a ton of similar error messages if the log condition setting is enabled.:
```
{"reqId":"3wVBarnDfOV3qkI1bVCU","remoteAddr":"89.98.78.41","app":"PHP","message":"hash_equals(): Expected user_string to be a string, null given at \/var\/www\/html\/lib\/private\/Log.php#275","level":3,"time":"2016-10-07T14:22:15+00:00","method":"PROPFIND","url":"\/remote.php\/webdav\/","user":"icewind"}
```
2016-10-07 16:23:05 +02:00
Joas Schilling
c02a50a432
Make sure all the jobs, command, provides and migrations are valid
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-07 14:25:18 +02:00
Roeland Jago Douma
9e7824f3ed
Merge pull request #1648 from nextcloud/bump_moment_js
...
Bump moment.js
2016-10-07 13:19:07 +02:00
Lukas Reschke
0dce8fdd63
Merge pull request #1651 from nextcloud/fix_bower_strengthify
...
Fix bower.json for strengthify
2016-10-07 13:06:18 +02:00
Roeland Jago Douma
286f34146a
Bump moment.js
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-07 11:10:50 +02:00
Roeland Jago Douma
6292946fe0
Fix bower.json for strengthify
...
Bower.json was still bound to the old version.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-07 11:10:36 +02:00
Morris Jobke
bccc4e618a
Merge pull request #1644 from nextcloud/apple-web-title
...
Set proper web title for apple
2016-10-07 10:27:55 +02:00
Joas Schilling
b8030e6d02
Use name from theming
2016-10-07 09:44:42 +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
Morris Jobke
c4b2639585
Merge pull request #1514 from nextcloud/integration-tests-orphaned-shares
...
Integration tests orphaned shares + Prefilter inaccessible shares
2016-10-06 22:58:56 +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
Roeland Jago Douma
19485e3ec9
Set proper web title for apple
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-06 20:57:32 +02:00
Roeland Jago Douma
990f4a182d
More efficient group share resolving
...
When resolving a group share to the user group share we used to do this
on a per share basis. Now we try to do this for all group shares at
once. Of course still chunked.
Before: N incomming group shares this would mean 1 + N queries
Now: N incomming roups shares this would mean 1 + 1 queries
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2016-10-06 19:31:28 +02:00
Jan-Christoph Borchardt
75ec1541e4
fix log in button layout
2016-10-06 19:08:32 +02:00
Jan-Christoph Borchardt
362992903e
modify log in button style to look more like website
2016-10-06 19:05:41 +02:00
Joas Schilling
a0b34dfd2f
Merge pull request #1629 from nextcloud/cleanup-settings-application
...
Cleanup settings Application class
2016-10-06 16:57:39 +02:00
Jan-Christoph Borchardt
3141680feb
bring back dedicated log in button to make log in more usable
2016-10-06 16:48:10 +02:00
Morris Jobke
6d688e89c1
Merge pull request #1453 from nextcloud/do-not-reload-if-connection-lost
...
do not reload the page if the server is (temporarily) unreachable
2016-10-06 14:58:02 +02:00
Morris Jobke
ead4cb92b6
Merge pull request #1562 from nextcloud/log-version
...
log version number in each log line
2016-10-06 14:44:08 +02:00
Morris Jobke
b05c1f35f8
Merge pull request #1638 from nextcloud/allow-cross-repository-execution
...
Allow to call the files even when you are in another instance atm
2016-10-06 14:43:39 +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
Joas Schilling
ed30b1f645
Use our base class everywhere
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-06 14:11:04 +02:00
Joas Schilling
b130a0ee09
phpunit min version is 4.8
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-06 14:07:32 +02:00
Joas Schilling
ccc29a3da2
Fix tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2016-10-06 14:05:52 +02:00
Vincent Petry
626daabb56
Prefilter inaccessible shares in DefaultShareProvider::getSharedWith()
...
The DefaultShareProvider now does a DB-level check to find out whether
file_source is accessible at all (deleted file) or whether it's in the
trashbin of a home storage.
One small corner case where the home storage id is in md5 form cannot
be covered properly with this approach.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-06 13:57:58 +02:00
Sergio Bertolín
01393592eb
Adding type parameter because behat cannot ignore it
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-06 13:57:58 +02:00
Sergio Bertolín
7744cb5240
Orphaned shares test and some requirements
...
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-10-06 13:57:54 +02:00
Joas Schilling
4873f0800b
Merge pull request #1634 from nextcloud/fix-password-policy-hint
...
Properly catch password policy hint for personal page password changes
2016-10-06 13:26:16 +02:00
Roeland Jago Douma
8231b4a225
Merge pull request #1633 from nextcloud/update-root-certificate-list
...
Update root certificate list
2016-10-06 13:17:25 +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
Morris Jobke
8fecf8503a
Merge pull request #1229 from nextcloud/bugfix/change-password-changes
...
Bugfix/change password changes
2016-10-06 12:44:50 +02:00