Picon
Picon

Re: Authenticating only some LDAP groups

On 29/09/2009 13:50, D Faulkner HAR wrote:
> Hello,
> 
> The school I work at are using the mrbs system happily for booking IT
> facilities in the school. Now the maths department want a similar
> setup for some department specific resources and only want Maths
> teachers to be able to make bookings. Well ideally they would like to
> book 2months in advance and limit everyone else to 1month in advance,
> but would settle for now on being the only ones with access to the
> booking system.
> 
> I suspect that I would need to change the ldap_filter value or
> something similar but my attempts at doing it by trial and error
> aren't getting very far so if anyone could suggest what I should
> change to the config it would be appreciated.

Referring to our Perl LDAP library at work...can't you just set a filter
something like:

memberOf=cn=My Group,ou=groups,dc=example,dc=com

Just tried it in a test LDAP query on our 2003 AD setup and it seems to
work.

John.

--
> 
John Beranek                         To generalise is to be an idiot.
http://redux.org.uk/                                 -- William Blake
(Continue reading)

Picon
Picon

Re: quick question about mrbs 1.4.2

On 30/09/2009 02:55, Felix Tam wrote:
> Hi Developers,
> 
> It is great to use mrbs!  Just a question: if I use "db_ext" type, how
> can the system deal with the user level of 0, 1, and 2 where 2 stands
> for admin?  Many thanks.

As it stands, this is handled by the $admins array in config.inc.php.

If you're not logged in you're level 0.
If you're logged in but not in $admins you're level 1.
If you're logged in and in $admins you're level 2.

There's no code to look up admin status from the external database as I
can't see a way to make that generic.

If you wanted to code that, you'd need to modify the function
authGetUserLevel() in auth_db_ext.inc.

John.

--

-- 
John Beranek - MRBS Developer <http://mrbs.sourceforge.net/>

To generalise is to be an idiot.
  -- William Blake

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
(Continue reading)

Marcos Mezo | 1 Oct 22:05 2009
Picon
Picon

New potential user and some suggestions.

Hello list,

I downloaded mrbs yesterday to see if we can use it in our Faculty and I 
see great potential.

For us I've identified some points which I think I can get addressed and 
would like to know if they would be of interest to other people.

- We'd like to have one field for a brief description and one additional 
field for the name of the person who is booking. For now I've adapted 
the spanish translation to show "Brief description" for the name field 
and I've added a new "petitioner" field throughout the program.

I've not reused the "created_by" field, because (for now) we don't let 
the teachers log in and reserve directly, they need aproval and as such 
they fill a form and some secretary will be in charge of entering the 
approved bookings on mrbs. There are also times when we book rooms for 
external entities who are not in our directory.

- I'd like to have  different "booking" and "display" resolutions. For 
example if I set the booking resolution to 15min the display table is 
quite big and doesn't fit in a screen, but if I set the booking 
resolution to half an hour then times are rounded to 1/2 hour intervals. 
I think this would be trivially solved, but i've not looked into it yet.

- From the archives I see some work is beeing done on this, so maybe I 
can just wait a little more. We'd like to have people make request for 
bookings that must be approved by some "room admin" or whatever its called.

- Finally (for now) I would like to at least change all the "echo ...." 
(Continue reading)

Campbell Morrison | 1 Oct 22:52 2009
Picon

Re: New potential user and some suggestions.

Just commenting on your booking/display resolution point.

If you have different booking and display resolutions, how are you going to
be able to see whether there's a free slot?   For example, if you have a
booking resolution of 15 minutes and a display resolution of 1 hour,
starting on whole hour boundaries, how would you be able to see a free slot
from 1230-1245 in the following example?

1200-1215: booked
1215-1230: booked
1230-1245: free
1245-1300: booked

The only way I can see of showing that is to have some styling which shows
that there is one or more free slots in there, and then allows you to expand
the one hour slot to see the four 15 minute slots.

Similarly what would you show in the display for?

1200-1215: Meeting A
1215-1230: Meeting B
1230-1245: Meeting C
1245-1300: Meeting D

Again, you'd have to use some kind of expandable display.

This is exists at the moment in MRBS, but I put it in for the exceptional
case when the resolution is changed when there are existing bookings in the
system.    For example if you run MRBS for a while with a 15 minute
resolution, and then you later change it to a one hour resolution, you
(Continue reading)

Paul van der Westhuizen | 1 Oct 23:20 2009
Picon
Picon

Re: New potential user and some suggestions.

Marcos Mezo wrote:
> - Finally (for now) I would like to at least change all the "echo 
> ...." in the day/week/month views to for example "$table .= ... " 
> where $table would be a different variable for each section of the 
> page, so that later we can change templates to reposition the elements 
> in the page. For instance, as I expect to have a rather large 
> selection of rooms, I'd like to have the room list to the left of the 
> schedule table.

Hi Marcos

What I forsee being very useful for this in the long term would be a UI 
overhual of MRBS. It's likely that something this big is beyond what you 
can accomplish in the time limits you have. But perhaps what you're 
planning could be organized in such a way as to head in that direction. 
I see the  goal as being draggable repositioning/adding/deleting of 
elements (via AJAX). I personally haven't yet used AJAX for 
repositioning, only add/delete.

What you mention about $table does sound like it heads in that direction 
by separating the page into sections, so that's good. Once I'm finished 
with the permissions system I would like to make the UI more 
polished/modern. But I'm not sure yet of the timescale.

Paul

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
(Continue reading)

cimorrison | 2 Oct 00:46 2009
Picon
Picon

SF.net SVN: mrbs:[1209] mrbs/trunk/web

Revision: 1209
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1209&view=rev
Author:   cimorrison
Date:     2009-10-01 22:46:01 +0000 (Thu, 01 Oct 2009)

Log Message:
-----------
Introduced a get_charset() function.  No functional change to MRBS.

Modified Paths:
--------------
    mrbs/trunk/web/Themes/default/header.inc
    mrbs/trunk/web/language.inc
    mrbs/trunk/web/style.inc

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
mrbs-general mailing list
mrbs-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mrbs-general
Want to unsubscribe: mailto:mrbs-general-request <at> lists.sourceforge.net?subject=unsubscribe

(Continue reading)

cimorrison | 2 Oct 00:57 2009
Picon
Picon

SF.net SVN: mrbs:[1210] mrbs/trunk/web/report.php

Revision: 1210
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1210&view=rev
Author:   cimorrison
Date:     2009-10-01 22:57:34 +0000 (Thu, 01 Oct 2009)

Log Message:
-----------
Changed Content-type for CSV reports to text/csv and added a charset to aid internationalisation.  (Note
that Excel does not open CSV files properly.  To open a UTF-8 file in Excel, save it as a .txt file first and
then specify the charset in the dialogue that appears when you open the file in Excel).

Modified Paths:
--------------
    mrbs/trunk/web/report.php

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
mrbs-general mailing list
mrbs-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mrbs-general
Want to unsubscribe: mailto:mrbs-general-request <at> lists.sourceforge.net?subject=unsubscribe

(Continue reading)

cimorrison | 2 Oct 01:22 2009
Picon
Picon

SF.net SVN: mrbs:[1211] mrbs/trunk/web/lang.fr

Revision: 1211
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1211&view=rev
Author:   cimorrison
Date:     2009-10-01 23:22:55 +0000 (Thu, 01 Oct 2009)

Log Message:
-----------
Changed &nbsp; to an ordinary space (except where there are two of them) - otherwise they appear as is in CSV
report headers.

Modified Paths:
--------------
    mrbs/trunk/web/lang.fr

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
mrbs-general mailing list
mrbs-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mrbs-general
Want to unsubscribe: mailto:mrbs-general-request <at> lists.sourceforge.net?subject=unsubscribe

(Continue reading)

Campbell Morrison | 2 Oct 09:53 2009
Picon

Re: New potential user and some suggestions.

Yes - draggable repositioning/adding/deleting of elements would be great.
I assume you mean something like the www.bbc.co.uk interface (not
necessarily the look and feel, but the ability to customise the interface)?

Campbell

-----Original Message-----
From: Paul van der Westhuizen [mailto:proj_admin <at> users.sourceforge.net] 
Sent: 01 October 2009 22:20
To: General purpose list (support/developers/users); m.mezo <at> upm.es
Subject: Re: [MRBS-general] New potential user and some suggestions.

Marcos Mezo wrote:
> - Finally (for now) I would like to at least change all the "echo 
> ...." in the day/week/month views to for example "$table .= ... " 
> where $table would be a different variable for each section of the 
> page, so that later we can change templates to reposition the elements 
> in the page. For instance, as I expect to have a rather large 
> selection of rooms, I'd like to have the room list to the left of the 
> schedule table.

Hi Marcos

What I forsee being very useful for this in the long term would be a UI 
overhual of MRBS. It's likely that something this big is beyond what you 
can accomplish in the time limits you have. But perhaps what you're 
planning could be organized in such a way as to head in that direction. 
I see the  goal as being draggable repositioning/adding/deleting of 
elements (via AJAX). I personally haven't yet used AJAX for 
repositioning, only add/delete.
(Continue reading)

Chris Cook | 2 Oct 10:06 2009

Re: New potential user and some suggestions.

I wonder how easy it would be to use TableKit 
(http://www.millstream.com.au/view/code/tablekit/, demo - 
http://cloud.millstream.com.au/millstream.com.au/upload/code/tablekit/index.html 
)

or Draggable from Scriptaculous 
http://wiki.github.com/madrobby/scriptaculous/draggable

Chris

Campbell Morrison wrote:
> Yes - draggable repositioning/adding/deleting of elements would be great.
> I assume you mean something like the www.bbc.co.uk interface (not
> necessarily the look and feel, but the ability to customise the interface)?
> 
> Campbell
> 
> 
> 
> -----Original Message-----
> From: Paul van der Westhuizen [mailto:proj_admin <at> users.sourceforge.net] 
> Sent: 01 October 2009 22:20
> To: General purpose list (support/developers/users); m.mezo <at> upm.es
> Subject: Re: [MRBS-general] New potential user and some suggestions.
> 
> Marcos Mezo wrote:
>> - Finally (for now) I would like to at least change all the "echo 
>> ...." in the day/week/month views to for example "$table .= ... " 
>> where $table would be a different variable for each section of the 
>> page, so that later we can change templates to reposition the elements 
(Continue reading)


Gmane