1389 Commits

Author SHA1 Message Date
vyshane
bad7f9e00a Removed debugging output from /mod/data/lib.php
New icons for field types
2006-02-02 10:12:30 +00:00
vyshane
c87fbb27e1 Removed autolink support from radio button field (not needed).
Fixed bug for empty muti menu and multi checkbox fields.
Added "Choose..." as first item in single selection menu. Added relevant
string in en language.
Updated /mod/data/lib.php, function store_data_content() so that we store
empty content for fields too.
2006-02-02 06:28:17 +00:00
vyshane
88f47f81bc Removed autolink form radio button field (not needed). 2006-02-01 06:59:57 +00:00
vyshane
2806b95ca2 Modification to make field use content1 column in data_content table 2006-02-01 05:13:01 +00:00
vyshane
22e192c9f0 Added language strings for multi-selection menu and checkbox fields. 2006-02-01 05:11:23 +00:00
vyshane
2c5c1418bb Added multi-selection menu field support. 2006-02-01 05:09:59 +00:00
vyshane
4728968fc7 Checkbox field support 2006-02-01 05:08:51 +00:00
vyshane
f1ad19bcae Fixed update display bug in the menu field.
Updated following fields so that they do not pack data into
data_content.content, but use data_content.content, data_content.content1,
etc:

- URL field
- File field
- Picture field

Note that above changes to the way data is stored means that the new
implementation is not compatible with previous version.

Updated textarea field. Added relevant help messages. Added richtext editor
support. Removed ability to restrict allowed formats for the textarea field.

Misc bug fixes and display tweaks.
2006-01-31 04:25:46 +00:00
vyshane
5f5bcda8b4 Added richtext support for textarea, plus relevant help buttons. Made fields
use column content1, content 2, etc. instead of packing everything into
content.
2006-01-31 03:58:42 +00:00
moodler
136b6ab33f changed to use utfconvert function 2006-01-31 02:15:21 +00:00
vyshane
113782126c Modifications to use new columns in data_content table
Modifications to support different text formats
2006-01-25 09:21:17 +00:00
vyshane
eefe4f9720 Modifications to use new columns in data_content table 2006-01-25 09:18:29 +00:00
vyshane
c91c24d7e3 Modifications to bring in line with the changes to database structure.
Vy-Shane
2006-01-25 09:10:14 +00:00
moodler
e70813cf37 Cleaned up text field params (textarea does this now) 2006-01-24 02:20:51 +00:00
moodler
54cf0d092f Fixed a parameter check 2006-01-24 02:07:13 +00:00
moodler
35bcb325f6 Added textarea field type.
Committed by Vy-Shane <vyshane@moodle.com>
2006-01-20 02:38:11 +00:00
toyomoyo
9a1a27b8fa removing \ 2006-01-20 02:26:37 +00:00
moodler
8e71ea9540 fixing conflicts 2006-01-20 01:53:50 +00:00
moodler
75785350dc fixing the conflicts, sorry >_< 2006-01-20 01:37:34 +00:00
moodler
d22f58a2d7 bug fix for 4615 2006-01-20 01:19:33 +00:00
moodler
dfe9354f2e db changes to data_content table 2006-01-19 09:06:22 +00:00
moodler
7972cc46bd Updated language strings
Committed by Vy-Shane Sin Fat
2006-01-19 08:59:30 +00:00
moodler
176e5c6c8e Made updating a field use PARAM_NOTAG instead of PARAM_ALPHA
Committed by Vy-Shane Sin Fat <vyshane@moodle.com>
2006-01-19 08:51:34 +00:00
moodler
bfadc7ef00 New field for menus 2006-01-19 08:22:01 +00:00
moodler
f5d4ea3242 New field type for radio buttons 2006-01-19 08:18:27 +00:00
moodler
5054fba2cc fixing some typos 2006-01-19 03:32:47 +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
b4ede3f342 Committing icon.gif. This is just a temporary icon. We need to replace it eventually.
Vy-Shane Sin Fat <vyshane@moodle.com>
2006-01-18 08:36:15 +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
toyomoyo
9b52161279 some small fix 2006-01-18 08:02:16 +00:00
toyomoyo
816039b5fa adding back up and restore functionality, but the user back up and restore part is not working yet 2006-01-18 06:58:50 +00:00
moodler
f6691427d9 Added default values where needed for columns in the MySQL creation script mysql.sql.
Added default values to migrate2utf8.xml, for any varchar and text field types, if the default values for these fields were not defined as '' in the MySQL table creation script.

Committed by vyshane
2006-01-17 07:37:29 +00:00
mjollnir_
1ecea97679 Granular backup & restore:
This patch allows the much requested selection of individual instances of modules within a course to backup and restore.
It needs A LOT of testing and probably some prettyifying too.
2006-01-13 03:45:31 +00:00
toyomoyo
7c5406967d some bug fixes 2006-01-12 02:39:13 +00:00
toyomoyo
1e4d9ff6dc utf8 migration support scripts 2006-01-09 06:06:49 +00:00
martinlanghoff
11eb0ee62c mod/data: tidyup of Postgres schema -- thanks to Nigel McNie 2005-12-12 03:32:55 +00:00
moodler
68c88622ac fixed a little search bug >_< 2005-12-05 08:56:48 +00:00
moodler
27b219f16c fix for XSS exploit in search 2005-12-05 03:11:32 +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