71 Commits

Author SHA1 Message Date
skodak
283ebb7147 MDL-11984 blocks: new capability block/online_users:viewlist which may be used to restrict viewing of list of online users, if cap not allowed only number of users dispalyed, I hope this will be also faster because only one query used now (insetad of two); for BC reasons enabled by default in all legacy roles 2008-11-30 15:42:48 +00:00
skodak
775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
b1f93b1512 MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl 2008-06-15 10:32:50 +00:00
skodak
f28f2d9022 MDL-14679 towards blocks conversion 2008-06-02 20:15:51 +00:00
skodak
219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +00:00
moodler
433c242f1a Merged new block versions from 1.9 2008-03-03 11:43:32 +00:00
skodak
dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
martinlanghoff
e88370a6a3 blocks/online_users: Remove SQL "id,id" which causes errors on Oracle - MDL-12425
Credit for the fix goes to Dennis Rochford <Dennis.Rochford@usq.edu.au>
2007-12-04 06:25:56 +00:00
skodak
ffc536af8e MDL-7380 converted various places to use new groups API 2007-09-08 20:53:05 +00:00
toyomoyo
15e3eb6053 merged fix for MDL-9613, spliting the queries into 2 for site/course block respectively 2007-09-06 06:25:40 +00:00
skodak
1d68419596 MDL-10383 - deprecated groups_members_from_sql and friends - we do not need them anymore because we reverted to 1.7 style groups in 1.9 2007-08-15 19:28:11 +00:00
toyomoyo
9477c1ecca merged fix for MDL-9613, broken SQL in online user block 2007-07-09 02:54:35 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
toyomoyo
b0365fce35 merged fix for MDL-9613 2007-04-30 02:56:46 +00:00
toyomoyo
a1f5b4ae03 merged fix for MLD-7544, hidden users show up on participants block 2007-04-23 03:06:01 +00:00
moodler
97e7e624f7 Merged MDL-6553 from 1.8 stable 2007-04-04 07:24:14 +00:00
skodak
440d164869 MDL-7861xhtml strict and css fixes in blocks 2007-01-09 23:45:24 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
stronk7
5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7
3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7
d7a7184730 New upgrade.php file added for this module. MDL-7214 2006-10-26 16:33:49 +00:00
moodler
9d5210af22 Merged tidy-ups from stable 2006-10-23 07:46:57 +00:00
moodler
1ce1944e33 Merged fixes for guest display from stable 2006-10-20 05:16:12 +00:00
moodler
b725019e3f Merged fix related to MDL-6020 2006-09-19 04:53:56 +00:00
moodler
71832a910b Fixed some typos 2006-09-14 06:54:54 +00:00
toyomoyo
174526f4f1 changed code to use the new user_lastaccess table instead of the log table 2006-09-12 07:38:46 +00:00
toyomoyo
cc398c7262 adding caapabilities 2006-09-04 08:45:08 +00:00
vyshane
01199ea958 Updated to use new Roles System. Plus some fixes. 2006-08-16 08:54:07 +00:00
moodler
1a2ea6f488 Merged $course -> $COURSE fixes from 1.6 stable 2006-05-29 08:17:57 +00:00
tjhunt
450a0a7db7 Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs. 2006-05-17 16:47:44 +00:00
vyshane
3f763c86cf Fixed Bug #5057 - hidden teachers aren't completely hidden 2006-04-10 08:49:15 +00:00
nfreear
2bf0e5e2a9 Accessibility: added title to envelope link, replaced img width/height (OU-Bugz: 697,736) 2006-03-15 10:42:50 +00:00
nfreear
73bb9da7e5 Accessibility: added Alt text for envelope/message link (existing lang string); converted <div> to <ul>, inherit existing classes & styles. 2006-03-01 11:18:33 +00:00
toyomoyo
16ee05ad8f merged, limit of students displayed = 20 2006-01-04 05:22:53 +00:00
gustav_delius
9c22e022cb Now uses print_user_picture() instead of custom code 2005-09-29 14:26:25 +00:00
urs_hunkler
340c48485e I replaced the center and font tags in this sideblock with <div class="message">. 2005-08-03 11:07:13 +00:00
urs_hunkler
e99e17fe69 I removed the inlinestyle for the userentry in the sideblock "online user" and added the class "listentry" to the div. The properties of th inline style are now defined in styles_layout.css and stylews_fonts.css. 2005-05-27 17:28:16 +00:00
moodler
dd189d93ab Fixed messaging links in blocks 2005-04-21 11:34:34 +00:00
moodler
a9d9b46af8 Guests can't use messaging 2005-03-17 20:39:30 +00:00
defacer
3ef642d96a Implemented discussion from bug 2547:
* Block authors no longer need to set $this->content_type
* If you want to make a "list" block, just derive from block_list
  instead of block_base
* All switch() statements gone from library code
* Overloaded method is_empty() added to block classes for convenience
2005-03-02 19:22:26 +00:00
moodler
d2b059c6c9 FIxed some links for compliance 2005-02-12 03:51:18 +00:00
moodler
fa966efe7a FIxed some old <p> tags 2005-02-08 18:33:08 +00:00
moodler
cdf3925518 Messaging can now be completely disabled using $CFG->messaging 2005-01-31 07:11:42 +00:00
moodler
4b22e391e4 Don't show message shortcut icons when not logged in 2005-01-21 02:29:29 +00:00
moodler
7ccab9b1d5 Added messaging buttons to the online users list 2004-12-28 13:50:17 +00:00
defacer
e89d741af3 New naming conventions for class names to bring them in line with the
rest of Moodle. The convention for blocks is now:

class block_something extends block_base { ... }

HOWTO updated accordingly, plus some more minor polishing. More to come.
2004-11-23 18:53:34 +00:00
defacer
2456d7c815 Updated the two standard blocks that have configuration features to work
with the latest version of the Blocks API.
2004-11-19 02:36:57 +00:00
dhawes
d041e44fb1 spacing, tab and quote cleanup 2004-10-28 00:10:29 +00:00