268 Commits

Author SHA1 Message Date
moodler
c29bbe8bfc Made the glossary upgrade use less memory bug 985 2004-08-12 15:59:23 +00:00
stronk7
cd2bf3309c Now upgrade and restore processes enable editalways for old
secondary glossaries. Smooth transition. Thanks, Martin! :-)

Bug 1445
(http://moodle.org/bugs/bug.php?op=show&bugid=1445)
2004-08-09 19:20:42 +00:00
stronk7
ff1e2621f3 Now editalways is working in glossaries.
Decide if an entry is editable:
-It isn't a imported entry (so nobody can edit a imported (from secondary to main) entry)) and
-The user is teacher or he is a student with time permissions (edit period or editalways defined).

Bug 1445
(http://moodle.org/bugs/bug.php?op=show&bugid=1445)
2004-08-09 15:04:36 +00:00
moodler
5ea17e17cf Fixed some typos etc. :-) 2004-08-09 01:39:40 +00:00
stronk7
2b1b11c606 Now the RSS link is showed in the list of glossaries.
Bug 1706
(http://moodle.org/bugs/bug.php?op=show&bugid=1706)
2004-08-08 18:44:45 +00:00
stronk7
48429e57e6 Avoid one notice when creating a new glossary. 2004-08-08 18:31:09 +00:00
moodler
df1c46115b Improvement to filters, providing speed boost AND better compatibility
with Turck MMCache.

Filter function must now have a particular name

   eg resource_filter

where "resource" is the name of the directory that filter.php is in.
2004-08-08 06:57:44 +00:00
stronk7
44d6ae6df4 Applied the same checks than to the forum to generate
glossary rss feeds only when necessary.
My only dude is if we should use the modification time instead
of the creation time (here and in forums...).
2004-08-05 20:10:07 +00:00
stronk7
ba29c4a9e0 TODO updated. 2004-08-03 17:27:28 +00:00
stronk7
8d8275a5c5 TEMPLATE format for glossaries. It is self-documented, but some
review will be welcome...ciao :-)
2004-08-02 21:53:47 +00:00
stronk7
7749579343 Some changes to the formats plugin detection function
and minor changes to some functions.
2004-08-02 21:44:06 +00:00
stronk7
e58b1d1eda Reload current glossary format from DB, because
the plugin system can changed it automatically.
2004-08-02 21:41:49 +00:00
stronk7
b99e90b08d Modified pending formats to be more structured. No visual changes. 2004-08-02 18:22:47 +00:00
stronk7
26983d03b8 Minor changes to make things into formats easier. 2004-08-01 00:17:07 +00:00
stronk7
2ff5bb1cc6 More glossary formats checked and slighty modified... 2004-08-01 00:16:17 +00:00
stronk7
d653f27820 Small typo 2004-07-31 16:03:57 +00:00
paca70
edf693decf Wery quickly tested and untested versions for Postgresql. 2004-07-28 08:51:05 +00:00
stronk7
a359c29b79 Bulk changes to support plugin-formats in glossaries.
See the TODO.txt to get details about pending tasks.
The db upgrade should work fine (not tested under postgresql).
The plugin architecture is finished too.
See Bug 936.
(http://moodle.org/bugs/bug.php?op=show&bugid=936)
2004-07-27 17:19:47 +00:00
stronk7
eaa9a06849 Removed old glossary formats.
Part of the new formats plugin structure.
See Bug 936
(http://moodle.org/bugs/bug.php?op=show&bugid=936)
2004-07-27 17:13:37 +00:00
stronk7
ff15865f44 Changed glossary_alias->alias from text to varchar(255).
Not mandatory but...
See Bug 1398
(http://moodle.org/bugs/bug.php?op=show&bugid=1398)
2004-07-23 17:37:21 +00:00
moodler
4b39fc04d6 Fixed typo for globalglossary 2004-07-16 13:06:16 +00:00
stronk7
1f63b7c6aa Now, for glossaries using the 'Entry List' format, their
entry->description is viewable with the standard popup window.

Bug 1636
(http://moodle.org/bugs/bug.php?op=show&bugid=1636)

Merged from MOODLE_13_STABLE
2004-07-12 17:11:13 +00:00
stronk7
6e66130338 In 'categories view' (all and only one), now attachements, edit, comment
and delete are working properly. Thanks to frank@nomios.de!!
See bug 1632
(http://moodle.org/bugs/bug.php?op=show&bugid=1632)

Merged from MOODLE_13_STABLE
2004-07-12 16:35:50 +00:00
stronk7
73e6ac63d9 Some polishing of "TAB" chars in source code done.
Minor changes in glossary export/import to include the displayformat field.
Added a new feature (it was hidden and uncompleted in source code):
Import a glossary file, creating automatically a new glossary activity.
Bug 1606.
http://moodle.org/bugs/bug.php?op=show&bugid=1606

Merged from MOODLE_13_STABLE
2004-07-01 20:07:43 +00:00
stronk7
e1013df8c2 Take care of empty aliases in glossary xml files when importing them.
See bug 1599. Thanks to skodak. :-)
http://moodle.org/bugs/bug.php?op=show&bugid=1599

Merged from MOODLE_13_STABLE.
2004-06-28 23:58:16 +00:00
moodler
da5754f87c Merged bug fix for global glossary flag from MOODLE_13_STABLE to trunk 2004-06-07 08:43:00 +00:00
moodler
070528fc79 MOdules are dependent on this version of course/mod.php 2004-06-04 07:28:34 +00:00
moodler
7613890851 BRANCH MERGE
These are the changes from MOODLE_13_STABLE, merged into trunk

The tag MOODLE_13_MERGED on the MOODLE_13_STABLE branch now refers to this point

The biggest changes here are the fixes for HTML editor in all standard modules
2004-06-04 06:17:30 +00:00
stronk7
2ed07cc70a Solved bug 1491 in all the "linking" filters.
(http://moodle.org/bugs/bug.php?op=show&bugid=1491)
Bugfix 001
2004-05-30 01:00:16 +00:00
stronk7
f878539f42 Applied some changes to filter (not commited before 1.3 due its proximity).
I think it solves Bug 1487 and makes things a bit clear in this filter...
(http://moodle.org/bugs/bug.php?op=show&bugid=1487)
2004-05-27 23:32:55 +00:00
stronk7
d980b5da22 Now only approved entries are showed in RSS feeds... 2004-05-24 00:10:38 +00:00
stronk7
ea596d330b Now integers < 1000 in conceps and aliases are avoided in the filter. Bug 1446.
(http://moodle.org/bugs/bug.php?op=show&bugid=1446)
2004-05-23 18:54:01 +00:00
stronk7
e30a276249 Now paging will mantain the "fullsearch" option.
Bug 1438.
(http://moodle.org/bugs/bug.php?op=show&bugid=1438)
2004-05-21 19:24:23 +00:00
stronk7
e2ba5060d4 Escape "/" char in preg_quote(). Bug 1436.
(http://moodle.org/bugs/bug.php?op=show&bugid=1436)
2004-05-21 18:56:21 +00:00
stronk7
43d2c51413 Avoid one more notice... 2004-05-20 23:07:59 +00:00
stronk7
1c908d9b12 Solved one bug causing category->name to be cleared
when editing them.
2004-05-20 23:04:23 +00:00
stronk7
165278015e Solve some notice with debug = on.
Thanks to skodak. Bug 1405.
(http://moodle.org/bugs/bug.php?op=show&bugid=1405)
2004-05-20 19:51:23 +00:00
stronk7
b4d3bed714 Now in glossary module, preferences->backup_users = 2 (none users) has precedence
over include teacher entries in the backup. Used to support the glossary module
in "none users" backups. See bug 1420.
(http://moodle.org/bugs/bug.php?op=show&bugid=1420)
2004-05-20 18:19:07 +00:00
moodler
ae6f861d20 A problem with brackets was reported, but I couldn't duplicate it.
Just in case, I've added an escape for them.
2004-05-20 03:37:57 +00:00
stronk7
3168c823a4 Hi !!
Solved one bug before being posted to the Bugs System. Incredible !!!
(http://moodle.org/mod/forum/discuss.php?d=8089)
:-D
2004-05-19 23:34:51 +00:00
stronk7
2127fedda8 Step 2 of Bug 1223 done.
(http://moodle.org/bugs/bug.php?op=show&bugid=1223)
2004-05-16 00:36:00 +00:00
stronk7
0f1a97c2fb Step 1 of Bug 1223 done.
(http://moodle.org/bugs/bug.php?op=show&bugid=1223)
2004-05-15 23:18:24 +00:00
stronk7
e0147c9bc7 Now entry->concept is always printed in FORMAT_MOODLE format, instead
of using the entry->format field. This should close Bug 1298.
(http://moodle.org/bugs/bug.php?op=show&bugid=1298)
2004-05-15 17:34:43 +00:00
stronk7
7856dd5949 Opps. I forgot to commit this files yesterday... :-(
This close Bug 1370
(http://moodle.org/bugs/bug.php?op=show&bugid=1370)
2004-05-15 17:27:50 +00:00
stronk7
4528ab53dd Added missing Id: cvs tag. Bug 1394
http://moodle.org/bugs/bug.php?op=show&bugid=1394
2004-05-14 19:36:39 +00:00
stronk7
187e22dbe0 Upgraded glossary to 2004051400. The process will launch an
update of entry->concept and alias->alias to trim them.
This should close bug 985 forever...
(http://moodle.org/bugs/bug.php?op=show&bugid=985)
2004-05-14 19:14:57 +00:00
stronk7
b965603072 Now, the entry->concept and alias->alias fields are trimmed
in edit, import, export, backup and restore.
To solve bug 985
(http://moodle.org/bugs/bug.php?op=show&bugid=985)
2004-05-14 18:37:30 +00:00
stronk7
5cca249645 Reverted to revision 1.8 (left join) to continue working in bug 985. 2004-05-14 17:23:42 +00:00
stronk7
00f7f08d6b Now the show=concept|alias
has been decoupled into 2 sql statements to make it works
under every MySQL version.
Hope this close Bug 985 forever...
2004-05-13 19:27:52 +00:00
stronk7
189bec8895 Bug 1296 solved.
Now duplicate entries are showed in all the lists. Simply I've changed
the fields order in select statements to make entryid (unique) the first.

Not detected negative consequences...ciao :-)
http://moodle.org/bugs/bug.php?op=show&bugid=1296
2004-05-12 20:39:34 +00:00