Commit graph

44333 commits

Author SHA1 Message Date
John Molakvoæ (skjnldsv)
325403ac24
Design fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-28 17:28:27 +02:00
Georg Ehrke
8c73b13ac8
move locales file to /resources/
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-06-27 21:52:19 +02:00
Georg Ehrke
b17d256761
fix use of findLocale
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-06-27 21:52:19 +02:00
Georg Ehrke
9157086c23
properly handle force_locale setting
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-06-27 21:52:19 +02:00
Georg Ehrke
b3921c65a6
cache available locales to minimize fs access
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-06-27 21:52:19 +02:00
Georg Ehrke
51a35c23f6
fix camelCase for localesForLanguage
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-06-27 21:52:18 +02:00
Georg Ehrke
3ffeb4ae06
fix tests / mistakes made during rebase
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-06-27 21:52:04 +02:00
Georg Ehrke
0cacdd3132
show locale example and apply new locale right away
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-06-27 13:19:50 +02:00
Georg Ehrke
fd41192bb4
fix OC.getLocale()
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-06-27 13:19:49 +02:00
Georg Ehrke
9af82296c7
fix position of locale input
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-06-27 13:19:48 +02:00
Thomas Citharel
bf6bfad76b
OC.getLocale() now returns Locale and no longer Language
Added OC.getLanguage() to get Language
<html lang=''> still gets language, though according to IETF BCP47 locale should be good.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-27 13:19:40 +02:00
Thomas Citharel
7d8124ad66
add findLocale() to public interface
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-27 13:19:23 +02:00
Thomas Citharel
abab7eb7f0
handle config.php values
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-06-27 13:19:23 +02:00
Thomas Citharel
4a9f8623b5
Fix review & tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-27 13:19:21 +02:00
Thomas Citharel
93011579fe
Add tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-27 13:17:43 +02:00
Thomas Citharel
ea380b2918
Allow apps to specify locale for localisation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-27 13:17:26 +02:00
Thomas Citharel
d8921ccd85
Allow user to choose locale
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-27 13:15:19 +02:00
Roeland Jago Douma
221f558f66
Merge pull request #10016 from nextcloud/dependabot/npm_and_yarn/apps/accessibility/webpack-4.12.2
Bump webpack from 4.12.1 to 4.12.2 in /apps/accessibility
2018-06-27 12:47:53 +02:00
Roeland Jago Douma
719f62b9c9
Merge pull request #10013 from nextcloud/dependabot/npm_and_yarn/apps/oauth2/webpack-4.12.2
Bump webpack from 4.12.1 to 4.12.2 in /apps/oauth2
2018-06-27 12:47:08 +02:00
Morris Jobke
e4e3387417
Merge pull request #10009 from nextcloud/techdebt/noid/replace-headers-with-http_response_code-calls
Replace hard coded HTTP status codes with proper calls to http_response_code
2018-06-27 12:14:52 +02:00
Morris Jobke
d984be7e2a
Merge pull request #10019 from nextcloud/accessibility-skip-translatable
Make skip navigation links translatable
2018-06-27 12:09:56 +02:00
Nextcloud bot
46b62ff579
[tx-robot] updated from transifex 2018-06-27 10:06:12 +00:00
Jan-Christoph Borchardt
4afdf922f2
Make skip navigation links translatable
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-06-27 11:37:08 +02:00
dependabot[bot]
fab3377ebb
Bump webpack from 4.12.1 to 4.12.2 in /apps/accessibility
Bumps [webpack](https://github.com/webpack/webpack) from 4.12.1 to 4.12.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.12.1...v4.12.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-27 09:17:57 +00:00
dependabot[bot]
e7cc2dd01c
Bump webpack from 4.12.1 to 4.12.2 in /apps/oauth2
Bumps [webpack](https://github.com/webpack/webpack) from 4.12.1 to 4.12.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.12.1...v4.12.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-27 09:17:55 +00:00
Julius Härtl
81ad19b4e2
Merge pull request #10015 from nextcloud/dependabot/npm_and_yarn/apps/updatenotification/webpack-4.12.2
Bump webpack from 4.12.1 to 4.12.2 in /apps/updatenotification
2018-06-27 11:15:34 +02:00
dependabot[bot]
08aebce923
Bump webpack from 4.12.1 to 4.12.2 in /apps/updatenotification
Bumps [webpack](https://github.com/webpack/webpack) from 4.12.1 to 4.12.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.12.1...v4.12.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-27 08:08:42 +00:00
John Molakvoæ
3d44c1e6ac
Merge pull request #10014 from nextcloud/dependabot/npm_and_yarn/settings/webpack-4.12.2
Bump webpack from 4.12.1 to 4.12.2 in /settings
2018-06-27 10:06:37 +02:00
dependabot[bot]
11853855ee
Bump webpack from 4.12.1 to 4.12.2 in /settings
Bumps [webpack](https://github.com/webpack/webpack) from 4.12.1 to 4.12.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.12.1...v4.12.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-27 07:32:56 +00:00
Nextcloud bot
a6666071be
[tx-robot] updated from transifex 2018-06-27 00:11:52 +00:00
Morris Jobke
e9001fecb6
Merge pull request #10005 from nextcloud/group-exists-error
show error message when group exists
2018-06-26 17:35:55 +02:00
Morris Jobke
2b8a4f1aeb
Merge pull request #10007 from nextcloud/feature/noid/oauth_valid_redirect_uri
Validate OAuth2 redirect uri
2018-06-26 17:31:54 +02:00
Roeland Jago Douma
555de27567
Validate OAuth2 redirect uri
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-06-26 16:15:53 +02:00
Morris Jobke
b0a296e2e1
Do not use HTTP code OC_Response constants anymore
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-06-26 16:14:15 +02:00
Morris Jobke
79d9841bce
Replace hardcoded status headers with calls to http_response_code()
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-06-26 16:14:15 +02:00
Morris Jobke
d9d557a5ef
Merge pull request #10004 from nextcloud/accessibility-skip
Add skip navigation / skip to content links for accessibility
2018-06-26 16:11:19 +02:00
Morris Jobke
cfb50fdeaf
Merge pull request #10006 from nextcloud/group-exists-details
Fix groupExists when a backend provides group details
2018-06-26 16:09:53 +02:00
Roeland Jago Douma
890cd746e4
Merge pull request #10003 from nextcloud/accessibility-package-deps-fix
Fix deps security
2018-06-26 15:29:49 +02:00
Robin Appelman
290b5b5461
show error message when group exists
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-06-26 15:00:54 +02:00
Robin Appelman
605ba57086
Fix groupExists when a backend provides group details
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-06-26 15:00:08 +02:00
Jan-Christoph Borchardt
de5d5ee0e7
Add skip navigation / skip to content links
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-06-26 14:26:30 +02:00
Morris Jobke
43f7ea5852
Merge pull request #10002 from nextcloud/docs/noid/phpdoc-putContent-resource
Add resource type phpDoc for putContent methods
2018-06-26 13:59:21 +02:00
Julius Härtl
73cf71a20f
Add resource type phpDoc for putContent methods
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-06-26 13:58:58 +02:00
John Molakvoæ (skjnldsv)
66f71ac42e
Fix deps security
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-26 13:49:33 +02:00
Roeland Jago Douma
beea287516
Merge pull request #10000 from nextcloud/dependabot/npm_and_yarn/apps/accessibility/webpack-4.12.1
Bump webpack from 4.12.0 to 4.12.1 in /apps/accessibility
2018-06-26 13:48:39 +02:00
Robin Appelman
3281c74bc1
Merge pull request #9635 from nextcloud/smb-kerberos
Add support for using kerberos ticket to authenticate to smb servers
2018-06-26 13:21:40 +02:00
dependabot[bot]
77e39493ce
Bump webpack from 4.12.0 to 4.12.1 in /apps/accessibility
Bumps [webpack](https://github.com/webpack/webpack) from 4.12.0 to 4.12.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.12.0...v4.12.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-26 10:56:20 +00:00
Roeland Jago Douma
c4ef8acce7
Merge pull request #9999 from nextcloud/dependabot/npm_and_yarn/apps/accessibility/webpack-cli-3.0.8
Bump webpack-cli from 3.0.4 to 3.0.8 in /apps/accessibility
2018-06-26 12:54:45 +02:00
Morris Jobke
1bb552761b
Merge pull request #9995 from nextcloud/bugfix/noid/error-page-with-500-http-code
Server error/hint pages with a 500 error code to avoid it being seen …
2018-06-26 12:30:37 +02:00
dependabot[bot]
78e6324b69
Bump webpack-cli from 3.0.4 to 3.0.8 in /apps/accessibility
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.0.4 to 3.0.8.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.0.4...v3.0.8)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-26 10:07:52 +00:00