1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2024-11-24 13:42:47 +01:00
Commit Graph

25 Commits

Author SHA1 Message Date
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
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
Aurélien
4e9875d5c6 Reverse concat in user search
Signed-off-by: Aurélien <dav.aurelien@gmail.com>
2021-04-08 23:17:31 +02:00
Aurélien
5444bc6f3c Fix bug when search user
Signed-off-by: Aurélien <dav.aurelien@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
Marco Nassabain
0f6a0d7902 🐛 Share dropdown: only show results of most recent search
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
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
Marco Nassabain
c14fa3eaf6 💡 ShareController: add comments to new fcts
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Marco Nassabain
a86f78a0a7 🔀 Fix last broken merge
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
4fcd483030 🧹 Cleanup ShareController & ShareResource
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
Marco Nassabain
e7afafba29 🎨 Cleanup code marco in ShareController
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
Aurélien
9bfbb7c21f Fix Loading which doesn't end
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
Marco Nassabain
5342837d40 NewsItem: share with user on click (front-end)
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00
marco.nassabain@etu.unistra.fr
ea4178620b 🎨 create ShareController and moved share logic
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
2021-04-08 23:17:31 +02:00