308 Commits

Author SHA1 Message Date
Tim Hunt
c11c88928e MDL-66956 question bank: move edit menu to improve usability 2019-10-18 14:27:51 +01:00
Tim Hunt
701ae1eb4b MDL-66816 question bank: replace row of edit icons with an Edit menu 2019-10-18 14:27:50 +01:00
Michael Hawkins
d21d6baac6 MDL-66694 mod_forum: Word/char count tidy ups & add task config option
The chunk size used by the existing post word/char count calculation
ad-hoc task can now be set as a $CFG parameter. Also improved the way
the ad-hoc task is re-queued and tidied up some redundant code.
2019-10-17 16:13:23 +08:00
Jun Pataleta
75c49ad291 Merge branch 'MDL-66553' of https://github.com/timhunt/moodle 2019-10-14 09:42:03 +08:00
Tim Hunt
5aacd5e70e MDL-66553 questions: add $CFG->questionbankcolumns to config-dist.php 2019-10-11 13:59:26 +01:00
Alexander Bias
1ce19cc3ed MDL-66753 blocks: Remove references in core to block_participants 2019-10-07 08:34:20 +02:00
Andrew Nicols
0b07ea423b MDL-66675 behat: Add option to pause on behat failures 2019-09-19 07:30:15 +08:00
Mark Nelson
5beb388516 MDL-66367 core: added new cachetemplates setting 2019-09-04 12:54:02 +02:00
[Peter Burnett]
442eeac33c MDL-66119 core: Add check for uninstalling plugins from the admin gui 2019-07-26 09:27:32 +10:00
Dan Marsden
22dfa6d31d MDL-60347 core: debugsmtp should be a developer only setting. 2019-07-01 12:15:05 +02:00
Sara Arjona
86c3df962f Merge branch 'MDL-64506' of git://github.com/Chocolate-lightning/moodle 2019-04-03 19:30:28 +02:00
Mathew May
9757c65687 MDL-64506 Javascript: Remove docking JS.
Deprecate related lang strings & base functions now return false.
2019-04-03 19:34:20 +08:00
Trisha Milan
fdb9c3217d MDL-64449 core: Added Session lock debugging option 2019-04-03 14:20:57 +11:00
sam marshall
05a5d547b3 MDL-64979 Behat: Add option to increase timeouts 2019-03-19 17:17:55 +00:00
sam marshall
ff3ccab52e MDL-63977 Behat: Rename Ionic config variables for consistency 2019-02-11 16:40:56 +00:00
sam marshall
1959e16412 MDL-63977 Behat: Allow Behat testing of the Moodle mobile app
This change allows you to write and run Behat tests that cover the
mobile app. These should have the @app tag. They will be run in the
Chrome browser using an Ionic server on the local machine.

See config-dist.php for configuration settings, or full docs here:
https://docs.moodle.org/dev/Acceptance_testing_for_the_mobile_app
2019-02-11 16:20:42 +00:00
Eloy Lafuente (stronk7)
7dc5cae795 Merge branch 'MDL-64454-master' of https://github.com/sammarshallou/moodle 2019-02-06 22:26:44 +01:00
Andrew Nicols
4b71596fc9 MDL-49399 task: Add task logging API 2019-01-16 12:14:25 +08:00
sam marshall
ff13ae5906 MDL-64454 Admin: Configuration option for cron frequency warning
This change makes the warning time (default 200 seconds) configurable
in config.php.
2019-01-14 17:07:37 +00:00
Damyon Wiese
6dfe428363 MDL-63183 auth: Login protection
CSRF protection for the login form. The authenticate_user_login function was
extended to validate the token (in \core\session\manager) but by default it
does not perform the extra validation. Existing uses of this function from
auth plugins and features like "change password" will continue to work without
changes. New config value $CFG->disablelogintoken can bypass this check.
2018-11-07 00:14:48 +01:00
Jun Pataleta
35b76161b3 Merge branch 'MDL-60514-master-new-cron-execution' of https://github.com/tonibarbera/moodle 2018-10-25 15:06:47 +08:00
Toni Barberà Melià
c759ae5d55 MDL-60514 tasks: added new config parameter. changes in cron execution 2018-10-25 08:02:44 +02:00
Sara Arjona
327914160f MDL-63214 message: Add setting to force enabling messagingallusers 2018-10-17 11:52:57 +02:00
Damyon Wiese
490e48a4df MDL-63439 assign: Unicode charsets for pdf
Prefer to use freesans font for generated pdfs as it has the biggest charset support.
2018-10-09 09:28:06 +08:00
Eloy Lafuente (stronk7)
4f06a97702 Merge branch 'MDL-57610' of git://github.com/aolley/moodle 2018-09-25 14:46:09 +02:00
Adam Olley
b722a457ad MDL-57610 assignfeedback_editpdf: remove queued jobs that keep failing
Without this, its possible to get a document in the editpdf conversion queue
that keeps failing - and in some cases completely crashing the PHP script
despite exception handling - which ends up blocking the processing of the queue
entirely.

This change allows for a configurable number of attempts the conversion
task will perform before removing the item from the queue.
2018-09-17 09:30:43 +09:30
Andrew Nicols
89aff0d828 MDL-63329 core: Remove memcache session support 2018-09-12 08:15:35 +08:00
Paul Greidanus
05f6ed0034 MDL-63031 administration: Allow plugins to define trace storage
This will allow the use of other storage systems implemented
in plugins.
It also allows for disabling the built in DB based profiling, which
will be useful when using an external target to not waste DB storage.
2018-08-13 21:54:48 -06:00
Matteo Scaramuccia
ef844148a9 MDL-60923 backup: Added $CFG->backuptempdir
The new setting will allow to host the temporary backup files
into a specific target directory. Defaults to '$CFG->tempdir/backup'.

Calling make_backup_temp_directory() checks that the required sub-directory
will be properly created under the new target directory.
2018-04-16 23:50:28 +02:00
Andrew Nicols
d607cdd782 Merge branch 'MDL-61601-master' of git://github.com/sarjona/moodle 2018-04-09 09:38:21 +08:00
Jake Dallimore
2610190674 MDL-59581 database: remove mssql reference from top level files 2018-04-09 01:59:28 +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
sam marshall
34aeacadcc MDL-60174 Document new dboption in config-dist.php 2017-11-28 13:21:49 +00:00
Fred Woolard
bd035b98fd MDL-57477 core: If memcached 3.x mimic 2.2.0 lock acquisition behavior 2017-10-23 13:45:47 -04:00
Alexander Bias
f380743303 MDL-60234 core: Disable admin warning for developemnt libs 2017-09-26 22:05:19 +02:00
Simey Lameze
e6a1843efb MDL-58551 config: add alternative_file_system_class description 2017-04-18 10:13:48 +08:00
Mike Olsen
7782e6610b
MDL-58311 cache: Add password support for redis
add password support for redis connects in cache and session
2017-03-27 10:31:45 +01:00
Dan Poltawski
8b9196d7d2 Merge branch 'MDL-57887-nginx-username-logging' of https://github.com/brendanheywood/moodle 2017-03-06 13:43:38 -03:00
Adrian Greeve
0bbefd81cd MDL-48228 database: Make utf8mb4 the default character set for mysql.
Thanks to Jetha Chan for providing the initial patch that this is
based on.
2017-03-01 09:03:12 +08:00
Brendan Heywood
c31a35b57d MDL-57887 setup: Support logging usernames in nginx access logs 2017-02-07 13:47:40 +11:00
wehr
88671590f2 MDL-57655 session: Adds igbinary serializer to Redis session handler 2017-01-25 00:47:25 +01:00
Dan Poltawski
81c9e018b4 MDL-56172 admin: remove cssoptimiser config options 2016-09-29 16:41:29 +01:00
Russell Smith
f834a8f5eb MDL-55124 database: Allow option to not send options.
pgbouncer doesn't accept the PostgreSQL options command as it can't
process it.  If you are using pgBouncer you need to make sure your
database is configured to set client encoding and standard_conforming_strings
correctly on each connection.  pgBouncer can do this, as can ALTER
commands.

Also using sockets without a filename did not allow different ports to work.
This is because you either specify a filename which includes a port or
you just specify a port and libpq works out the correct socket location.
2016-09-20 19:53:01 +10:00
Russell Smith
8f7dcb3453 MDL-55504 profiling: Support for PHPUnit and big profiles.
To support PHPUnit we need to support large profiles, these may
include backups and restores. To do that the following was required;
- gzcompress for database space saving.
- gzcompress for XML DomDocument field to say < 10Mb and allow imports.
- Save PHPUnit runs directly to a file so they can be imported to the normal database.
- Memory allowance on profiling view pages increases to support large profiles.
2016-09-06 12:41:56 +10:00
Russell Smith
7f8a816a7d MDL-54606 session: Add redis handler with locking. 2016-08-04 21:50:11 +10:00
Russell Smith
1fcf0ca8a5 MDL-35628 performance: Remove dirname() where possible.
dirname() is a slow function compared with __DIR__ and using
'/../'.  Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code.  This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Andrew Nicols
d07c339272 Revert "Merge branch 'MDL-53599' of git://github.com/nhoobin/moodle"
This reverts commit 15a813cda2cad66f2ae2434c5998d383d486c112, reversing
changes made to 6870e1fa77ccf0078b6e6990ab4a477ef62c8181.
2016-05-06 10:18:10 +08:00
Nicholas Hoobin
c5211882f7 MDL-53599 session: Added a session_class_handler for Redis.
It is now possible to set up Redis as a session handler for Moodle.
Ensure that the phpredis extension is enabled and working on your sever.

Please place the following lines in config.php
$CFG->session_handler_class = '\core\session\redis';
$CFG->session_redis_save_path = 'tcp://127.0.0.1';

To determine if it has been set correctly, navigate to
$CFG->wwwroot/admin/phpinfo.php and find following the strings in the
session block,

session.save_handler = redis
session.save_path = tcp://127.0.0.1
2016-04-18 16:28:45 +10:00
Dan Poltawski
5702a8289b Merge branch 'MDL-52954-master' of git://github.com/damyon/moodle 2016-04-11 09:52:40 +01:00
Damyon Wiese
1356d85151 MDL-52954 core: Change from pandoc to unoconv - it gives better results
Most importantly it retains formatting better, and supports different charsets far better than pandoc.
2016-03-30 11:48:39 +08:00