Commit Graph

24 Commits

Author SHA1 Message Date
Juan Leyva c8a804ff68 MDL-57920 mod_data: Refactor search array creation 2017-03-30 01:53:35 +02:00
Juan Leyva aefe9c5faa MDL-57919 mod_data: Refactor and new method get_configs_for_external 2017-03-29 11:38:38 +02:00
Damyon Wiese 398be7c897 MDL-56725 mod_data: coding style
Fixes from lines in the previous commit.
2016-11-10 16:21:01 +08:00
Damyon Wiese e85fda95c6 MDL-56725 mod_data: Style fixes for boost theme 2016-11-10 16:21:01 +08:00
Devang Gaur 2af9ad7d30 MDL-55127 mod_data: added database entries to globalsearch 2016-08-19 13:58:19 +05:30
Adrian Greeve 8611d1dfc7 MDL-53402 mod_data: Required fields can contain 0.
The number and text field would not accept 0 as a
valid response.
2016-05-02 13:24:01 +08:00
David Mudrák a5fae3b0d2 MDL-52727 mod_data: Improve output of the form fields values
This issue mostly affects the search form fields. Submitted values for
these fields are typically obtained via optional_param() with
PARAM_NOTAGS specified as the parameter type - see parse_search_field()
methods. Such values themselves are not safe enough to be printed back
directly into the HTML as they might contain malicious code.

While working on the patch, some other places with weak protection were
detected and fixed.

In case of the itemid parameters, explicit clean_param() is added to
make sure we cast the value as an integer. That should make the s()
unnecessary but it was added anyway as an extra protection (just in case
the code flow changes or the parts of the code are re-used elsewhere).
2016-03-07 22:08:46 +01:00
Rossiani Wijaya 01f8e80def MDL-34563 accessibility compliance for data module: Add forform input text and select tag 2012-08-13 15:13:07 +08:00
Sam Hemelryk 3211569a6a Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
This reverts commit f9f281b8fe.
2012-04-11 17:18:58 +12:00
Rossiani Wijaya f9f281b8fe MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag 2012-03-30 16:26:58 +08:00
Petr Skoda 431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Eloy Lafuente be4d5a927b MDL-21437 data - latlong, menu, radiobutton, text, textarea, url 2010-11-17 19:27:47 +00:00
Petr Skoda 800bb0f70f MDL-24079 mod/data now using new sql_like 2010-09-04 14:08:03 +00:00
Petr Skoda 1adbd2c350 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 14:55:15 +00:00
skodak 8429163db9 MDL-16493 file and picture element migrated; waiting for file picker to mature, presets not finished yet 2008-09-14 08:22:44 +00:00
skodak e348793639 MDL-15106 towards data mod dml conversion 2008-06-06 08:39:44 +00:00
toyomoyo 7900ecb02c MDL-5958, code for advanced search for db module from Elijah (HSU) 2007-02-26 06:56:05 +00:00
moodler 0997e51afe Lots and lots and lots of cleanup for the data module code, mostly
to do with how the field classes worked.  Now it should be even easier
for developers.

No changes for users.  :-P

The changes are not well tested yet!
2006-03-22 08:07:26 +00:00
moodler 7261578f34 Fixing typos 2006-03-10 09:08:04 +00:00
toyomoyo f055d14bed fix for string type sort error, bug 4823 2006-02-23 02:34:46 +00:00
moodler 8e71ea9540 fixing conflicts 2006-01-20 01:53:50 +00:00
moodler add19b0736 Cleaned up test code.
Committed by Vy-Shane Sin Fat <vyshane@moodle.com>
2006-01-19 03:11:12 +00:00
moodler 9e1ae324f9 Textarea field type support for the data module.
Committed by Vy-Shane <vyshane@moodle.com>
2006-01-18 08:31:14 +00:00
moodler 3d4b223a85 NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.

Please take a look and file bugs in the bug tracker under "Database module".

We urgently need
    - new icons for existing field types
    - testing on PostgreSQL install


Coming soon (?):

    - Many more field types:  calculation, checkbox, relation, date, datetime,
                              time, email, group, list, user, number, richtext
      (Please let us know if you are interested in developing any of these)

    - A way to save and restore "presets", which are field/template sets

    - Backup/Restore support

    - Groups Support

    - RSS support

Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00