- 22 Jan, 2019 1 commit
-
-
behatnotneeded Change-Id: I17a2c50f0d6be15a4d00a1917895c3908a60b02c Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz> (cherry picked from commit 20f76ffc)
-
- 20 Mar, 2017 10 commits
-
-
Cecilia Vela Gurovic authored
Final customizations for the upgrade. Files removed: composer.json docs/ drivers/adodb-ads.inc.php drivers/adodb-oci8quercus.inc.php drivers/adodb-pdo_sqlsrv.inc.php any files from lang/ not adodb-en (the only one we use) behatnotneeded Change-Id: I1bf07086f94dc8d206d7e164f109e50dd835703f Signed-off-by:
Cecilia Vela Gurovic <ceciliavg@catalyst.net.nz>
-
(cherry picked from 08939ca2 ) behatnotneeded Change-Id: Ic725327bff0e6c399c3ddb33ab3e021f19e4eadf Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Cecilia Vela Gurovic authored
(cherry picked from ac9e5527) behatnotneeded Change-Id: Ie804114aebfdf93b5a54cec180eac42d4178d88e
-
Everyong on mysql should be using the mysqli.inc.php one behatnotneeded Change-Id: I21929377dcec2024a3ceb90e45f0d30fe34effc4 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Bug 1672867 Use the original code from ADODB 5.20.5 (Cherry-picked from 60631719) behatnotneeded Change-Id: I9e4f7cca8debe2e79057f1c96b6dfd072a437317
-
Bug 1672867 As they are needed by ADONewConnection even when ADODB_EXTENSION is above 4.0 (cherry-picked from 741aa7d2 ) behatnotneeded Change-Id: I25ada1a0ad9f69a839eed7db219b8af8033675d2 Signed-off-by:
Cecilia Vela Gurovic <ceciliavg@catalyst.net.nz>
-
Bug 1672867 Was originally part of commit 55a8deb8 but have moved it out to own patch for purposes of adodb version update (cherry-picked from f9818ff6 ) behatnotneeded Change-Id: Ie76bbe5b6b015246937b90b2782c0398243a69b8 Signed-off-by:
Cecilia Vela Gurovic <ceciliavg@catalyst.net.nz>
-
Bug 1672867 On the principle that it's good secur1ty to remove executables you're not likely to use, clearing out all the bits of ADOdb we're currently not using. This includes drivers and data dictionaries for other DBs, tests, docs, icons, PHP4 session code, pear auth container, and non-English error messages. (cherry-picked from 9d44b44a ) behatnotneeded Change-Id: I785aa139b11831f1a68bd806234729d85b8ed7d1 Signed-off-by:
Cecilia Vela Gurovic <ceciliavg@catalyst.net.nz>
-
Bug 1672867 This reconnects to the db after wakeup, as resource types cannot be serialized and unserialized. This is necessary for unit tests, phpunit backups and restore globals between each test. (cherry-picked from 41707745 ) Change-Id: I30bab7417edb548bdbbe39070562ca9e7b10075a Signed-off-by:
Cecilia Vela Gurovic <ceciliavg@catalyst.net.nz>
-
Bug 1672867 Indexes on functions of columns have a 0 in the indkey column of pg_catalog.pg_index, which doesn't refer to a column. Don't return any columns for the index, rather than returning an empty column name. (cherry-picked from b87d9961 ) behatnotneeded Change-Id: I1d4ba7fa1013b6ed702d00ee1e9ad88783863b1e Signed-off-by:
Cecilia Vela Gurovic <ceciliavg@catalyst.net.nz>
-
- 16 Mar, 2017 1 commit
-
-
See Eduforge #2318 or LP #547951. (cherry picked from commit 4bdafccb ) Change-Id: I760074378fe3a447f9e0e819af1afd136df1f8a0 Signed-off-by:
Cecilia Vela Gurovic <ceciliavg@catalyst.net.nz>
-
- 15 Mar, 2017 2 commits
-
-
And implicit count() of the array keys/columns. This shaves a good 5% of the exec time of get_records('config') (cherry picked from commit 4652e561 ) Change-Id: I84feb5963e0506efa89a13102658b05d0aad38b2 Signed-off-by:
Francois Marier <francois@catalyst.net.nz>
-
Cecilia Vela Gurovic authored
behatnotneeded Change-Id: I01902e8dc67c873da5a6d0c3012118764c0c47ad
-
- 09 Dec, 2016 1 commit
-
-
Robert Lyon authored
Rather than shortname/institution pair Need to fix up how mysqli checks for index when table name is reserved word behatnotneeded - existing test should be ok Change-Id: I62e776a5497671f9455929a21d279f76cf3f4345 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 01 Sep, 2016 2 commits
-
-
Son Nguyen authored
This reverts commit 6736c637.
-
Son Nguyen authored
This reverts commit 60631719.
-
- 31 Aug, 2016 1 commit
-
-
Son Nguyen authored
Use the original code from ADODB 5.20.5 behatnotneeded Change-Id: Id6d1d365ed2db783884172ca430488d5fcdcc1d9
-
- 15 Aug, 2016 7 commits
-
-
Robert Lyon authored
As they are needed by ADONewConnection even when ADODB_EXTENSION is above 4.0 behatnotneeded Change-Id: I63b90f47f5ec0f3ef00905c91f20f35a55e07885 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
Bug 1539346 Was originally part of commit 55a8deb8 but have moved it out to own patch for purposes of adodb version update Change-Id: Ifba78f8e1cd57d9489c737fd69ee45a8218d157b Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Bug 1539346 This reconnects to the db after wakeup, as resource types cannot be serialized and unserialized. This is necessary for unit tests, phpunit backups and restore globals between each test. (cherry picked from commit 41707745 ) Change-Id: I1a007d0f56dc0e210c3f09e8445c0e56215b9545 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
Bug 1539346 Indexes on functions of columns have a 0 in the indkey column of pg_catalog.pg_index, which doesn't refer to a column. Don't return any columns for the index, rather than returning an empty column name. (cherry picked from commit b87d9961 ) Change-Id: I9854b99d4937b3fea1ebb44e3abed2e64446afdb Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
See Eduforge #2318 or LP #547951. Bug 1539346 (cherry picked from commit 4bdafccb ) Change-Id: I6dd4bdd484528a09b336efa241f0464136f5f7a0 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Bug 1539346 And implicit count() of the array keys/columns. This saves a good 5% of the exec time of get_records('config') (cherry picked from commit 4652e561 ) Change-Id: I18aeb0d1635719bec5574005f2dd93e3db32b9e6 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
behatnotneeded Change-Id: I0ae73d8d82a386fb6ce3d0e544c4824ec3ed5860 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 03 Jun, 2016 1 commit
-
-
Robert Lyon authored
Everyong on mysql should be using the mysqli.inc.php one behatnotneeded Change-Id: I30b689af33c7bcfde304bcc2504d9d7ab26a0458 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 20 Oct, 2015 1 commit
-
-
behatnotneeded: error appears in error log Change-Id: Ic816248ee56bcae7daa1f13c768afdab92c95b23 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 07 Sep, 2015 1 commit
-
-
Robert Lyon authored
All the others use 'Website' and 'Source' is used in other places to indicate where a fix patch/commit came from. Change-Id: I788faa2679afceae9d0749e84e583cfe7072937d Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 10 Aug, 2015 1 commit
-
-
Robert Lyon authored
behatnotneeded Change-Id: Id5b2a01d1ac240cdb271bfc952c41691a4bc4287 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 03 Mar, 2015 1 commit
-
-
Nigel Cunningham authored
This patch adds a JSON progress meter (I'll call it that to avoid confusion with progress bars) to the bulk uploading of users, groups and group memberships and the bulk export and import of users (LEAP), so the user can see the progress of the operation and not just the submit button changed to 'Processing..' and whatever indication their browser gives while waiting for content. The bulk export and import are minor rewrites, replacing the old iframe based progress bar and the associated multiple pages and additional template file in the case of the bulk export, and the recursive redirect-to-self of the bulk import. To accomplish the display of the progress bar during the operation, we make the PHP session be closed (read only) except when changes need to be made. This is for the most part a straightforward change in session.php as it's the only direct accessor. In other places, we replace direct accessing of the session variable ($_SESSION) with use of the session class ($SESSION) so that it can reopen the session, make the change and close the session again. There is one more aspect to all of this: with previous behaviour, multiple requests for the same session would queue, taking the session lock in turn. After this patch is applied, they can proceed in parallel, allowing greater throughput. There is no additional locking requirement because the issues are the same as those already dealt with in allowing multiple PHP threads to process requests from different sessions at the same time. I have sought to make the progress meter nice and generic, so it can be used in the other bulk imports and exports too. Paradoxically, these changes don't just make the import seem to be faster, it actually is.. at least in the case of users and groups. Times for importing 1000 users, groups and memberships, averaged over 3 runs each (Wall time, not CPU time - but the relationship is the same). Without Progress With Progress Users 166s 155s Groups 85s 78s Memberships 20s 19s Change-Id: Iec15c57db32c77994edb80c71d65591de51a95e4 Signed-off-by:
Nigel Cunningham <nigelc@catalyst-au.net>
-
- 04 Dec, 2014 6 commits
-
-
Robert Lyon authored
Changing the value from postgres7 to postgres as we are really only supporting postgres 8.3+ Also updated the list of reserved keywords to contain all the reserved keywords that exist in postgres 8.3. And added new postgres 9.3 reserved words to end of list Change-Id: Ia233b8f21bff9983cf6918691283886467a607e4 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Penny Leach authored
Bug 1384473 This reconnects to the db after wakeup, as resource types cannot be serialized and unserialized. This is necessary for unit tests, phpunit backups and restore globals between each test. (cherry picked from commit 41707745 ) Change-Id: I00f38a6cf101019fb684b4f5c9b40c2d937b614d Signed-off-by:
Penny Leach <penny@mjollnir.org> Signed-off-by:
Andrew Robert Nicols <andrew.nicols@luns.net.uk> Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
Bug 1384473 Indexes on functions of columns have a 0 in the indkey column of pg_catalog.pg_index, which doesn't refer to a column. Don't return any columns for the index, rather than returning an empty column name. (cherry picked from commit b87d9961 ) Change-Id: Idd9bcdd04f15c99e76e028d62236a4d932ee845c Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Francois Marier authored
See Eduforge #2318 or LP #547951. Bug 1384473 (cherry picked from commit 4bdafccb ) Change-Id: I0e38e7f4f4e8da35f6c9f8e728213c2218e9a36f Signed-off-by:
Francois Marier <francois@catalyst.net.nz> Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Martin Langhoff authored
Bug 1384473 And implicit count() of the array keys/columns. This saves a good 5% of the exec time of get_records('config') (cherry picked from commit 4652e561 ) Change-Id: I1b1addb0ade04eabc4d923d242261ed09fae4cea Signed-off-by:
Francois Marier <francois@catalyst.net.nz> Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
Includes fixes for: mysql/mysqli: Fix ability for MetaTables to filter by table name, broken since 5.15. See http://phplens.com/lens/lensforum/msgs.php?id=19359 postgres8: New class/type with correct behavior for _insertid(). postgres9: Fixed assoc problem. See http://phplens.com/lens/lensforum/msgs.php?id=19296 Change-Id: If54f95815015ab9b7f58e102fb6c65cd086b8ac2 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 11 Oct, 2013 1 commit
-
-
Aaron Wells authored
Bug 1238424 Signed-off-by:
Aaron Wells <aaronw@catalyst.net.nz> Change-Id: Id87addb9cbd42a7b56757d49788331a578ca4e4c
-
- 23 Sep, 2013 1 commit
-
-
Aaron Wells authored
Upgrade our ADODB driver from the long-obsolete mysql driver to the actively developed mysqli driver Bug 1187964: The biggest improvement is that the ADODB mysqli driver actually supports transactions! Change-Id: I8e55ea28cd6e6b8ed5c883646c1172d318af5554
-
- 31 May, 2013 1 commit
-
-
Aaron Wells authored
On the principle that it's good secur1ty to remove executables you're not likely to use, clearing out all the bits of ADOdb we're currently not using. This includes drivers and data dictionaries for other DBs, tests, docs, icons, PHP4 session code, pear auth container, and non-English error messages. Change-Id: Ibf059ed1d0d7dafbbce16589ead2c0a006e3fcdd Signed-off-by:
Aaron Wells <aaronw@catalyst.net.nz>
-
- 16 May, 2013 1 commit
-
-
Aaron Wells authored
Bug #1180625 ADOdb 5.18, downloaded form http://sourceforge.net/projects/adodb/files/adodb-php5-only/adodb-518-for-php5/ I've cherry-picked the following Mahara commits onto it: 1. adodb: fix MySQL bug on installing Mahara This was reported in the forums by Bruce Ellis: http://mahara.org/interaction/forum/topic.php?id=131 and corresponds to Eduforge #3159 and LP #547934. (cherry picked from commit e7029e5f) 2. adodb: RecordSet_postgres7->MoveNext() - remove expensive is_array() implicit count() of the array keys/columns. This shaves a good 5% of the exec time of get_records('config') (cherry picked from commit 04ef8a3b) 3. adodb: check for Postgres 8.1 See Eduforge #2318 or LP #547951. (cherry picked from commit c6dfccad) 4. Check for valid columns in adodb postgres64 driver MetaIndexes fn (bug #796102) Indexes on functions of columns have a 0 in the indkey column of pg_catalog.pg_index, which doesn't refer to a column. Don't return any columns for the index, rather than returning an empty column name. (cherry picked from commit b87d9961) 5. Bug #841711: ADODB modification: add __wakeup to connection object This reconnects to the db after wakeup, as resource types cannot be serialized and unserialized. This is necessary for unit tests, phpunit backups and restore globals between each test. (cherry picked from commit 41707745 ) Change-Id: I888bfc0cfb6acfc58adf1b416580c4b5ddd70732 Signed-off-by:
Aaron Wells <aaronw@catalyst.net.nz>
-