summaryrefslogtreecommitdiffstats
path: root/core/src
Commit message (Collapse)AuthorAgeFilesLines
* Move unified search to OCS apiJoas Schilling2020-09-072-16/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Adjust acceptance tests to changes in @nextcloud/vue 2.6.3Daniel Calviño Sánchez2020-09-032-5/+2
| | | | | | | | | | | | | | | | The menu button and the menu of a share are no longer direct childs of the actions of the share row. The menu button is now a child of a ".trigger" element, while the menu is a direct child of the body and has an id defined in the "aria-describedby" attribute of the ".trigger" element. In XPath 1.0 it does not seem possible to "backreference" a value or create variables, so when the share menu or one of its item is needed now the ".trigger" element is first found and then its XPath expression is used to compose its "aria-describedby" attribute in the XPath expression for the menu. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Bump @nextcloud/vue to v2.6.3John Molakvoæ (skjnldsv)2020-09-031-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix search placeholder animation & dark theme compatibilityJohn Molakvoæ (skjnldsv)2020-09-035-167/+138
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Allow unified search filteringJohn Molakvoæ (skjnldsv)2020-09-034-7/+188
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Emit unified search queryRaimund Schlüßler2020-09-021-0/+5
| | | | | Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Declare OCA.Search directly, not via a monkey patchChristoph Wurst2020-08-313-13/+42
| | | | | | | | | | | | | | Apps could use OCA.Search very early on a page load without a problem prior to Nextcloud 20 (current master). Since the unified search work moved some code around, it now was added later, resulting in `TypeError: OCA.Search is not a constructor` errors if the apps did not wrap their calls in a `DOMLoaded` event handler. To ensure existing code continues to work without modification, this patch moves the declaration of the `OCA.Search` API to where we defined `OCA`, instead of monkey-patching it later on. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make ellipsized unified search results visible on hoverChristoph Wurst2020-08-261-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Provide from on the search query tooJoas Schilling2020-08-261-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add the missing cursor parameter to unified search requestsChristoph Wurst2020-08-262-3/+8
| | | | | | | | | | | Otherwise paginated search does not work. Basically you always requested the first x items and then showed them again and again. The second or any other subsequent page was never requested. On a side note this also caused lots of Vue warning due to duplicate keys. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix dark-theme selectorJoas Schilling2020-08-211-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Hand in the route and the parameters of the requestJoas Schilling2020-08-052-19/+13
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Make apps handle the order logicJohn Molakvoæ (skjnldsv)2020-08-052-37/+9
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Show mime icon, bump bundles, make the SearchResultEntry class ↵John Molakvoæ (skjnldsv)2020-08-044-20/+184
| | | | | | non-abstract, Fix header search icon, various fixes Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove outdated legacy search scriptsJohn Molakvoæ (skjnldsv)2020-08-043-43/+12
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix unified searchJohn Molakvoæ (skjnldsv)2020-08-037-2/+517
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Unified search UIJohn Molakvoæ (skjnldsv)2020-08-031-0/+505
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use `babel-loader-exclude-node-modules-except`John Molakvoæ (skjnldsv)2020-07-313-8/+8
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump @nextcloud/eslint-config and peersJohn Molakvoæ (skjnldsv)2020-07-316-32/+32
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump compiled filesJohn Molakvoæ (skjnldsv)2020-07-3116-75/+75
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Do not double encode the userid in webauthn loginRoeland Jago Douma2020-07-221-1/+5
| | | | | | | | * Else login fails with webauthn devices that send the userid - Like windows hello Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Use DOMContentLoaded and fix sharebymail loading issueJohn Molakvoæ (skjnldsv)2020-07-204-6/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use generateUrl and imagePath instead of OC.*Joas Schilling2020-07-141-3/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use space instead of tab inside translationJoas Schilling2020-07-141-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Up the limit for the header app menu, fix #21635Jan-Christoph Borchardt2020-07-101-2/+2
| | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Fix parsing of language codeDaniel Kesselberg2020-07-091-2/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Set the moment locale even earlierChristoph Wurst2020-07-091-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix placeholder issues with multiplace spaces in the nameJulius Härtl2020-07-091-1/+1
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Make closing dialogs callback with falseGary Kim2020-06-302-0/+3
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Fix export for davclient.js legacy dependencyJulius Härtl2020-06-242-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Darker background for dark modeJoas Schilling2020-06-161-1/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add darkmode support for the modal backgroundJoas Schilling2020-06-151-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make the confirm dialog modal by defaultJoas Schilling2020-06-151-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix modal support for vue appsJoas Schilling2020-06-151-1/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #21254 from nextcloud/td/js/remove/_capabilitiesRoeland Jago Douma2020-06-061-2/+1
|\ | | | | Actually remove _capabilities
| * Actually remove _capabilitiesRoeland Jago Douma2020-06-051-2/+1
| | | | | | | | | | | | Leftover from a previous PR. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix linting on systemtags and use @nextcloud/routerRoeland Jago Douma2020-06-052-5/+7
|/ | | | | | | Makes the linter happy. And thus me a bit happy since it now is complaining less. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not import the full OC since we don't need itRoeland Jago Douma2020-06-051-3/+2
| | | | | | | Import what we need. Saves off a bunch of bytes of the bundle (600 kilobytes to be exact) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move humanFileSize and OC.getCanonicalLocale to npm packagesChristoph Wurst2020-06-054-64/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* OC.routing is just a @nextcloud/routing proxyRoeland Jago Douma2020-06-043-154/+7
| | | | | | So lets kill the duplicate code! Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix some linter warningRoeland Jago Douma2020-06-024-4/+9
| | | | | | | Part of my ongoing battle against deprecation messages. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Move to @nextcloud/capabilities packageRoeland Jago Douma2020-05-292-3/+5
| | | | | | And kill of oc_capabilities and _oc_capabilities globals Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove the escape-html globalRoeland Jago Douma2020-05-291-2/+0
| | | | | | | Already announced for 19 that it would go. So now it realy does go. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Move the systemtags to core/srcRoeland Jago Douma2020-05-289-0/+769
| | | | | | | * Move to the handlebar loader from webpack Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Make the translation sanitization optionalChristoph Wurst2020-05-271-8/+10
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update hub bundle and add proxy rule to htaccessJulius Härtl2020-05-251-3/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move core/js/files to webpackRoeland Jago Douma2020-05-224-2/+1269
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* compress some images with tinypng.comRuben Barkow-Kuder2020-05-223-0/+0
| | | | | Signed-off-by: Ruben Barkow-Kuder <github@r.z11.de> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Deprectae OC.Util.formatDate and OC.Util.relativeModifiedDateRoeland Jago Douma2020-05-151-0/+2
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Remove the long deprecated jQuery tipsyChristoph Wurst2020-05-142-86/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>