Dennis Müller and Sean Molenaar
dbf6db8bff
Update shortcuts
...
Shortcut "q" is not supported anymore as stated in https://github.com/nextcloud/news/issues/1613#issuecomment-991891468
Shortcuts "c" and "v" seemed to have swapped descriptions.
Signed-off-by: Dennis Müller <dennis.mueller@bib.uni-mannheim.de >
2022-02-21 17:31:49 +01:00
Greg and Sean Molenaar
c7a265fedf
Update add folder and unread feed icons
...
Give both add folder and unread feed icons their own unique icons instead of sharing them with subscribe and all articles.
Signed-off-by: Greg Ross <greg@toolstack.com >
2021-10-21 16:02:34 +02:00
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 and Sean Molenaar
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 and Sean Molenaar
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 and Benjamin Brahmer
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 and Benjamin Brahmer
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 and Benjamin Brahmer
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
Benjamin Brahmer
cfd9ad6c0a
fix missing "
...
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
2021-05-23 19:37:06 +02:00
Benjamin Brahmer
11483b5221
fix broken link
...
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
2021-05-22 12:06:56 +02:00
Benjamin Brahmer and anoy
79e469fd33
Refactor News documentation with mkdocs and mkdocs-material
...
- move all pages to new structure
- use gh-pages to host html version
- use github actions for automatic build
Co-authored-by: anoy <anoymouserver+github@mailbox.org >
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de >
2021-05-19 14:58:29 +02:00
Marco Nassabain and Sean Molenaar
b0b08326a8
🩹 Fix rebase issues
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 23:17:31 +02:00
Nicolas Wendling and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
31c4e2830a
🧹 Cleanup css
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 23:17:31 +02:00
Marco Nassabain and Sean Molenaar
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 and Sean Molenaar
f6a5b8e29a
💄 Update dropdown: center checkmark
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 23:17:31 +02:00
Marco Nassabain and Sean Molenaar
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 and Sean Molenaar
19b7d6ad7d
🐛 Fix broken commit
...
Signed-off-by: Nicolas Wendling <nicolas.wendling1011@gmail.com >
2021-04-08 23:17:31 +02:00
Marco Nassabain and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
77d7cfb797
Fix li dropdown
...
Signed-off-by: Aurélien <dav.aurelien@gmail.com >
2021-04-08 23:17:31 +02:00
Aurélien and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
996197d7ae
🔀 Fix latest broken merge
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 23:17:31 +02:00
Aurélien and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
a77cdad828
💄 Update dropdown style
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 23:17:31 +02:00
Marco Nassabain and Sean Molenaar
9876441799
✏️ Updated labels (interface)
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 23:17:31 +02:00
Marco Nassabain and Sean Molenaar
2e921f64db
✏️ Remove placeholder share link
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 23:17:31 +02:00
Jimmy Huynh and Sean Molenaar
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 and Sean Molenaar
63dddc342e
(+) checkmark on sent users
...
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com >
2021-04-08 23:17:31 +02:00
Jimmy Huynh and Sean Molenaar
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 and Sean Molenaar
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 and Sean Molenaar
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