John Molakvoæ (skjnldsv)
287393609d
Fix ie app menu loading click
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-08-06 16:17:00 +00:00
Julius Härtl
3b0d13944a
Move actual password reset to vue
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-31 09:19:07 +02:00
Daniel Calviño Sánchez
03f2e8a10e
Fix default timeouts in OC.Notification
...
When no timeout was given "show()" used the default timeout of
"OCP.Toast", which is 7 seconds instead of indefinitely as stated in the
documentation of "show()". "showHtml()" should also indefinitely show
the notification if no timeout is given, but due to the strict
comparison the notification was indefinitely shown only when a timeout
of 0 was explicitly given. Now both methods show the notification
indefinitely (or until it is explicitly hidden) when no timeout is
given.
The unit tests did not catch this error because "showHtml()" had no
tests (as before the move to Toastify it was called from "show()" and
thus implicitly tested), and because "show()" verified that "hide()" was
not called after some time; "hide()" is no longer called from "show()"
since "OCP.Toast" is used internally, so the test always passed even if
the notification was indeed hidden. Now the test is based on whether the
element is found or not, and explicit tests were added too for
"showHtml()".
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-07-26 18:46:59 +02:00
Daniel Calviño Sánchez
916c95758f
Rename parameter in OCP.Toast for consistency with OC.Notification
...
This fixes HTML messages in "OC.Notification.showTemporary" (as
"showHtml" was not set based on "isHTML"), and also makes OCP.Toast to
keep the old OC.Notification API when used directly.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-07-12 16:15:05 +02:00
Phie
8fa2d70e9e
adding toggle password to be able to see it
...
Signed-off-by: Phie <phie@phie.ovh>
2019-07-09 10:54:21 +02:00
Akshala Bhatnagar
4bd639640b
Update core/src/components/login/ResetPassword.vue
...
Co-Authored-By: Julius Härtl <jus@bitgrid.net>
2019-07-07 20:17:23 +02:00
Akshala Bhatnagar
4cf360270f
changed the text for reset password
...
Signed-off-by: Akshala Bhatnagar <akshala.bhatnagar@gmail.com>
2019-07-07 20:16:56 +02:00
Christoph Wurst
e9860c89ca
Show contacts app mgmt link in contacts menu
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-27 09:33:27 +02:00
Christoph Wurst
409acf1131
Fix js l10n registration to also work with more than one bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-26 10:07:21 +02:00
Christoph Wurst
ac0e414a18
Deprecate window.location wrappers for redirect and reload
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-25 21:39:37 +02:00
Julius Härtl
e76a926ea7
Temporary fix for project translations
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-11 19:12:33 +02:00
Julius Härtl
6d848b545d
Adjust jsunit tests for new toast library
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-07 07:32:48 +02:00
Julius Härtl
2d0337332d
Add toastify js as a OC.Notification replacement
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-07 07:32:16 +02:00
nacho
3c30d293fa
CSS: adjust media query breakpoint to improve tablet readability
...
see https://github.com/nextcloud/news/pull/467
2019-05-30 08:28:30 +02:00
Christoph Wurst
64c4bb5bce
Vueify the login page
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-29 11:05:16 +02:00
Robin Appelman
1799e1acaf
dont use deprecated oc_config in url generation
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-05-20 14:01:14 +02:00
Christoph Wurst
0cfcccee29
Migrate the maintenance script to a modern module and bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-16 16:45:00 +02:00
Christoph Wurst
ab72bd64f5
Move legacy Ajax error handling logic to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-15 10:40:15 +02:00
Christoph Wurst
07699c199d
Move OC.appSettings to the bundle and deprecate it
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 22:00:22 +02:00
Christoph Wurst
291c4a121e
Move query string helpers to the bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-14 18:18:31 +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
Joas Schilling
fc1987b8c4
Revert displayName casing
...
Regression from 278c281cc9
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-11 10:35:58 +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
3cda6237ef
Do not show deprecation warnings during test runs
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-09 18:10:24 +02:00
John Molakvoæ (skjnldsv)
d6710b597b
Fix mobile vertical scrolling
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-05-09 10:18:15 +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
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
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
3cc8c9b769
Create a login bundle for login page scripts
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-05-07 14:28:31 +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
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
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
Julius Härtl
b479af83f0
Use label from apps
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-09 08:30:48 +02:00
Julius Härtl
e1ae0d1a6e
Rename collections to projects
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-04-09 08:30:48 +02:00
Julius Härtl
635df15ff2
Move translations to core
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-28 15:47:19 +01:00
Julius Härtl
8a26022f92
Adjust resource type to file
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-19 13:06:55 +01:00
John Molakvoæ (skjnldsv)
b4dd12e50c
Deprecate marked, escapeHTML, formatDate, getURLParameter, humanFileSize, relative_modified_date and select2
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-03-15 16:40:08 +01:00
Morris Jobke
e58d5721a4
Fix behaviour of plural default rule
...
* undefined and empty string should trigger the default plural form
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-15 01:19:43 +01:00
Joas Schilling
a0792137cf
Rename the variable aswell
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-12 13:48:05 +01:00
Joas Schilling
c9026fc75c
Fix plural rule detection for languages
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-11 15:19:23 +01:00
Julius Härtl
496a668bd4
Add wrapper for removed tooltip functions
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-07 10:48:26 +01:00
Julius Härtl
067651b715
Use tooltip dist file
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-07 10:45:47 +01:00
Julius Härtl
b2be083c5e
Fix tooltip include
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-07 10:45:47 +01:00
Julius Härtl
31340b8be9
Add icon for resource type and icons for folder/file
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:18 +01:00
Julius Härtl
53ac9bdda1
Implement frontend for search/rename
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Move to vuex
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:18 +01:00
Julius Härtl
7843b8b1fa
Adjust OCP.Collaboration
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:17 +01:00
Julius Härtl
7a4b2db2a7
Add javascript API for collaboration resources
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-01 20:56:16 +01:00
John Molakvoæ (skjnldsv)
c2aa21fd0e
Remove unneeded sidebar animation
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-02-28 16:09:33 +01:00
Julius Härtl
b4e6bffe1d
Remove/replace missing css vars
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-27 16:34:48 +01:00
Roeland Jago Douma
65964a537a
Move jquery.ocdialog.scss to bundle
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-14 13:38:24 +01:00
Roeland Jago Douma
ea951136d1
Move jquery-ui-fixes to bundle
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-14 13:31:49 +01:00
Roeland Jago Douma
31a1eb0c1f
It is getURLParameter not getUrlParameter
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-05 13:15:23 +01:00
Roeland Jago Douma
a498b72dec
Move the contactsmenu handlebars templates to the bundle
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-04 10:56:52 +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
799a0fbb78
Make chunkify an internal function to prevent context errors
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-01 08:51:46 +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
72c88c767c
Use Backbone.noConflict in the bundle as well
...
Move the patched Backbone to its own module again
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-31 08:47:30 +01:00
Christoph Wurst
0e6cb988a1
Add a key parameter to the new initial state API
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-30 16:08:08 +01:00
Christoph Wurst
9a46c9ed31
Move OCP.AppCOnfig, OCP.Comments and OCP.WhatsNew to the server bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-30 13:56:01 +01:00
Roeland Jago Douma
f30877ea7c
Provide initial state
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-29 22:21:54 +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
Christoph Wurst
d0cd0918b9
Move OC.L10n to the server bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-29 09:38:50 +01:00
Christoph Wurst
3695d02575
Move OC.EventSource to the server bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-29 09:33:16 +01:00
Christoph Wurst
8e9d259074
Move OC.AppConfig to the server bundle and add a deprecation verion
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-29 09:32:09 +01:00
Christoph Wurst
aa2ff51a12
Move OC.Contactsmenu and OC.Backbone to the server bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-29 08:40:19 +01:00
Christoph Wurst
4921359e71
Move OCA.Apps to the server bundle
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-28 15:06:01 +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
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
dependabot[bot]
cdccf906bb
Bump clipboard from 1.7.1 to 2.0.4
...
Bumps [clipboard](https://github.com/zenorocha/clipboard.js ) from 1.7.1 to 2.0.4.
- [Release notes](https://github.com/zenorocha/clipboard.js/releases )
- [Commits](https://github.com/zenorocha/clipboard.js/compare/v1.7.1...v2.0.4 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-15 10:20:10 +01:00
Christoph Wurst
07760b83fc
Use @babel/polyfill instead of es6-shim
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-14 12:08:46 +01:00
Christoph Wurst
4b5518f0e0
Remove unused 'Base64' polyfill
...
Ref https://github.com/nextcloud/server/pull/13460#issuecomment-453137318
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-11 11:39:56 +01:00
Christoph Wurst
1728075946
Bump select2 from 3.4.5 to 3.4.8
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-09 16:57:08 +01:00
Christoph Wurst
83068c39e5
Update select2, include css
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-09 15:02:01 +01:00
Christoph Wurst
15400fcf7b
Use `jquery-ui-dist` instead of `jquery-ui` to resolve an issue with effects
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-09 15:02:01 +01:00
Christoph Wurst
5bf06a19a8
Move vendored css ponyfill to npm
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-09 15:02:00 +01:00
Christoph Wurst
208788173d
Npmize (vendor) scripts
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-09 15:01:59 +01:00