Commit Graph

1854 Commits

Author SHA1 Message Date
Morris Jobke 466ebf8974 Merge pull request #1654 from nextcloud/backport-1643-stable10
[stable10] cache loginName2UserName and cover the method with unit tests
2016-10-10 09:15:25 +02:00
Nextcloud bot e6cb73d70d
[tx-robot] updated from transifex 2016-10-08 00:06:59 +00:00
Arthur Schiwon 0898cfce98
make tests php 5.4 / phpunit 4.8 compatible
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2016-10-07 16:11:24 +02:00
Arthur Schiwon 005d264d60
Backport of #1643 to stable10
get rid of test warnings

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

cache loginName2UserName and cover the method with unit tests

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

adjust tests

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2016-10-07 13:51:36 +02:00
Nextcloud bot 7dc0de8cb1
[tx-robot] updated from transifex 2016-10-01 00:08:30 +00:00
Nextcloud bot ad9b154700
[tx-robot] updated from transifex 2016-09-28 00:10:27 +00:00
Nextcloud bot c6e770959f
[tx-robot] updated from transifex 2016-09-23 00:09:51 +00:00
Nextcloud bot 28ad84cc19
[tx-robot] updated from transifex 2016-09-22 00:11:39 +00:00
Nextcloud bot 8c4e5a923a
[tx-robot] updated from transifex 2016-09-08 00:10:28 +00:00
Nextcloud bot 9bd40755ef
[tx-robot] updated from transifex 2016-09-07 00:09:32 +00:00
Nextcloud bot e9d0520788
[tx-robot] updated from transifex 2016-09-06 00:09:25 +00:00
Nextcloud bot 1193d8d1b4
[tx-robot] updated from transifex 2016-09-05 00:09:16 +00:00
Nextcloud bot e6c8c33b03
[tx-robot] updated from transifex 2016-09-01 00:09:31 +00:00
Roeland Jago Douma a3c5aefc96
Add viewBox to app icons
If we don't add a viewbox a lot of browsers will just say NOPE!!! when
we ask them to scale.
2016-08-17 16:27:04 +02:00
Nextcloud bot 4470ab36bb
[tx-robot] updated from transifex 2016-08-17 13:32:21 +00:00
Lukas Reschke 436e6c1078
Use MockBuilder instead of createMock
CI uses an older PHPUnit
2016-08-16 21:10:47 +02:00
Lukas Reschke 687f5bee94
Add unit tests 2016-08-16 21:10:41 +02:00
Arthur Schiwon d056f575c9
change casing in section display names 2016-08-16 21:10:04 +02:00
Arthur Schiwon 0c86f69626
superfluous 2016-08-16 21:08:22 +02:00
Arthur Schiwon e37db63e47
rename IAdmin to ISettings, the interface is not bound to a specific settings scope 2016-08-16 21:05:54 +02:00
Arthur Schiwon 2e9794f53e
more admin page splitup improvements
* bump version to ensure tables are created
* make updatenotification app use settings api
* change IAdmin::render() to getForm() and change return type from Template to TemplateResponse
* adjust User_LDAP accordingly, as well as built-in forms
* add IDateTimeFormatter to AppFramework/DependencyInjection/DIContainer.php. This is important so that \OC::$server->query() is able to resolve the
constructor parameters. We should ensure that all OCP/* stuff that is available from \OC::$server is available here. Kudos to @LukasReschke
* make sure apps that have settings info in their info.xml are loaded before triggering adding the settings setup method
2016-08-16 21:05:11 +02:00
Arthur Schiwon a548902d5f
Fallback for legacy settings. They are placed into Additional Settings 2016-08-16 21:04:41 +02:00
Arthur Schiwon d01689037d
Initial work on Apps page split:
* interfaces for the Admin settings (IAdmin) and section (ISection)
* SettingsManager service
* example setup with LDAP app
2016-08-16 21:04:22 +02:00
Joas Schilling 7b3974501e
Increment the versions and adjust the capitilization 2016-08-08 16:48:00 +02:00
Morris Jobke 481418ff40 Merge pull request #593 from nextcloud/ldap-avoidneedlesssetemailonlogin-stable10
[stable10] Prevent setting email and triggering events at login time (#25554)
2016-08-01 18:22:20 +02:00
root aa02f518ad
Backport LDAPProvider to Nextcloud 10
New LDAPProvider for user_ldap

final changes

comments amended

Nextcloud license header for new files
2016-07-28 10:20:38 +02:00
Morris Jobke 1fc7248dae Merge pull request #591 from nextcloud/fixing-undefined-OfflineUser-composeAndStoreDisplayName-stable10
[stable10] Fix undefined OfflineUser::composeAndStoreDisplayName()
2016-07-27 15:25:31 +02:00
Vincent Petry b9266e7141
Prevent setting email and triggering events at login time (#25554)
Whenever an LDAP user also has an email address defined in LDAP, the
LDAP code will try and update the email address of the locally known
user. This happens at login time or every time the user's LDAP
attributes are processed.

There is code listening to the email setting hook which updates the
system address book, which also will trigger FS setup due to avatars
and other things.

This fix only sets the email address when really necessary.
2016-07-27 11:32:10 +02:00
Thomas Müller ac5987a017
[stable9.1] Fix undefined OfflineUser::composeAndStoreDisplayName() - fixes #23248 2016-07-27 11:21:26 +02:00
Arthur Schiwon 1013fac447
fix autoloading in LPAP integration tests, resolves #544 2016-07-26 21:06:29 +02:00
Joas Schilling 23b205ed48
Run the license script 2016-07-22 11:40:41 +02:00
Aaron Wood 7c0de08cc4
Escape special characters (#25429)
* Escape LIKE parameter

* Escape LIKE parameter

* Escape LIKE parameter

* Escape LIKE parameter

* Escape LIKE parameter

* Use correct method in the AbstractMapping class

* Change the getNamesBySearch method so that input can be properly escaped while still supporting matches

* Don't escape hardcoded wildcard
2016-07-20 14:46:47 +02:00
Nextcloud bot a84250e0af [tx-robot] updated from transifex 2016-07-08 00:09:25 +00:00
Lukas Reschke 2a1a3957b6 Merge pull request #333 from nextcloud/sync-master
Sync master
2016-07-07 19:29:43 +02:00
Juan Pablo Villafáñez 6d680bdebf Change png icons to svg 2016-07-07 15:09:28 +02:00
Morris Jobke ba16fd0d33 Merge branch 'master' into sync-master 2016-07-07 11:29:46 +02:00
Morris Jobke 5ace43f438 Revert "[tx-robot] updated from transifex"
This reverts commit 3731b2a006.

Revert "[tx-robot] updated from transifex"

This reverts commit 94d91113f1.

Revert "[tx-robot] updated from transifex"

This reverts commit e7cc8bac1e.

Revert "[tx-robot] updated from transifex"

This reverts commit 59fc3ff45a.

Revert "[tx-robot] updated from transifex"

This reverts commit 6a89a63d2e.

Revert "[tx-robot] updated from transifex"

This reverts commit b0bad03234.
2016-07-07 11:04:08 +02:00
Nextcloud bot 4a0efa38c0 [tx-robot] updated from transifex 2016-07-07 08:58:00 +00:00
Jenkins for ownCloud 38718bf89e [tx-robot] updated from transifex 2016-07-07 01:56:27 -04:00
Nextcloud bot da2363a1dd [tx-robot] updated from transifex 2016-07-06 13:28:06 +00:00
Jenkins for ownCloud 6103df97cc [tx-robot] updated from transifex 2016-07-06 01:56:27 -04:00
Vincent Petry b77fcc19d4 Merge pull request #25344 from owncloud/fix-ldap-check-user
check if renamed user is still valid by reapplying the ldap filter
2016-07-05 11:29:55 +02:00
felixboehm e901ec4941 check if renamed user is still valid by reapplying the ldap filter (#25338) 2016-07-04 14:20:08 +02:00
Jörn Friedrich Dreyer d2d2a75529 Cap LDAP user cache (#25323) 2016-07-04 13:57:15 +02:00
Jenkins for ownCloud 9e0d8fcf41 [tx-robot] updated from transifex 2016-07-04 01:56:34 -04:00
Lukas Reschke 179a355b2c Merge remote-tracking branch 'upstream/master' into master-sync-upstream 2016-07-01 11:36:35 +02:00
Jenkins for ownCloud 1b9fa4dd5f [tx-robot] updated from transifex 2016-06-30 01:55:56 -04:00
Morris Jobke 5961d5aae4 Add app:check-code for already compatible apps
* admin_audit, comments, federation
* removed not needed call to OC_Util::checkAdminUser() (is already
  done by the request handler before)
2016-06-27 16:50:10 +02:00
Lukas Reschke 7a9d60d87e
Merge remote-tracking branch 'upstream/master' into master-upstream-sync 2016-06-26 12:55:05 +02:00
Jenkins for ownCloud 3d65979f0a [tx-robot] updated from transifex 2016-06-25 01:56:48 -04:00