Christoph Wurst
d9accd306e
Remove OCP (re)declaration from js.js
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 15:29:18 +02:00
Christoph Wurst
0f3e438f7c
Move OC.theme to the bundle and deprecate oc_defaults
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 11:14:29 +02:00
Christoph Wurst
2f5df9387d
Deprecate OC.fileIsBlacklisted and move it to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 10:07:56 +02:00
Christoph Wurst
6a8bc02b16
Move OC.addTranslations to the bundle and deprecate it
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 09:37:26 +02:00
Christoph Wurst
9aeed859c4
Move OC host/port/protocol helpers to the bundle and deprecate them
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 08:36:54 +02:00
Christoph Wurst
6b46d9f2e5
Move OC.getCapabilities to the bundle and deprecate OC._capabilities, oc_capabilities
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-13 21:30:01 +02:00
Christoph Wurst
a5ec4a9af4
Move l10n functions to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-13 18:42:49 +02:00
Christoph Wurst
e3ae7dc115
Move path helpers to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-13 16:37:38 +02:00
Christoph Wurst
c624c102a6
Move OC.requestToken to the bundle, deprecate oc_requesttoken
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-13 08:27:43 +02:00
Christoph Wurst
51d49c3134
Move initCore to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-10 13:47:21 +02:00
Christoph Wurst
73f9f15607
Move the legacy OC.addScript and OC.addStyle helpers to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-08 19:58:43 +02:00
Christoph Wurst
278c281cc9
Deprecate oc_current_user, fix usage and move currentUser to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-08 09:44:51 +02:00
Christoph Wurst
b2165059d4
Move OC legacy menu helpers to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-08 08:34:32 +02:00
Morris Jobke
049b92b078
Merge pull request #15420 from nextcloud/refactor/oc-constants-bundle-II
...
Move rest of contant-like OC props to the bundle
2019-05-07 22:20:37 +02:00
John Molakvoæ (skjnldsv)
9dffc56541
Properly set Edge < 16 as incompatible with css vars
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-07 18:30:16 +02:00
Christoph Wurst
944364d866
Move rest of contant-like OC props to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-07 18:11:08 +02:00
Morris Jobke
5893f218c2
Merge pull request #15414 from nextcloud/refactor/oc-constants-bundle
...
Move OC constants to the bundle
2019-05-07 17:59:12 +02:00
Roeland Jago Douma
0e9d019a14
Merge pull request #15397 from nextcloud/fix/cssvars/edge-support
...
Set Edge < 16 as incompatible with css vars
2019-05-07 16:44:31 +02:00
Christoph Wurst
dae4714c83
Move OC constants to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-07 16:25:01 +02:00
Christoph Wurst
acf0ca1541
Move OC.appswebroots to the bundle and deprecate oc_appswebroots
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-07 14:03:14 +02:00
Christoph Wurst
ae8959af74
Move OC.get and OC.set to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-07 09:22:47 +02:00
Christoph Wurst
249a5dbdba
Move oc_webroot, OC.webroot and OC.getRootPath() to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-06 17:55:30 +02:00
John Molakvoæ (skjnldsv)
d51dae922a
Set Edge < 16 as incompatible with css vars
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-06 17:44:10 +02:00
Christoph Wurst
42be4b7765
Move oc_appconfig/OC.appConfig to the main bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-06 13:36:23 +02:00
Christoph Wurst
6095ef2235
Move oc_debug to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-06 10:12:47 +02:00
Christoph Wurst
d68be1ae4d
Deprecate oc_isadmin and move OC.isUserAdmin() to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-03 15:49:49 +02:00
Christoph Wurst
766ba99f21
Move the OC routing helper functions to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-02 11:30:00 +02:00
Christoph Wurst
9b79aa664d
Move oc_config to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-02 09:42:32 +02:00
Christoph Wurst
e7a190179f
Change oc_config usage to OC.config
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-02 08:46:43 +02:00
Christoph Wurst
35d8e7a4e0
Move OC.dialogs to the main bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-04-30 11:11:24 +02:00
Christoph Wurst
1ee03bd683
Move OC navigation methods to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-04-29 17:55:27 +02:00
Christoph Wurst
0871b9acff
Do not inject a #app-navigation-toggle if there is already one
...
This allows apps to ship their own, as in some cases the #app-content
element does not exist on page load and therefore the injection fails
and the icon is missing afterwards.
Fixes https://github.com/nextcloud/server/issues/14956
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-04-10 14:08:55 +02:00
Roeland Jago Douma
53a266060f
Fix OC.addStyle and OC.addScript
...
With the move to the bundles a comment tag was not removed. So the
loaded array was undefined.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-05 15:24:54 +01:00
Christoph Wurst
ab73c9c328
Move global helper functions to the bundle and deprecate some of them
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-01 09:15:30 +01:00
Christoph Wurst
0d43ef06f5
Add OC.Util to the server bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-01 08:25:01 +01:00
Christoph Wurst
9de02d3267
Move OC.PasswordConfirmation to the server bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-01 08:24:13 +01:00
Christoph Wurst
dbfa8b65a1
Move OC.search to the server bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-01 08:22:49 +01:00
Christoph Wurst
3d1a3b6644
Move OC.Plugin to the server bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-01 07:58:07 +01:00
Christoph Wurst
4846aea951
Move OC.msg to the server bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-01 07:56:38 +01:00
Christoph Wurst
4fcadd27b0
Move OC.Notification to the server bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-01 07:55:16 +01:00
Christoph Wurst
bdea197523
Move custom polyfills to the server bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-31 19:07:39 +01:00
Christoph Wurst
6c47f09d60
Remove unused OC._matchMedia helper
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-31 09:15:13 +01:00
Morris Jobke
681437d23d
Merge pull request #12785 from nextcloud/head-menu-half-height-fix
...
Unify headers menu design, fix click area
2019-01-30 16:25:30 +01:00
Christoph Wurst
3ced9cd83d
Move jQuery plugins into modules and add them to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-29 11:07:48 +01:00
John Molakvoæ (skjnldsv)
bb9e282e95
Unify headers menu design, fix click area
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-01-29 08:12:03 +01:00
Christoph Wurst
87bc9f1fa1
Add OC and OCA namespace declarations to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-28 13:32:34 +01:00
Christoph Wurst
f0265cccf2
Respect user locale in natural sort comparator
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-22 10:16:40 +01:00
Julius Härtl
a86ee002bc
Watch for changes with css variables polyfill
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-01-17 10:35:23 +01:00
Julius Härtl
a36604d2ec
Add public API for loading js files asynchronously
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-01-17 10:35:19 +01:00
Jan-Christoph Borchardt
2824622feb
Fix dialogs, button position
...
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-11-30 16:11:33 +01:00