Marina Glancy
ef1759da74
MDL-80820 various: fix incorrect phpdocs
2024-04-08 10:13:10 +01:00
Leon Stringer
22825647d4
MDL-72035 csvlib: Write BOM for Excel
...
Add option to class csv_export_writer to prefix CSV file with UTF-8 byte
order mark (BOM). This helps Microsoft Excel detect the file's character
encoding.
2021-06-30 15:04:16 +01:00
sam marshall
225eb7b27e
MDL-66679 Forms: Submit button remains disabled after file download
...
When you download a file directly from a Moodle form submit button,
the submit button disables when you click it, but you remain on that
page so we need to re-enable the button.
This commit causes it to re-enable once the file download finishes,
setting a temporary cookie to indicate this to the JavaScript code.
It also adds a method to disable the system on a given form by
setting data-double-submit-protection="off".
2019-10-30 16:36:28 +00:00
Tim Hunt
a866538b9b
MDL-47649 csvlib: must not leave files open
...
I added a destructor to csv_import_reader ensure the file is closed.
I also ensured that the gradeimport_csv unit tests did not hold onto a
reference to the csv_import_reader object while the phpunit framework
tries to tidy up moodledata.
Finally, to stop CiBoT complaining, I fixed up the PHP4-style
declarations in the CSV import class.
2014-10-14 10:36:25 +01:00
Tony Butler
1e31f11852
MDL-28484 core_lib: Add function for https detection
...
Signed-off-by: Tony Butler <tonyjbutler@gmail.com>
2014-10-03 13:02:29 +01:00
Damyon Wiese
ad5ab383e6
MDL-46548 behat: Prevent force file save as for some pages we want to test with behat.
2014-08-04 16:18:32 +08:00
David Monllao
03bdb0a7c2
MDL-46504 libraries: Fixing typo
2014-07-24 11:15:36 +08:00
Petr Škoda
2f1e464a88
MDL-40438 migrate all collatorlib:: and textlib:: uses
2013-08-06 21:04:35 +02:00
Petr Škoda
667447d129
MDL-39052 create temp files only in Moodle temp folder
2013-04-16 09:38:28 +02:00
Dan Poltawski
64f7d154db
Merge branch 'wip-MDL-36113-master' of git://github.com/abgreeve/moodle
...
Conflicts:
lib/tests/csvclass_test.php
2012-11-07 15:40:06 +08:00
Adrian Greeve
415a6ffcc8
MDL-36113 - lib: Importing csv entries with empty lines in the middle doesn't throw errors.
2012-11-07 15:34:29 +08:00
Adrian Greeve
1222dc52e1
MDL-36365 - lib: The csv class now reads tab separated files with tabs at the end of the file.
2012-11-07 14:02:39 +08:00
Adrian Greeve
f417479e3d
MDL-35850 - Lib - csv files are now trimmed for white space and new lines at the end of the file.
2012-10-09 13:16:26 +08:00
Adrian Greeve
96729f6d2d
MDL-34075 - lib - Alteration to the csv import lib to include rfc-4180 compliance
2012-08-28 09:23:16 +08:00
Dan Poltawski
40a37bf974
Revert "MDL-34075 - lib - Alteration to the csv import lib to include rfc-4180 compliance"
...
This reverts commit 92dfce6be7a01618f5f665391d5e9c7e582a7b93.
2012-08-08 13:44:03 +08:00
Sam Hemelryk
563c436ece
Merge branch 'wip-MDL-34075-master' of git://github.com/abgreeve/moodle
2012-08-08 14:24:09 +12:00
Adrian Greeve
9a5abd1b70
MDL-34074 - lib - Creation of a csv upload class which is FRC 4180 compliant and the alteration of various files around Moodle to use this class.
2012-08-02 13:18:57 +08:00
Adrian Greeve
92dfce6be7
MDL-34075 - lib - Alteration to the csv import lib to include rfc-4180 compliance
2012-07-30 11:34:11 +08:00
Petr Skoda
f20edd5208
MDL-32094 fix various E_STRICT compatibility problems
2012-03-18 18:37:24 +01:00
Petr Skoda
f8311defeb
MDL-31301 use static textlib methods
2012-03-03 11:46:13 +01:00
Tom Lanyon
af9b14446d
MDL-28701 Change uses of make_upload_directory(temp) to make_temp_directory().
2011-09-10 10:43:49 +02:00
Tom Lanyon
7aa06e6ded
MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir
2011-09-10 10:35:39 +02:00
Petr Skoda
eab8ed9fb7
fixed a few spelling errors in /admin/
2010-09-17 10:27:26 +00:00
Aparup Banerjee
d2d38c4651
lib MDL-23180 put in obviously missed global $CFG.
2010-09-02 06:34:48 +00:00
Petr Skoda
71904f4d2b
MDL-23984 make_upload_directory() cleanup - we now throw exceptions by default which should prevent a lot of strange problems
2010-08-29 14:59:14 +00:00
Petr Skoda
78bfb562a0
MDL-21249 improved php docs and adding direct access prevention in core libs
2010-07-25 13:35:05 +00:00
Petr Skoda
6f5e085205
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 16:48:45 +00:00
Petr Skoda
117bd74897
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 11:31:16 +00:00
samhemelryk
3564771d6b
lib MDL-19236 added phpdocs and copyrights
2009-05-22 08:41:00 +00:00
dongsheng
e49ef64a2e
"MDL-14129, fix print_error"
2008-05-15 03:07:21 +00:00
dongsheng
5a2a53316f
MDL-14129, remove all the other error() call
2008-04-04 02:54:20 +00:00
skodak
e4e38544f8
MDL-11996 bulk user upload - improvements, bugfixes and cleanup;
...
new csv import library included ;-)
2007-11-05 00:43:37 +00:00