Benjamin Brahmer
1f8880c8de
Revert Add Vue and ng-vue packages
...
This reverts commits:
8809bb2c56
d2a5c26ee1
3344431a9b
83cdcb016b
36d304ec76
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
2021-09-02 11:32:44 +02:00
mormegil
34c1f5c7a5
Fix favicon element making broken requests
...
The markup for favicon `<img>` element in feed item used `src` instead of
`ng-src`, causing browser to make broken requests for
`.../apps/news/%7B%7B%20::Content.getFeed(item.feedId).faviconLink%20%7D%7D`
Changing the attribute to `ng-src` fixed that.
Signed-off-by: mormegil <mormegil@centrum.cz>
2021-08-23 17:44:41 +02:00
Alec Kojaev
65c15dac38
Reimplement relative time formatting as a filter, dropping dependency on deprecated moment.js
...
Signed-off-by: Alec Kojaev <alec@kojaev.name>
2021-07-24 14:52:34 +02:00
Tucker McKnight
36d304ec76
Use front-end translation function
...
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-07-19 14:58:49 +02:00
Tucker McKnight
83cdcb016b
Add a Vue component, remove extras
...
Fixes the problem of the vue components directory not
existing. Also removed the demo components that were
not meant to be committed.
Signed-off-by: Tucker McKnight <tucker.mcknight@gmail.com>
2021-07-19 14:58:49 +02:00
Tucker McKnight
8809bb2c56
Add Vue and ng-vue packages
...
Also adds related parts for compiling Vue components
into the existing Javascript bundle.
Signed-off-by: Tucker McKnight <tucker.mcknight@gmail.com>
2021-07-19 14:58:49 +02:00
Marco Nassabain
b0b08326a8
🩹 Fix rebase issues
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Nicolas Wendling
acd944a6ef
🎨 twitter / facebook / mail share - removed the mail intro and set sizes into vars
...
Signed-off-by: Nicolas Wendling <nicolas.wendling1011@gmail.com>
2021-04-08 23:17:31 +02:00
cherguimalih
b9fec49b66
✨ ShareController : Add intro in links
...
Signed-off-by: cherguimalih <ilyes.chergui-malih@etu.unistra.fr>
2021-04-08 23:17:31 +02:00
Marco Nassabain
31c4e2830a
🧹 Cleanup css
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
7be636f26a
💄 Hide social media sharing if apps disabled
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
f6a5b8e29a
💄 Update dropdown: center checkmark
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
3494e60290
✨ Shared items: show sharer display name
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Nicolas Wendling
19b7d6ad7d
🐛 Fix broken commit
...
Signed-off-by: Nicolas Wendling <nicolas.wendling1011@gmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
299c3428e1
✨ Share dropdown: catch sharee api error, show msg
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Nicolas Wendling
ffa476190f
♻️ use Share.getEmailUrl method to share an article via an email.
...
Signed-off-by: Nicolas Wendling <nicolas.wendling1011@gmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
a8c928b316
♻️ 💄 Refactor dropdown + fix opacity + realign
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Aurélien
77d7cfb797
Fix li dropdown
...
Signed-off-by: Aurélien <dav.aurelien@gmail.com>
2021-04-08 23:17:31 +02:00
Aurélien
4780e8c369
Fix dropdown in compact view
...
Signed-off-by: Aurélien <dav.aurelien@gmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
00f2fbcfd2
🚑 Fix HTML tags error + indentation
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
d95e7c3f43
💡 part.content.php: Fix indentation
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
996197d7ae
🔀 Fix latest broken merge
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Aurélien
2e316f8f64
Add directive ClickOutside for hide dropdown
...
Signed-off-by: Aurélien <dav.aurelien@gmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
792082e2e0
✨ Social share: show if socialsharing app active
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Aurélien
1da543a702
Add function getFacebookUrl and getTwitterUrl
...
Signed-off-by: Aurélien <dav.aurelien@gmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
3d9027a914
✨ ShareController: catch share error & display ❌
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
3a02101e66
♻️ ShareController: refactor dictionary + fncts
...
- 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 23:17:31 +02:00
Marco Nassabain
f7820fffd0
💄 News Item: make sharedBy name unclickable
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
467b4dea57
💄 News Item: fix appearance for shared items
...
- if the article has no author and is shared it's displayed as:
"shared by ..." instead of "- shared by ..."
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
7bde786c8c
♻️ Refactor dropdown menu code
...
- reorder html tags
- fix indentation
- adapt css to changes
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Aurélien
75a71cce78
Change display name in dropdown share
...
Signed-off-by: Aurélien <dav.aurelien@gmail.com>
2021-04-08 23:17:31 +02:00
Aurélien
caa847fa32
Add traduction for body in share by mail
...
Signed-off-by: Aurélien <dav.aurelien@gmail.com>
2021-04-08 23:17:31 +02:00
Aurélien
76dfa014ea
Add traduction subject sharing by mail
...
Signed-off-by: Aurélien <dav.aurelien@gmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
099ec7f418
✨ Show shared_by in every view
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
04cf2672c3
🎨 Adapt front-end to match new implementation
...
- remove share-specific code since new solution uses dummy feeds
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Nicolas Wendling
088ebcc63a
🎨 Load icons from the server and delete SVGs
...
Signed-off-by: Nicolas Wendling <nicolas.wendling1011@gmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
ce1db3f5dc
✏️ Cleanup part.content.php + fix typo
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
a77cdad828
💄 Update dropdown style
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
9876441799
✏️ Updated labels (interface)
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
2e921f64db
✏️ Remove placeholder share link
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Jimmy Huynh
a6dba240c9
(+) ui : dropdown on click (i.t of hover)
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Jimmy Huynh
63dddc342e
(+) checkmark on sent users
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Jimmy Huynh
c35bdeba20
(+) ui > anchor > target new tab
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Jimmy Huynh
eff6468090
(+) ui > social networks in row
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Jimmy Huynh
a3eed6507d
(+) adding UI when no contact has been found & icon user on contact
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Jimmy Huynh
660173c428
(+) Ergonomy improvement
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Aurélien
7609fdbabf
Add Loading for searchUser and share
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Jimmy Huynh
a78287a777
(+) Blocking multiple sharing request to the same user
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
ELHADDAD Hamza
b5df8bbec9
traduction
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Jimmy Huynh
4940897b33
(+) adding tempo to autocomplete
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00