David Monllao
728b851eb5
Merge branch 'MDL-55491-master' of git://github.com/sarjona/moodle
2018-04-11 17:53:37 +02:00
Eugene Venter
abc07b53a7
MDL-55491 badges: Add cohort as badge criteria
...
commissioned by NZ Customs Service
2018-04-09 10:23:50 +02:00
Sara Arjona
88cb8b781d
MDL-61601 cohort: Add theme support for cohorts
...
If enabled $CFG->allowcohortthemes, then themes can be set at the cohort level.
This will affect all users with only one cohort or more than one but with the same theme.
The default theme order will be: course, category, session, user, cohort, site.
2018-04-06 08:28:01 +02:00
Eloy Lafuente (stronk7)
83c64f78c0
Merge branch 'MDL-36941_master-fix' of git://github.com/markn86/moodle
2018-03-28 18:42:18 +02:00
Eloy Lafuente (stronk7)
bdb22af959
Merge branch 'MDL-53226-master' of git://github.com/andrewnicols/moodle
2018-03-28 18:15:52 +02:00
Jun Pataleta
d5458014b3
MDL-36941 core: Remove default for convhash field in upgrade.php
2018-03-23 14:14:49 +08:00
Mark Nelson
e159b53b5b
MDL-36941 core_message: improved performance of helper::get_messages()
...
Improved the query to use the 'convhash' field as well as adding an index.
Also fixed issue where 'timeread' was hardcoded as 0.
2018-03-23 12:30:30 +08:00
Mark Nelson
2ccbb8ed62
MDL-36941 core: added index to 'message_user_actions' table
2018-03-23 12:30:30 +08:00
Mark Nelson
0d657cc9b7
MDL-36941 core: removed 'message_working' table
2018-03-23 12:30:29 +08:00
Mark Nelson
b2cd17e6a9
MDL-36941 core: added 'convhash' field to quickly get conversations
2018-03-23 12:30:28 +08:00
Mark Nelson
2b595d96f4
MDL-36941 core: added new mark notification as read webservice
2018-03-23 12:30:28 +08:00
Mark Nelson
a63f98245c
MDL-36941 core: added new messaging and notification tables
2018-03-23 09:27:56 +08:00
Andrew Nicols
b30b66c57e
MDL-61519 coursecat: Reset the coursecat cache on enrolment
2018-03-21 09:06:51 +08:00
David Monllao
c2e970779d
MDL-53226 search_simpledb: Refine the patch
...
- Clumsy fallback only when there is no full-text search support
- Mimic solr tests
- pgsql tokenization using simple configuration
- workaround for mysql '*' search issue
- total results proper calculation
- SQL server FTS support
- Standarize dml full-text search checkings
- Upgrade note about the new dml method
- Set search_simpledb as default engine if no solr config
2018-03-20 18:49:38 +01:00
Martin Gauk
c4172077df
MDL-61519 calendar: do not iterate through all categories
...
Replace calls to \coursecat::get_all() or cache the results.
2018-03-16 14:30:55 +00:00
Juan Leyva
1f7565c121
MDL-61622 auth: New WS is_age_digital_consent_verification_enabled
2018-03-09 17:54:58 +01:00
Eloy Lafuente (stronk7)
03141d1ae2
NOBUG: Fixed file access permissions
2018-03-08 13:29:02 +01:00
Andrew Nicols
1e9016d8d8
Merge branch 'MDL-61423-master' of git://github.com/mihailges/moodle
2018-03-08 15:26:30 +08:00
Mihail Geshoski
25dbbdf90b
MDL-61423 authentication: Add digital minor verification upon signup
2018-03-08 15:01:25 +08:00
Ryan Wyllie
5436b0ed02
MDL-61363 tag: allow tagging in different context to item
2018-03-07 10:31:46 +08:00
Andrew Nicols
03d174d733
MDL-61268 core: Fix empty string DB cehck
...
(amended by stronk7 to use the helper better)
2018-03-02 16:31:11 +01:00
Adrian Greeve
e78849e837
MDL-61268 blocks: Fix corrupt configdata in block instances.
...
Old configuration data in the block instances is base64 encoded with
the deprecated object class instead of stdClass.
2018-03-02 09:22:05 +08:00
Simey Lameze
34cd75240e
MDL-61444 question: add question tagmine and tagall capabilities
2018-02-19 14:21:45 +08:00
David Monllao
d3e54578ea
Merge branch 'MDL-52811_prevent_forcelang' of git://github.com/davosmith/moodle
2018-02-06 08:00:11 +01:00
Andrew Nicols
e742f93303
Merge branch 'MDL-61132-master' of git://github.com/rezaies/moodle
2018-02-06 14:33:41 +08:00
Simey Lameze
680d5c5be6
MDL-61133 core_question: new submit_tags_form webservice
2018-02-05 10:58:04 +08:00
Shamim Rezaie
d2c4ff10bf
MDL-61132 Questions: Upgrade step to add Top to existing contexts
...
Upgrade script to add a "Top" category as a real category to the question bank
2018-02-05 11:20:50 +11:00
Yair Spielmann
ecce451878
MDL-52811 course: Require course:setforcedlanguage to force language.
2018-02-01 17:06:57 +00:00
sam marshall
8736fbc190
MDL-60981 core_search: New indexpriority field in search index queue
...
Adds indexpriority field to the database table which holds a queue of
indexing requests. This allows for potentially large area reindexes
to have a lower priority, so as not to halt the special indexes that
run after a course restore.
2017-12-22 13:05:10 +00:00
Jun Pataleta
10c607a9bc
MDL-50666 core: Add allowview key in install.xml
2017-12-20 14:46:42 +13:00
Andrew Hancox
64cd459648
MDL-50666 core: Rename allow_ACTION to core_role_set_ACTION_allowed
2017-12-19 13:53:23 +13:00
Andrew Hancox
a63cd3e2ca
MDL-50666 core: Add function get_viewable_roles to set role visibility
2017-12-19 13:53:23 +13:00
Damyon Wiese
8cdfa8692b
Merge branch 'MDL-59438-master' of git://github.com/rezaies/moodle
2017-12-12 13:05:22 +08:00
Shamim Rezaie
9d27b68ce8
MDL-59438 calendar: Added a foreign key and an index
...
Added foreign key constraint to the event.subscriptionid column.
Also added index to the event.uuid column.
2017-12-11 12:54:49 +08:00
Andrew Nicols
e3b699eab7
Merge branch 'MDL-59159' of git://github.com/stronk7/moodle
2017-12-06 19:53:36 +13:00
Damyon Wiese
a569a33097
Merge branch 'MDL-59875_m35v1' of https://github.com/sbourget/moodle
2017-12-06 19:53:31 +13:00
Eloy Lafuente (stronk7)
e4eba4c346
MDL-59159 upgrade: clean < 3.1.0 upgrade steps
...
LTS (3.5) requires previous LTS (3.1)
This just deletes all the upgrade steps previous to 3.1.0. Some
small adjustments, like adding missing MOODLE_INTERNAL or tweaking
globals can also be applied when needed.
Also includes an upgrade step to prevent upgrading from any
version < 2016052300 (v3.1.0) as anti-cheating measure.
Next commit will get rid of/deprecate all the upgradelib functions
not used anymore in codebase.
2017-12-04 01:18:57 +01:00
Stephen Bourget
a7370e0dd0
MDL-59875 Badges: Allow badges to be criteria for other badges
2017-11-28 08:03:02 -05:00
Damyon Wiese
bdb157653b
Merge branch 'MDL-60174-master' of https://github.com/sammarshallou/moodle
2017-11-28 11:38:40 +08:00
sam marshall
a938e4096c
MDL-60174 core_dml: fix miscellaneous incorrect recordset usage
...
The new recordset support for Postgres requires transactions and
will cause errors if recordsets are not closed correctly. This
commit fixes problems that were identified during unit tests, and
via some basic code analysis, across all core code. Most of these
are incorrect usage of recordset (forgetting to close them).
2017-11-27 11:10:33 +00:00
Shamim Rezaie
0897d6588e
MDL-60188 groups: cache user's groups and groupings
...
The function groups_get_user_groups is called too often both before rendering the page and after the page is rendered (using ajax).
The function was executing a query joining 3 tables in each call. The plementation of the function has now modified to store the
query result in a request cache.
2017-11-27 10:46:35 +08:00
David Monllao
e968cf1def
MDL-59512 version: Following 2 digits scheme
2017-11-22 13:24:31 +01:00
yair.spielmann
b323508554
MDL-59512 tool_oauth2: add option for basic authentication
2017-11-17 10:15:29 +01:00
Eloy Lafuente (stronk7)
6499085f36
MDL-60784 upgrade: add 3.4.0 separation line to all upgrade scripts
2017-11-12 18:43:30 +01:00
David Monllao
4e73acf3cf
Merge branch 'MDL-60579-master' of https://github.com/mihailges/moodle
2017-11-08 12:16:20 +01:00
David Monllao
cae37299f3
Merge branch 'MDL-59758-master' of git://github.com/damyon/moodle
2017-11-07 12:37:30 +01:00
Mihail Geshoski
c835126185
MDL-60579 enrolments: Applied filters lost on certain actions
...
AMOS BEGIN
CPY [invalidrequest,enrol_lti],[invalidrequest,enrol]
AMOS END
2017-11-07 16:17:00 +08:00
Damyon Wiese
b5b81de3d6
MDL-59758 core_user: Replace old bulk actions
...
The participants page has some clunky multi page forms for bulk actions. Replaces it with an ajax alternative.
2017-11-07 14:18:49 +08:00
Jake Dallimore
eb354bdefa
Merge branch 'MDL-60361-master' of git://github.com/andrewnicols/moodle
2017-11-06 09:29:46 +08:00
Andrew Nicols
b9fd516407
MDL-60361 calendar: Support all event types for calendar subs
2017-11-03 11:27:40 +08:00