Frédéric Massart [Wed, 10 Dec 2014 03:31:15 +0000 (11:31 +0800)]
Merge pull request #104 from andrewnicols/faildumpfail
Correct removal of faildump in behat init
Andrew Nicols [Wed, 10 Dec 2014 02:52:20 +0000 (10:52 +0800)]
Correct removal of faildump
This was causing the faildump path to be set and unset on each run.
Frederic Massart [Thu, 13 Nov 2014 05:45:12 +0000 (13:45 +0800)]
Pull command tracks the right branch
Frédéric Massart [Wed, 12 Nov 2014 03:54:25 +0000 (11:54 +0800)]
Merge pull request #101 from andrewnicols/phpunitTestsuite
Add testsuite coverage to phpunit
Andrew Nicols [Wed, 12 Nov 2014 03:25:27 +0000 (11:25 +0800)]
Add testsuite coverage to phpunit
In Moodle, we put all of our test directories into testsuites. For example, the
message/tests directory is defined in the core_message_testsuite testsuite.
Because of our naming scheme for files, we cannot simply pass the directory as
this only looks for files with the suffix Test.php. We can however make use
of the testsuite option to phpunit.
Suites are named as per their frankenstyle component and the complete list
can be found in the generated phpunit.xml configration. Here's an excerpt
for the above example:
<testsuite name="core_message_testsuite">
<directory suffix="_test.php">message/tests</directory>
</testsuite>
With this change, it becomes possible to run all tests for an entire
component quickly and easily:
mdk phpunit -s core_message_testsuite
Frédéric Massart [Wed, 12 Nov 2014 03:41:36 +0000 (11:41 +0800)]
Merge pull request #100 from andrewnicols/prettyBehat
Add pretty format to Behat output
Frederic Massart [Wed, 12 Nov 2014 03:30:53 +0000 (11:30 +0800)]
Bump to version 1.4.1
Andrew Nicols [Wed, 12 Nov 2014 02:37:38 +0000 (10:37 +0800)]
Add pretty format to Behat output
Frédéric Massart [Tue, 11 Nov 2014 08:31:02 +0000 (16:31 +0800)]
Merge pull request #99 from danpoltawski/28-tracker-fix
Add 2.8 tracker branches
Dan Poltawski [Tue, 11 Nov 2014 08:00:22 +0000 (08:00 +0000)]
Add 2.8 tracker branches
Frederic Massart [Mon, 10 Nov 2014 02:41:46 +0000 (10:41 +0800)]
Bump to version 1.4
Frederic Massart [Mon, 10 Nov 2014 02:41:15 +0000 (10:41 +0800)]
Updating change log
Frederic Massart [Mon, 10 Nov 2014 02:39:40 +0000 (10:39 +0800)]
Bumping the default master branch in config-dist.php
Frederic Massart [Wed, 5 Nov 2014 08:07:52 +0000 (16:07 +0800)]
Adding upgrade information to readme
Frederic Massart [Wed, 5 Nov 2014 06:27:01 +0000 (14:27 +0800)]
Debug fetching cached repo when verbosity is off
Frederic Massart [Wed, 5 Nov 2014 05:17:51 +0000 (13:17 +0800)]
Adding required Debian packages to install instructions. Fixes #96
Frederic Massart [Wed, 5 Nov 2014 05:12:08 +0000 (13:12 +0800)]
Removing unused auto completion flag for update command
Frederic Massart [Wed, 5 Nov 2014 05:11:14 +0000 (13:11 +0800)]
Backup command fails when the backup directory is missing
Frederic Massart [Wed, 5 Nov 2014 04:54:54 +0000 (12:54 +0800)]
Doctor command can check the value of the master branch
Frederic Massart [Wed, 5 Nov 2014 04:29:35 +0000 (12:29 +0800)]
Changes post merge of JS documentation support
Frederic Massart [Wed, 5 Nov 2014 04:10:09 +0000 (12:10 +0800)]
Merge branch 'yuidoc' of https://github.com/andrewnicols/mdk into yuidoc
Conflicts:
mdk/config-dist.json
mdk/workplace.py
Frederic Massart [Wed, 5 Nov 2014 03:38:10 +0000 (11:38 +0800)]
Adding forceCfg example to config-dist.json
Frederic Massart [Wed, 5 Nov 2014 03:23:35 +0000 (11:23 +0800)]
Merge branch 'forcecfg' of https://github.com/mudrd8mz/mdk
Frederic Massart [Wed, 5 Nov 2014 02:58:24 +0000 (10:58 +0800)]
Behat command outputs more information to the extra directory
Frederic Massart [Wed, 5 Nov 2014 02:30:36 +0000 (10:30 +0800)]
Deprecating old way of initialising PHPUnit
Frederic Massart [Wed, 5 Nov 2014 02:20:16 +0000 (10:20 +0800)]
Abstracting the methods to get URL or extra dir
Frederic Massart [Wed, 5 Nov 2014 01:59:24 +0000 (09:59 +0800)]
Adding missing --symlink from doctor bash completion
Frederic Massart [Wed, 5 Nov 2014 01:58:39 +0000 (09:58 +0800)]
Option to generate code coverage with PHPUnit
Frederic Massart [Tue, 4 Nov 2014 10:15:16 +0000 (18:15 +0800)]
New directory to store extra web accessible things of an instance
Frederic Massart [Tue, 4 Nov 2014 08:39:09 +0000 (16:39 +0800)]
Moving the PHP Unit code to its own class
Hopefully not creating billions of regressions...
Frederic Massart [Tue, 4 Nov 2014 07:58:08 +0000 (15:58 +0800)]
PHPUnit command does not set --run automatically
Frederic Massart [Fri, 24 Oct 2014 08:46:55 +0000 (16:46 +0800)]
Behat does not override behat_wwwroot unless told to
Frederic Massart [Wed, 22 Oct 2014 06:15:08 +0000 (14:15 +0800)]
Behat was hanging when Selenium output was not buffered
Frederic Massart [Wed, 22 Oct 2014 06:14:36 +0000 (14:14 +0800)]
Increased default time to wait for Selenium to launch
Frederic Massart [Wed, 22 Oct 2014 06:13:37 +0000 (14:13 +0800)]
Fix missing bits for new Behat mechanism on 2.6
Frederic Massart [Wed, 22 Oct 2014 05:37:35 +0000 (13:37 +0800)]
PHPUnit can be initialised with Oracle
Frederic Massart [Tue, 21 Oct 2014 18:41:37 +0000 (02:41 +0800)]
Behat initialisation can be forced
Frederic Massart [Tue, 21 Oct 2014 18:27:12 +0000 (02:27 +0800)]
Behat can be initialised with Oracle
Frederic Massart [Tue, 21 Oct 2014 18:09:18 +0000 (02:09 +0800)]
Use new mechanism for Behat on 2.6
Yeah, I know, it's about time as 2.6 is no longer supported in a few weeks
Frederic Massart [Tue, 21 Oct 2014 05:44:55 +0000 (13:44 +0800)]
Use non-deprecated method in Webservices script
Frederic Massart [Tue, 21 Oct 2014 05:44:36 +0000 (13:44 +0800)]
Remove debugging output
Frederic Massart [Fri, 1 Aug 2014 07:05:23 +0000 (15:05 +0800)]
JS watcher does not die when the compilation failed
Frederic Massart [Fri, 1 Aug 2014 05:38:51 +0000 (13:38 +0800)]
Displaying the time when js shift watcher finds changes
David Mudrák [Fri, 27 Jun 2014 10:48:09 +0000 (12:48 +0200)]
Add support for globally defined forced $CFG
There are some additional $CFG variables that the mdk user may want to always
set in all config.php created. In my case, it is $CFG->divertallemailsto to
prevent accidental mails sent out from my local installations.
The patch adds support for the new mdk-config items grouped under `forceCfg`.
If the setting forceCfg.foobar is found, it's value will be put into
$CFG->foobar right after the installation process.
Frederic Massart [Wed, 23 Jul 2014 03:08:21 +0000 (11:08 +0800)]
Bumping to version 1.3
Frederic Massart [Wed, 23 Jul 2014 03:07:59 +0000 (11:07 +0800)]
Updating the changelog
Frederic Massart [Wed, 23 Jul 2014 02:11:29 +0000 (10:11 +0800)]
Including .rst files rather than .md
Frederic Massart [Wed, 23 Jul 2014 02:01:41 +0000 (10:01 +0800)]
Removing bash completion info from readme
Frederic Massart [Wed, 23 Jul 2014 01:51:24 +0000 (09:51 +0800)]
Removing extra files from package
After trying hard to add the extra files in a standard location
I am giving up. It seems pretty difficult to predict where the files
will end up on different systems, especially due to the inconsistencies
between an installation using setup.py vs. pip.
Frederic Massart [Wed, 23 Jul 2014 01:51:02 +0000 (09:51 +0800)]
Adding the long description
Frederic Massart [Wed, 23 Jul 2014 01:11:30 +0000 (09:11 +0800)]
Updating readme file with new install method
Frederic Massart [Tue, 22 Jul 2014 06:49:07 +0000 (14:49 +0800)]
Finalising the python package
Frederic Massart [Tue, 22 Jul 2014 06:45:33 +0000 (14:45 +0800)]
Removing need for root with init command
Frederic Massart [Tue, 22 Jul 2014 03:57:16 +0000 (11:57 +0800)]
Removing the weak checks for required libs in doctor
Frederic Massart [Tue, 22 Jul 2014 03:35:32 +0000 (11:35 +0800)]
Reformating from markdown to reStructuredText
Frederic Massart [Tue, 22 Jul 2014 02:39:34 +0000 (10:39 +0800)]
Updating the requirements to the latest versions
Frederic Massart [Tue, 22 Jul 2014 02:38:35 +0000 (10:38 +0800)]
Prefer using external packages rather than shipping MySQL lib
Frederic Massart [Tue, 22 Jul 2014 02:31:43 +0000 (10:31 +0800)]
Prefer using external packages rather than shipping PgSQL lib
Frederic Massart [Tue, 22 Jul 2014 02:27:20 +0000 (10:27 +0800)]
Resolve scripts using the package resource API
Frederic Massart [Tue, 22 Jul 2014 02:14:46 +0000 (10:14 +0800)]
Removing test file
Frederic Massart [Tue, 22 Jul 2014 01:51:06 +0000 (09:51 +0800)]
Wrapping main logic into a main function
Frederic Massart [Mon, 21 Jul 2014 09:27:53 +0000 (17:27 +0800)]
Allowing the package to be executed from different entry points
Frederic Massart [Mon, 21 Jul 2014 09:13:17 +0000 (17:13 +0800)]
Fixing all the imports \o/
Frederic Massart [Mon, 21 Jul 2014 08:53:10 +0000 (16:53 +0800)]
Fix path to config files
Frederic Massart [Mon, 21 Jul 2014 08:36:45 +0000 (16:36 +0800)]
Reorganising files to make a package
Andrew Nicols [Fri, 6 Jun 2014 04:09:59 +0000 (12:09 +0800)]
Pass through the phpunit --filter option. Fixes 84
Frederic Massart [Mon, 21 Jul 2014 02:08:51 +0000 (10:08 +0800)]
Ensure that database name does not exceed 28 chars. Fixes #87
Frederic Massart [Mon, 21 Jul 2014 02:04:12 +0000 (10:04 +0800)]
Merge branch 'prefixdbname' of git://github.com/mudrd8mz/mdk
Conflicts:
config-dist.json
Frederic Massart [Mon, 21 Jul 2014 01:59:39 +0000 (09:59 +0800)]
Reorganised undev lang caching code. Fixed #88
Frederic Massart [Mon, 21 Jul 2014 01:56:38 +0000 (09:56 +0800)]
Merge branch 'dev-langstringcache' of git://github.com/mudrd8mz/mdk into devstring
Frederic Massart [Mon, 21 Jul 2014 01:53:32 +0000 (09:53 +0800)]
Merge branch 'master' of github.com:FMCorz/mdk
Frederic Massart [Mon, 21 Jul 2014 01:50:47 +0000 (09:50 +0800)]
Adding support for MariaDB. Fixes #90
Frederic Massart [Mon, 21 Jul 2014 01:28:10 +0000 (09:28 +0800)]
Bump to version 1.3-dev
David Mudrák [Fri, 4 Jul 2014 21:19:27 +0000 (23:19 +0200)]
Re-enable langstringcache via undev script
David Mudrák [Fri, 27 Jun 2014 12:38:11 +0000 (14:38 +0200)]
Add support for optional db.namePrefix setting
Currently, the default database name is the same as the Moodle instance's name.
This is suboptimal for development setups where the database engine is used for
other projects as well (Moodle developer can easily have Mahara or Mediawiki
databases present as well, for example).
I believe it's a good idea to make it clear that certain database is under
mdk's control. Having a prefix (such as `mdk_`) seems to work well.
David Mudrák [Fri, 4 Jul 2014 11:52:43 +0000 (13:52 +0200)]
Do not cache strings in dev mode
Frédéric Massart [Mon, 30 Jun 2014 09:00:08 +0000 (17:00 +0800)]
Merge pull request #85 from mudrd8mz/fix-sessioncookiepath
Respect the 'path' config when setting $CFG->sessioncookiepath
David Mudrák [Fri, 27 Jun 2014 09:37:32 +0000 (11:37 +0200)]
Respect the 'path' config when setting $CFG->sessioncookiepath in config.php
Setups using the 'path' config ended with invalid $CFG->sessioncookiepath set
in config.php (always expecting the moodle is in the root). Moodle core itself
has checks for this so the value set in config.php was ignored in that case.
Frederic Massart [Wed, 4 Jun 2014 08:12:40 +0000 (16:12 +0800)]
Do not try to enrol deleted users
Frederic Massart [Wed, 4 Jun 2014 04:04:41 +0000 (12:04 +0800)]
Suffix was never parsed from branch name
Frederic Massart [Mon, 12 May 2014 08:00:09 +0000 (16:00 +0800)]
Bump to version 1.2.1
Frederic Massart [Mon, 12 May 2014 07:58:03 +0000 (15:58 +0800)]
Adding 2.7 tracker fields
Andrew Nicols [Mon, 12 May 2014 04:55:11 +0000 (12:55 +0800)]
Add Documentation support to the JS command
Frederic Massart [Mon, 12 May 2014 03:51:04 +0000 (11:51 +0800)]
Bump to version 1.2
Frederic Massart [Mon, 12 May 2014 03:50:50 +0000 (11:50 +0800)]
Updating changelog
Frederic Massart [Mon, 12 May 2014 03:50:42 +0000 (11:50 +0800)]
Updated masterBranch to 28
Frederic Massart [Mon, 12 May 2014 03:48:04 +0000 (11:48 +0800)]
Bash completion for JS command
Frederic Massart [Mon, 12 May 2014 03:47:34 +0000 (11:47 +0800)]
Updating readme file for JS command
Frederic Massart [Mon, 12 May 2014 03:42:42 +0000 (11:42 +0800)]
Add watchdog to JS shift command
Frederic Massart [Mon, 12 May 2014 03:33:50 +0000 (11:33 +0800)]
Resolve plugin path before subsystem
Frederic Massart [Fri, 9 May 2014 09:36:09 +0000 (17:36 +0800)]
New JS command
Frederic Massart [Fri, 9 May 2014 09:00:31 +0000 (17:00 +0800)]
PluginManager can find out a subsystem or plugin from a path
Frederic Massart [Fri, 9 May 2014 08:56:42 +0000 (16:56 +0800)]
Sub plugin types paths start with a / like plugin types
Frederic Massart [Fri, 9 May 2014 07:46:00 +0000 (15:46 +0800)]
Adding support for subsystems in PluginManager
Yup, it should not really have been mixed up with plugins,
but I am sort of lazy to write 'component' library so
it will be there for now, and I am sure we will live with it.
Also, why the hell did I make that class with only static
methods? I must have had a reason at the time...
Frederic Massart [Fri, 9 May 2014 07:26:53 +0000 (15:26 +0800)]
Not every subplugins were found by the plugin manager
Frederic Massart [Tue, 6 May 2014 06:11:30 +0000 (14:11 +0800)]
Git fetch returns false when failed
Frederic Massart [Thu, 17 Apr 2014 06:54:15 +0000 (14:54 +0800)]
Added new plugin type availability, and tool subtype
Frederic Massart [Wed, 16 Apr 2014 05:07:33 +0000 (13:07 +0800)]
Missing import of datetime in pull command
Frederic Massart [Tue, 15 Apr 2014 08:05:06 +0000 (16:05 +0800)]
Bump to version 1.2-dev
Frederic Massart [Tue, 15 Apr 2014 08:02:28 +0000 (16:02 +0800)]
Bump to version 1.1