summaryrefslogtreecommitdiffstats
path: root/js/controller
AgeCommit message (Collapse)Author
2021-09-02Revert Add Vue and ng-vue packagesBenjamin Brahmer
This reverts commits: 8809bb2c560c08fac4b099edaa32b23bd103725d d2a5c26ee1ca854bfb5bfd917602ad0e9d83cf86 3344431a9b0debdf8d77ea122291c4b2d2b753ee 83cdcb016b6bc2679893d5c93325f4003f8b4209 36d304ec763da893881eed1a1edd46efd4d5e571 Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-07-24Reimplement relative time formatting as a filter, dropping dependency on ↵Alec Kojaev
deprecated moment.js Signed-off-by: Alec Kojaev <alec@kojaev.name>
2021-07-19Use front-end translation functionvue-modularTucker McKnight
PHP is not parsing the Vue components, so use Nextcloud's t() Javascript function instead. This commit adds t() as a global variable on the AppController so that it can be passed into components. Also move vue-loader and vue-template-compiler to devDependencies in package.json. Signed-off-by: Tucker McKnight <tucker.mcknight@gmail.com>
2021-04-08🩹 Fix rebase issuesMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🎨 twitter / facebook / mail share - removed the mail intro and set sizes ↵Nicolas Wendling
into vars Signed-off-by: Nicolas Wendling <nicolas.wendling1011@gmail.com>
2021-04-08✨ShareController : Add intro in linkscherguimalih
Signed-off-by: cherguimalih <ilyes.chergui-malih@etu.unistra.fr>
2021-04-08💄 Hide social media sharing if apps disabledMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Reverse concat in user searchAurélien
Signed-off-by: Aurélien <dav.aurelien@gmail.com>
2021-04-08Fix bug when search userAurélien
Signed-off-by: Aurélien <dav.aurelien@gmail.com>
2021-04-08✨ Share dropdown: catch sharee api error, show msgMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🐛 Share dropdown: only show results of most recent searchMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08♻️ use Share.getEmailUrl method to share an article via an email.Nicolas Wendling
Signed-off-by: Nicolas Wendling <nicolas.wendling1011@gmail.com>
2021-04-08Add directive ClickOutside for hide dropdownAurélien
Signed-off-by: Aurélien <dav.aurelien@gmail.com>
2021-04-08✨ Social share: show if socialsharing app activeMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08💡 ShareController: add comments to new fctsMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🔀 Fix last broken mergeMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Add function getFacebookUrl and getTwitterUrlAurélien
Signed-off-by: Aurélien <dav.aurelien@gmail.com>
2021-04-08✨ ShareController: catch share error & display ❌Marco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08♻️ ShareController: refactor dictionary + fnctsMarco Nassabain
- updated dictionary structure to contain share status - divided code into functions - adapted code to match new implementation Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🧹 Cleanup ShareController & ShareResourceMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🎨 Adapt front-end to match new implementationMarco Nassabain
- remove share-specific code since new solution uses dummy feeds Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🧹 Cleanup code to match masterMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08💡 ContentController: update comments feed cacheMarco Nassabain
- shared items are still in the owners feeds - since we don't have access to those feeds, we don't cache them Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🩹 ContentController: Remove unused ShareResourceMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08(+) ui : dropdown on click (i.t of hover)Jimmy Huynh
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08(+) checkmark on sent usersJimmy Huynh
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🎨 Cleanup code marco in ShareControllerMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Fix Loading which doesn't endAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08added nextcloud routerMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08(+) isSharedUnread (depending on getSharedCount(): function doneJimmy Huynh
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08Add Loading for searchUser and shareAurélien
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08(+) Blocking multiple sharing request to the same userJimmy Huynh
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✨ Shared menu: get and show sharedCountMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🐛 Change to singlequotes - Fix build errorWENDLING NICOLAS
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08(+) sharedButtonJimmy Huynh
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08(+) Shared href navigationJimmy Huynh
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✨ NewsItem: share with user on click (front-end)Marco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🎨 create ShareController and moved share logicmarco.nassabain@etu.unistra.fr
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🎨 rename UserResource to ShareResourcemarco.nassabain@etu.unistra.fr
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🐛 Use the sharee api to get users for sharingmarco.nassabain@etu.unistra.fr
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08(+) Dynamic userlist on input changeJimmy Huynh
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08✨ added searchUsers function in ContentControllerMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🔥 Remove front-end edit from back-end prMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🔥 Remove changes from front-end for back-end prMarco Nassabain
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08🚑 Fix bug - other user feeds show for shared itemMarco Nassabain
- findAllFeeds doesn't return feeds of shared articles - Disable feed cache handling for shared items Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-02Allow directly adding a feed without going through the discovery processskiingwiz
Signed-off-by: skiingwiz <skiingwiz@gmail.com>
2021-02-22Fix incorrect article sortingTucker McKnight
Currently, an article with an ID of 1000 will show up earlier than one with ID = 900, because the IDs are being treated as strings and compared alphabetically. (1 comes before 9, and the comparison stops there.) We need to parse them as integers to ensure that 900 is less than 1000. Signed-off-by: Tucker McKnight <tucker.mcknight@gmail.com>
2020-11-09add locale-aware sorting for folders and feedsanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-04-24fixed active menu item and reload for unreadanoy
Signed-off-by: anoy <anoymouserver+github@mailbox.org>
2020-01-11Translate youtube channel and user URL into their feed (#612)SuliacLEGUILLOU
Youtube rss system is hiden inside their api to encourage account creation. I have added a step to transform automaticaly a user or a channel url like `https://www.youtube.com/user/scilabus` into its feed url: `https://www.youtube.com/feeds/videos.xml?user=scilabus` Signed-off-by: s18alg <s18alg@protonmail.com>