77 Commits

Author SHA1 Message Date
Pau Ferrer Ocaña
afce5d28b1 MOBILE-3519 forum: Use WS mod_forum_get_discussion_posts when available 2020-09-15 09:57:45 +02:00
Pau Ferrer Ocaña
6c894a8abe MOBILE-3519 forum: Use forumid and courseid from WS 2020-09-14 13:16:14 +02:00
sam marshall
d0c93f6416 MOBILE-3188 Web services: Record component that owns WS cache item
This commit adds optional component and componentId fields to the
preSets variable, which are recorded in the wscache table.

These are then used by (a) core site plugins where a module cmid
is available, and (b) the forum (as an example core implementation)
so that module site plugins and forum provide the new data.

(Note that this is not going to be very useful where we retrieve
data for multiple activities at once, which happens for activities
like Page. Still, it is optional.)
2020-09-02 10:21:34 +02:00
Dani Palou
8b45f1c624 MOBILE-3509 forum: Support parent param in discussion links 2020-08-04 12:09:26 +02:00
Dani Palou
cc1b4acb8e MOBILE-3475 core: Prevent errors when calling isVersionGreaterEqualThan 2020-07-06 11:39:38 +02:00
Dani Palou
e62f5b7409 MOBILE-3323 editor: Trigger action event in missing forms 2020-03-11 11:54:29 +01:00
Dani Palou
3f25bc2f7c MOBILE-3298 course: Don't fail module download if avatar fails 2020-03-02 08:43:34 +01:00
Pau Ferrer Ocaña
63bff7c4f8 MOBILE-3213 forum: Fix discussion links when nested view is on 2019-12-13 10:50:59 +01:00
Pau Ferrer Ocaña
28d9954b96 MOBILE-3213 forum: Revert part of MOBILE-3218 to link discussions 2019-12-12 18:16:01 +01:00
Dani Palou
8d30c0be97 MOBILE-3213 core: Run script that removes types from JSDoc 2019-12-11 08:21:20 +01:00
Dani Palou
e0849668e3 MOBILE-2235 h5p: Support and use isEnabled function in file delegate 2019-12-09 15:37:00 +01:00
Dani Palou
c4a58d9ee8 MOBILE-2235 h5p: Implement H5P download and unzip 2019-12-09 14:24:32 +01:00
Pau Ferrer Ocaña
22ab48800e MOBILE-3218 forum: Discussions link only works from notifications 2019-12-03 13:06:49 +01:00
Pau Ferrer Ocaña
ce602321ff MOBILE-3218 links: Adapt links to new handler functions 2019-12-03 13:06:48 +01:00
Pau Ferrer Ocaña
30e6feab24 MOBILE-3218 links: Implement all index handlers enabled on activity 2019-12-03 13:06:48 +01:00
Pau Ferrer Ocaña
135e2cd5e3 MOBILE-3070 forum: Fix finding discussion by Id. 2019-11-28 10:05:05 +01:00
Pau Ferrer Ocaña
6219947374 MOBILE-2267 forum: Add open in browser link to posts 2019-11-22 12:09:06 +01:00
Pau Ferrer Ocaña
470abc056b MOBILE-2267 forum: Edit forum post 2019-11-22 11:52:26 +01:00
Pau Ferrer Ocaña
f96b5e9b1c MOBILE-3157 forum: Add delete post option 2019-11-21 16:14:59 +01:00
Pau Ferrer Ocaña
ccf4aeadea MOBILE-3205 forum: Add status actions onto discussion list 2019-10-30 09:10:06 +01:00
Dani Palou
0d41e7206c MOBILE-2491 filter: Prefetch filters 2019-10-08 12:40:01 +02:00
Pau Ferrer Ocaña
a809f624fe MOBILE-3175 other: Change Copyright author 2019-10-02 09:08:21 +02:00
Albert Gasset
a7c2d22cb8 MOBILE-3147 doc: Remove jsdoc types from all typescript files 2019-09-12 11:15:56 +02:00
Dani Palou
c6c6c753f0 MOBILE-3068 forum: Don't use phantom tab in forum index links 2019-08-28 16:02:45 +02:00
Juan Leyva
aa3e894248
Merge pull request #2036 from albertgasset/MOBILE-2201
Mobile 2201
2019-08-02 11:28:12 +02:00
Dani Palou
6c86998f7f MOBILE-2816 group: Use canaccessallgroups 2019-07-26 09:57:25 +02:00
Albert Gasset
f1591b1113 MOBILE-2201 forum: Tag area handler for forum posts 2019-07-19 15:43:54 +02:00
Pau Ferrer Ocaña
67be0a6c45 MOBILE-3002 block: Add Latest announcements block feature 2019-07-01 09:23:17 +02:00
Dani Palou
7e649138d7 MOBILE-3039 forum: Fix attachments not downloaded on prefetch 2019-06-04 12:12:15 +02:00
Dani Palou
4a758cba74 MOBILE-3039 course: Fix prefetch avatars in forum and glossary 2019-05-28 10:22:55 +02:00
Dani Palou
75ce463362 MOBILE-3036 core: Apply update frequency to all WS calls 2019-05-24 08:26:57 +02:00
Juan Leyva
4d6e019c75
Merge pull request #1935 from albertgasset/MOBILE-3018
MOBILE-3018 forum: Post a copy to all groups
2019-05-23 17:00:14 +02:00
Albert Gasset
e25306b0b2 MOBILE-3018 forum: Post a copy to all groups 2019-05-20 15:17:40 +02:00
Dani Palou
822dd057ef MOBILE-2957 fcm: Log events in Firebase too 2019-05-20 12:22:20 +02:00
Dani Palou
bcc7b4b672 MOBILE-3001 core: Fix rebase errors 2019-05-17 09:17:07 +02:00
Dani Palou
75b4982224 MOBILE-3001 course: Don't prefetch ratings and profiles 2019-05-16 17:59:58 +02:00
Albert Gasset
d7f0724a3b MOBILE-2992 forum: Use web strings 2019-05-16 09:56:09 +02:00
Albert Gasset
da2a835670 MOBILE-2992 forum: Sort discussions 2019-05-16 09:54:17 +02:00
Albert Gasset
b6e15defdd MOBILE-2992 forum: Fix can add discussion WS invalidation 2019-05-16 09:54:17 +02:00
Albert Gasset
12ceba7eac MOBILE-3019 forum: Display availabilty message 2019-05-13 16:38:31 +02:00
Albert Gasset
ad6d5019f1 MOBILE-2989 forum: Check whether the set pin state WS is available 2019-05-07 17:03:54 +02:00
Albert Gasset
8cdca2ebd9 MOBILE-2989 forum: Add ability to star and pin discussions 2019-05-07 17:03:54 +02:00
Albert Gasset
bf17c1653b MOBILE-2988 forum: Add the ability to lock discussions manually 2019-05-07 16:05:14 +02:00
Juan Leyva
de4d3a4517
Merge pull request #1861 from albertgasset/MOBILE-2978
MOBILE-2978 forum: Private reply
2019-04-30 20:23:59 +02:00
Juan Leyva
af4635ed3a
Merge pull request #1846 from crazyserver/MOBILE-2873
Mobile 2873
2019-04-26 12:20:04 +02:00
Albert Gasset
6eab6068f4 MOBILE-2978 forum: Private reply 2019-04-15 12:44:20 +02:00
Dani Palou
65702106f7 MOBILE-2953 notifications: Pass customdata to link actions 2019-04-03 15:38:34 +02:00
Dani Palou
9886362499 MOBILE-2953 push: Use customdata in push click handlers 2019-04-02 10:51:09 +02:00
Dani Palou
6536ffecad MOBILE-2921 assign: Support assign push clicks 2019-04-01 16:03:10 +02:00
Dani Palou
3182f0ff06 MOBILE-2921 push: Use new code for push click handlers 2019-04-01 16:03:10 +02:00