42 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
061c9d7ba0 MDL-77940 versions: bump all versions and requires near release
version = 2023042400 release version
requires= 2023041800 current rc1 version
2023-04-18 18:08:09 +02:00
Andrew Nicols
511401f4f6 MDL-77559 js: Rebuild all JS with Node 16 2023-03-09 09:53:19 +08:00
Andrew Nicols
33b1e41f13 MDL-75012 js: Full build of all grunt things 2023-03-02 11:55:32 +08:00
Andrew Nicols
a3cc26f8bb MDL-76583 core: Update uses of external_* classes 2023-01-19 07:34:09 +08:00
Jun Pataleta
00bae8b8a4 MDL-76403 versions: bump all versions and requires near release 2022-11-23 09:45:23 +08:00
Jun Pataleta
70f6b1605b MDL-74471 versions: bump all versions and requires near release 2022-04-13 10:37:36 +08:00
Andrew Nicols
0a4047ab31 MDL-73915 js: Switch amd minification to terser
Unfortunately the babel minify-mangle plugin seems to be abandoned and
in certain circumstances can be very buggy. The only safe options are to
disable it, or to switch to a different minification library.

Not minifying our javascript is not ideal, so this commit updates the
javascript tasks to use a rollup, combined with babel, and terser.

Babel still converts code from ES/UMD/AMD to AMD modules with the
relevant browser support, whilst terser minifies the code.

The rollup bundler handles tracking and creation of sourcemaps, and
supports better parallelisation of the tasks.

Since the upgrade to Node LTS/Gallium requires an upgrade to @babel/core
and eslint, which change the built files anyway, this seems like the
ideal time to make this change.
2022-02-23 08:55:09 +08:00
Andrew Nicols
4f422785c6 MDL-71113 javascript: Improve basic JS Documentation 2021-06-18 09:38:05 +08:00
Andrew Nicols
92179b7057 MDL-71113 js: Fix all jsdoc warnings 2021-06-18 09:38:05 +08:00
Eloy Lafuente (stronk7)
fbb0767536 MDL-69475 versions: bump all versions and requires in master
version = 2021052500 release version
requires= 2021052500 same than version

Why 20210525? (25th May 2021) ?

Because master is going to be Moodle 4.0, to be released
on November 2021. And, until then, we are going to have
a couple of "intermediate" releases:

- Moodle 3.10 to be released 9th November 2020. (2020110900)

  This version will be using versions from today to 2020110900
  (once it's released the YYYYMMDD part stops advancing).

- Moodle 3.11 to be released 10th May 2021. (2021051000)

  This version will be using versions from 3.10 release to 2021051000
  (once it's released the YYYYMMDD part stops advancing).

That means that all versions from today to 2021051000 are going
to be used by those 2 "intermediate" releases (3.10 and 3.11).

And we cannot use them in master, because it's forbidden to have
any overlapping of versions between branches (or different upgrade
paths will fail).

So, get that 2021051000, let's add it a couple of weeks to cover
the on-sync period (or a 2 weeks delay max!) and, the first version
that master can "own" in exclusive (without any overlap) is, exactly,
25th May 2021, hence our 20210525.
2020-08-18 00:47:15 +02:00
Eloy Lafuente (stronk7)
115cc0214f MDL-68973 versions: bump all versions and requires near release
version = 2020061500 release version
requires= 2020060900 current rc1 (week7roll1) version
2020-06-09 16:23:09 +02:00
Eloy Lafuente (stronk7)
d5be859063 MDL-67199 versions: bump all versions and requires near release
version = 2019111800 release version
requires= 2019111200 current beta (week7roll1) version
2019-11-12 17:57:08 +01:00
Juan Leyva
bc72a54cb1 MDL-65400 block: Support returning settings for core blocks 2019-10-23 15:33:56 +02:00
Mihail Geshoski
0b802432ca MDL-66851 block_starredcourses: Hide 'hidden' courses from students
Thanks to Mark Sharp for the bug report and fix suggestion.
2019-10-08 09:52:37 +08:00
Mihail Geshoski
60983cc2a6 MDL-64438 block_starredcourses: Optionally show course category
AMOS BEGIN
CPY [displaycategories,block_myoverview],[displaycategories,block_starredcourses]
AMOS END
2019-09-18 17:58:24 +08:00
Ryan Wyllie
195ea4480b MDL-62497 javascript: build AMD modules with new transpiler 2019-07-19 14:12:49 +08:00
Eloy Lafuente (stronk7)
c9a1a6341c MDL-65571 versions: bump all versions and requires near release
version = 2019052000 release version
requires= 2019051100 current beta (week6roll2) version
2019-05-12 23:46:34 +02:00
Dan Marsden
ef78cf8f42 MDL-63995 blocks: Remove unused capabilities and warning. 2019-03-25 12:20:13 +13:00
Mathew May
298133d638 MDL-63880 core_course: Change core no-course template.
Added two templates back in that define what string to use in the two affected blocks.
2019-02-08 12:31:11 +08:00
Mathew May
a29135f883 MDL-63880 core_course: Move common templates to core_course
Remove repeated templates from myoverview, recentlyaccessedcourse &
starredcourses blocks.
2019-02-07 13:45:12 +08:00
David Monllao
823fc75421 Merge branch 'MDL-64282' of git://github.com/stronk7/moodle 2018-11-30 13:02:47 +01:00
Eloy Lafuente (stronk7)
085353b315 MDL-64282 versions: bump all versions and requires near release
version = 2018120300 release version
requires= 2018112800 current rc2 (week7roll1) version
2018-11-29 18:24:08 +01:00
Bas Brands
f87181fdaf MDL-63988 core_my: add course shortname to dashboard blocks …
* all dashboard card templates moved to /course/templates/
* added aria labels for course short name
* removed ":" from other course aria strings to improve screenreader output
2018-11-28 17:36:20 +01:00
Jun Pataleta
a7ca299373 Merge branch 'MDL-63663-master' of git://github.com/bmbrands/moodle 2018-11-20 11:59:29 +08:00
Helen Foster
cd492e2ea5 MDL-63976 lang: Merge English strings from the en_fix language pack
Significant string changes:

* courseoverviewfiles, courseoverviewfiles_help, courseoverviewfilesext
  in core, configcourseoverviewfilesext, configcourseoverviewfileslimit
  in core_admin, areacourseoverviewfiles in core_repository - renaming
  of 'Course summary files' to 'Course image'
2018-11-19 19:17:52 +01:00
Bas Brands
356bfb698f MDL-63663 core_my: prevent page jumps on load
equal size loading placeholders
added list view and summary view placeholders for myoverview
2018-11-12 15:44:37 +01:00
Jun Pataleta
a954485ef5 Merge branch 'MDL-63830-master' of git://github.com/bmbrands/moodle 2018-11-09 12:07:05 +08:00
Juan Leyva
b9508423b4 MDL-63740 webservice: Add new dashboard functions to mobile service
- core_course_get_enrolled_courses_by_timeline_classification
- core_course_get_recent_courses
- core_course_set_favourite_courses
- block_starredcourses_get_starred_courses
2018-11-07 12:37:43 +01:00
Bas Brands
f457cb862d MDL-63830 block_myoverview: shorten card titles 2018-11-07 11:47:23 +01:00
Bas Brands
44b549260d MDL-63830 block_myoverview: reuse css for dashboard blocks
target block content only
use same html accross blocks
add one-row class for scrolling cards
2018-11-07 11:47:04 +01:00
Bas Brands
95acd7b1b4 MDL-63830 block_myoverview: remove margin card title 2018-11-07 11:23:19 +01:00
Bas Brands
78c06a660b MDL-63830 block_myoverview: star icon updates
Change the star icon from being in a button and allow it to be
inline using spans instead of divs.
Add the option to passes css classed to the template.
2018-11-07 09:48:00 +01:00
Bas Brands
0ec602615d MDL-63064 block_starredcourses: horizontal scroll, load all courses 2018-10-31 13:51:13 -04:00
lameze
bdde16014d MDL-63064 block_starredcourses: fix linting issues 2018-10-31 10:51:05 -04:00
Bas Brands
f6c6f215be MDL-63064 block_starredcourses: move favouriteicon template 2018-10-31 10:44:20 -04:00
lameze
51437e5f6d MDL-63064 block_starredcourses: make starred block style consistent
This commit remove an unused template and some custom css that has been added
previously and now is no longer necessary.
2018-10-31 10:44:16 -04:00
lameze
8730c0619c MDL-63064 block_starredcourses: remove pagination from main module
This commit also removes the userid attribute handling on templates, JS and from the webservices
setting the logged user as user id on the webservice side.
2018-10-31 10:44:13 -04:00
lameze
07fdb5a0a3 MDL-63064 block_starredcourses: change events to use pubsub 2018-10-31 10:44:08 -04:00
lameze
d5d7699b87 MDL-63064 block_starredcourses: reload the content when a course is starred 2018-10-31 10:44:05 -04:00
lameze
b9c56f82a1 MDL-63064 block_starredcourses: implement null provider 2018-10-31 10:43:59 -04:00
lameze
0e033f6ee1 MDL-63064 block_starredcourses: block functionality 2018-10-31 10:43:56 -04:00
lameze
e1a35e19d3 MDL-63064 block_starredcourses: create block structure 2018-10-31 10:43:36 -04:00