citadel.git
13 years agoRevert "Removed the "fix_scrollbarbug" div and all references to it."
Art Cancro [Sat, 25 Sep 2010 01:53:42 +0000 (21:53 -0400)]
Revert "Removed the "fix_scrollbarbug" div and all references to it."

This reverts commit 85b8087bf603edb5320f0bc9da18ed2294204ca2.

13 years agoRevert "Revert "Removed the "fix_scrollbarbug" div and all references to it.""
Art Cancro [Sat, 25 Sep 2010 01:52:08 +0000 (21:52 -0400)]
Revert "Revert "Removed the "fix_scrollbarbug" div and all references to it.""

This reverts commit 80f0f2b99774b570d998109d565aecf46df5c06c.

13 years agoRevert "Removed the "fix_scrollbarbug" div and all references to it."
Art Cancro [Sat, 25 Sep 2010 01:50:32 +0000 (21:50 -0400)]
Revert "Removed the "fix_scrollbarbug" div and all references to it."

This reverts commit 85b8087bf603edb5320f0bc9da18ed2294204ca2.

13 years agoRemoved the "fix_scrollbarbug" div and all references to it.
Art Cancro [Fri, 24 Sep 2010 21:37:11 +0000 (17:37 -0400)]
Removed the "fix_scrollbarbug" div and all references to it.
It wasn't needed in real browsers, and didn't fix the problems
with Internet Exploder.  Away it goes.

13 years ago* implement expanding of shorter URLs in feeds; IG's going to like this ;-)
Wilfried Goesgens [Thu, 23 Sep 2010 21:31:02 +0000 (23:31 +0200)]
* implement expanding of shorter URLs in feeds; IG's going to like this ;-)

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Thu, 23 Sep 2010 16:22:34 +0000 (18:22 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years ago* the number of messages available are unequal to those in scope of the list.
Wilfried Goesgens [Thu, 23 Sep 2010 16:20:16 +0000 (18:20 +0200)]
* the number of messages available are unequal to those in scope of the list.

13 years ago* off by one in range checking of indexed access
Wilfried Goesgens [Thu, 23 Sep 2010 16:19:28 +0000 (18:19 +0200)]
* off by one in range checking of indexed access

13 years agofleshed out the blog read loop a bit.
Art Cancro [Thu, 23 Sep 2010 03:37:42 +0000 (23:37 -0400)]
fleshed out the blog read loop a bit.

13 years agoRemoved a spurious log message
Art Cancro [Thu, 23 Sep 2010 03:14:01 +0000 (23:14 -0400)]
Removed a spurious log message

13 years agoThe URL to the sitemap is now published through robots.txt
Art Cancro [Tue, 21 Sep 2010 02:48:51 +0000 (22:48 -0400)]
The URL to the sitemap is now published through robots.txt

13 years agoWhen creating a new context, set lastcmd to now.
Art Cancro [Mon, 20 Sep 2010 19:52:15 +0000 (15:52 -0400)]
When creating a new context, set lastcmd to now.
This prevents the idle timer from performing acts of infanticide.
It also solves, once and for all, the "unexpected answer from
Citadel server; bailing out" error messages in webcit.

13 years agoRemoved all of my recent changes. I found the real culprit.
Art Cancro [Mon, 20 Sep 2010 19:41:32 +0000 (15:41 -0400)]
Removed all of my recent changes.  I found the real culprit.

This reverts commit 689f71293a14d88788c4a1a2edd8b03edb9d3e9c.

13 years agoMore of the same. I think it's time to reduce complexity here.
Art Cancro [Mon, 20 Sep 2010 17:34:08 +0000 (13:34 -0400)]
More of the same.  I think it's time to reduce complexity here.

13 years agoCtdlThreadSchedule() considered harmful. Eliminate. Replaced all
Art Cancro [Mon, 20 Sep 2010 17:10:19 +0000 (13:10 -0400)]
CtdlThreadSchedule() considered harmful.  Eliminate.  Replaced all
use of it with either dedicated threads or EVT_TIMER hooks.

13 years agoAdd a note about the mysterious 'unexpected answer from citadel server' error. I...
Art Cancro [Mon, 20 Sep 2010 04:30:42 +0000 (00:30 -0400)]
Add a note about the mysterious 'unexpected answer from citadel server' error.  I now suspect that
citserver may be responsible, as the error condition always occurs immediately after the SMTP Send
thread runs.

13 years agoIssue HTTP 502 and 503 errors instead of 200 followed by an error message, when appro...
Art Cancro [Mon, 20 Sep 2010 04:19:18 +0000 (00:19 -0400)]
Issue HTTP 502 and 503 errors instead of 200 followed by an error message, when appropriate

13 years ago* put sender in another way, still doesn't work
Wilfried Goesgens [Sun, 19 Sep 2010 14:22:54 +0000 (16:22 +0200)]
* put sender in another way, still doesn't work
* put in another (currently unneeded) handler to a RSS of Replies

13 years ago* html_to_ascii appends a \n, we don't like that neither in our subjects nor in our...
Wilfried Goesgens [Sun, 19 Sep 2010 10:45:15 +0000 (12:45 +0200)]
* html_to_ascii appends a \n, we don't like that neither in our subjects nor in our senders.

13 years ago* handle 'encoded' for RSS + atom the right way
Wilfried Goesgens [Sun, 19 Sep 2010 10:01:06 +0000 (12:01 +0200)]
* handle 'encoded' for RSS + atom the right way
* don't use shorter cdata to override longer cdata in message bodies

13 years ago* add RSS-debug compile flag mechanic
Wilfried Goesgens [Sun, 19 Sep 2010 10:00:41 +0000 (12:00 +0200)]
* add RSS-debug compile flag mechanic

13 years ago* remove debug post all
Wilfried Goesgens [Sat, 18 Sep 2010 15:08:54 +0000 (17:08 +0200)]
* remove debug post all

13 years ago* just display reply link, if we got one.
Wilfried Goesgens [Sat, 18 Sep 2010 15:04:29 +0000 (17:04 +0200)]
* just display reply link, if we got one.

13 years ago* suport author/email tag in atoms
Wilfried Goesgens [Sat, 18 Sep 2010 14:02:30 +0000 (16:02 +0200)]
* suport author/email tag in atoms
* try more elaborate to create a valid email address with realname and email sender (if available, else it will be 'rss@localhost')

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Thu, 16 Sep 2010 21:13:30 +0000 (23:13 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years ago* switch to loading the HTTP reply into a StrBuf
Wilfried Goesgens [Thu, 16 Sep 2010 21:03:00 +0000 (23:03 +0200)]
* switch to loading the HTTP reply into a StrBuf
* fetch the first line out of the RSS document, to find out the charset
* put that charset into expat, somehow magicaly it then understands ISO-8859-1 (and hopefully others) too

13 years ago* rare crash in some weird edge case. don't dereference unchecked pointers...
Wilfried Goesgens [Thu, 16 Sep 2010 20:19:40 +0000 (22:19 +0200)]
* rare crash in some weird edge case. don't dereference unchecked pointers...

13 years ago* refresh translations
Wilfried Goesgens [Thu, 16 Sep 2010 11:52:39 +0000 (13:52 +0200)]
* refresh translations

13 years ago* make xgettext copy coments over into the po files.
Wilfried Goesgens [Thu, 16 Sep 2010 11:51:10 +0000 (13:51 +0200)]
* make xgettext copy coments over into the po files.
* copy comment about RSVP from www.citadel.org into calendar.c
* move comments in auth.c, xgettext takes the coments from the line _above_ and not after.

13 years agoSkeleton renderer for blog view
Art Cancro [Wed, 15 Sep 2010 03:24:57 +0000 (23:24 -0400)]
Skeleton renderer for blog view

13 years agorobots.txt now explicitly allows everyone. free love for all.
Art Cancro [Wed, 15 Sep 2010 02:39:22 +0000 (22:39 -0400)]
robots.txt now explicitly allows everyone.  free love for all.

13 years agoRevert "No more robots.txt, we now welcome spiders"
Art Cancro [Wed, 15 Sep 2010 02:35:29 +0000 (22:35 -0400)]
Revert "No more robots.txt, we now welcome spiders"

This reverts commit 593d0c23d2422a6a1fc9ceb7de9bda66335e0836.

13 years agoRevert "Return 404 for robots.txt"
Art Cancro [Wed, 15 Sep 2010 02:34:59 +0000 (22:34 -0400)]
Revert "Return 404 for robots.txt"

This reverts commit 7632402d82d9d7f7a4c20c1a3f5c0a3ea13c38b0.

13 years agoReturn 404 for robots.txt
Art Cancro [Tue, 14 Sep 2010 22:33:46 +0000 (18:33 -0400)]
Return 404 for robots.txt

13 years agoNo more robots.txt, we now welcome spiders
Art Cancro [Tue, 14 Sep 2010 22:15:39 +0000 (18:15 -0400)]
No more robots.txt, we now welcome spiders

13 years agoOffer meta tags in head for RSS feeds (uses templates)
Art Cancro [Tue, 14 Sep 2010 16:55:01 +0000 (12:55 -0400)]
Offer meta tags in head for RSS feeds (uses templates)

13 years agotext client, enter message, send reply references during pre-compose security check
Art Cancro [Tue, 14 Sep 2010 15:19:27 +0000 (11:19 -0400)]
text client, enter message, send reply references during pre-compose security check

13 years agoAdded a module for blog rooms. Add EUID for any message without one
Art Cancro [Tue, 14 Sep 2010 14:33:04 +0000 (10:33 -0400)]
Added a module for blog rooms.  Add EUID for any message without one

13 years agoimap server update to new API
Art Cancro [Tue, 14 Sep 2010 14:05:30 +0000 (10:05 -0400)]
imap server update to new API

13 years agoCtdlRoomAccess() can now return a new value UA_REPLYALLOWED, which
Art Cancro [Tue, 14 Sep 2010 13:50:32 +0000 (09:50 -0400)]
CtdlRoomAccess() can now return a new value UA_REPLYALLOWED, which
indicates that the user may post a message to this room *if* it is
a reply to an existing message.

CtdlDoIHavePermissionToPostInThisRoom() now must be told whether
the user is replying to an existing message or posting a top-level
message.  If it is a reply, UA_REPLYALLOWED is checked.  If it is
a top-level message, UA_POSTALLOWED is checked.  If UA_POSTALLOWED
is not set, but UA_REPLYALLOWED is set, and the message is not a
reply, a new error message indicates that the user may only reply
to existing messages.  I may add a new error code for this later.

13 years ago* knrooms():
Wilfried Goesgens [Mon, 13 Sep 2010 21:47:24 +0000 (23:47 +0200)]
* knrooms():
 - use the right values for the type of display
 - detect properly whether we need to set a default

13 years agoFixed a race condition which made the thread pool size unnecessarily large.
Art Cancro [Mon, 13 Sep 2010 19:19:46 +0000 (15:19 -0400)]
Fixed a race condition which made the thread pool size unnecessarily large.

13 years agoSitemap can now be retrieved at either /sitemap or /sitemap.xml
Art Cancro [Mon, 13 Sep 2010 17:48:41 +0000 (13:48 -0400)]
Sitemap can now be retrieved at either /sitemap or /sitemap.xml

13 years agoDon't free the room list hash at the end of the site map operation.
Art Cancro [Mon, 13 Sep 2010 16:13:50 +0000 (12:13 -0400)]
Don't free the room list hash at the end of the site map operation.
It will be freed when the session closes.

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Mon, 13 Sep 2010 03:03:04 +0000 (23:03 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years agoMention the client host name or address in the logs
Art Cancro [Mon, 13 Sep 2010 03:02:39 +0000 (23:02 -0400)]
Mention the client host name or address in the logs

13 years ago* remove debugging output etc.
Wilfried Goesgens [Sun, 12 Sep 2010 21:38:02 +0000 (23:38 +0200)]
* remove debugging output etc.

13 years ago* rewrite rss parser:
Wilfried Goesgens [Sun, 12 Sep 2010 21:25:32 +0000 (23:25 +0200)]
* rewrite rss parser:
 * handle links more properly
 * properly catch CDATA stuff
 * have hash of namespaces which we "understand"

13 years ago* NewStrBufDupAppendFlush(): add way to feed in char*, fix several bugs
Wilfried Goesgens [Sun, 12 Sep 2010 21:23:35 +0000 (23:23 +0200)]
* NewStrBufDupAppendFlush(): add way to feed in char*, fix several bugs
* StrBufSpaceToBlank(): add a function to convert random blanks to 0x20

13 years ago* check for NULL pointers... Should we even come here?
Wilfried Goesgens [Sun, 12 Sep 2010 09:41:43 +0000 (11:41 +0200)]
* check for NULL pointers... Should we even come here?

13 years ago* WHOK: ommit empty lines.
Wilfried Goesgens [Sun, 12 Sep 2010 09:22:50 +0000 (11:22 +0200)]
* WHOK: ommit empty lines.

13 years ago* NewStrBufDupAppendFlush(): if you have an IO/Buf, and a maybe yet created or still...
Wilfried Goesgens [Sat, 11 Sep 2010 13:02:26 +0000 (15:02 +0200)]
* NewStrBufDupAppendFlush(): if you have an IO/Buf, and a maybe yet created or still NULL target buffer, this is your friend. Depending on bufferlength it will choose to swap buffers or copy them over, so your target buffer won't become that huge for a short string.

13 years agoSitemaps!
Art Cancro [Fri, 10 Sep 2010 22:22:00 +0000 (18:22 -0400)]
Sitemaps!

13 years agoApplied samjam's CtdlMessageInRoom() patch but wrapped it around
Art Cancro [Fri, 10 Sep 2010 20:36:38 +0000 (16:36 -0400)]
Applied samjam's CtdlMessageInRoom() patch but wrapped it around
an #ifdef pending a performance review.  I suspect that this could
cause a problem on rooms with tens of thousands of messages.

13 years agoApply samjam's patch to fix mailbox view
Art Cancro [Fri, 10 Sep 2010 20:32:12 +0000 (16:32 -0400)]
Apply samjam's patch to fix mailbox view

13 years agoreadfwd etc now work in anonymous guest mode
Art Cancro [Fri, 10 Sep 2010 16:22:55 +0000 (12:22 -0400)]
readfwd etc now work in anonymous guest mode

13 years agoAll components in git master to version 7.89 in order to avoid confusion with stable
Art Cancro [Fri, 10 Sep 2010 15:42:08 +0000 (11:42 -0400)]
All components in git master to version 7.89 in order to avoid confusion with stable

13 years agoIf a webcit user is logged in and loads the RSS feed
Art Cancro [Fri, 10 Sep 2010 15:29:16 +0000 (11:29 -0400)]
If a webcit user is logged in and loads the RSS feed
for a room, don't destroy the session.

13 years agoRewrote the message reading loop of feed_generator.c using load_msg_ptrs()
Art Cancro [Fri, 10 Sep 2010 14:38:49 +0000 (10:38 -0400)]
Rewrote the message reading loop of feed_generator.c using load_msg_ptrs()

13 years agoAdded template element THISROOM:FEED:RSS to offer an RSS feed button for a room,...
Art Cancro [Thu, 9 Sep 2010 16:48:05 +0000 (12:48 -0400)]
Added template element THISROOM:FEED:RSS to offer an RSS feed button for a room, anywhere on the page.
Added THISROOM:FEED:RSS to the room banner template.

13 years agoAdd the <image> tag and some others to the RSS feeds.
Art Cancro [Wed, 8 Sep 2010 23:24:22 +0000 (19:24 -0400)]
Add the <image> tag and some others to the RSS feeds.
Also added some newlines to the feed because it was
running words together.

13 years agoRSS feed generator is basically complete
Art Cancro [Wed, 8 Sep 2010 22:31:44 +0000 (18:31 -0400)]
RSS feed generator is basically complete

13 years agoMore work on the RSS feed generator. The fetch loop is in place, now to just tune...
Art Cancro [Wed, 8 Sep 2010 21:52:13 +0000 (17:52 -0400)]
More work on the RSS feed generator.  The fetch loop is in place, now to just tune the individual
message output and we'll be ready for testing...

13 years agoRSS feed generator
Art Cancro [Wed, 8 Sep 2010 21:18:35 +0000 (17:18 -0400)]
RSS feed generator

13 years agoHandle X-Forwarded-Host: properly
Art Cancro [Wed, 8 Sep 2010 18:53:20 +0000 (14:53 -0400)]
Handle X-Forwarded-Host: properly

13 years agoHdr->http_host is now gone.
Art Cancro [Wed, 8 Sep 2010 17:02:05 +0000 (13:02 -0400)]
Hdr->http_host is now gone.

13 years agoRemoved tmplput_HOST_DISPLAYNAME
Art Cancro [Wed, 8 Sep 2010 16:56:39 +0000 (12:56 -0400)]
Removed tmplput_HOST_DISPLAYNAME
<?URL:HOSTNAME> is no longer used and no longer relevant.
<?DAV:HOSTNAME> is better.  It prepends http:// or https://

13 years agoNew global variable 'site_prefix' which replaces the often-repeated code which constr...
Art Cancro [Wed, 8 Sep 2010 16:49:46 +0000 (12:49 -0400)]
New global variable 'site_prefix' which replaces the often-repeated code which constructs a host header when we need to express something as an absolute URL.  In the not too distant future I will add code to allow the server to override the detected value with a configured value.

13 years ago* asterisks...
Wilfried Goesgens [Tue, 7 Sep 2010 21:04:02 +0000 (23:04 +0200)]
* asterisks...

13 years ago* ignore some more tars
Wilfried Goesgens [Tue, 7 Sep 2010 21:03:32 +0000 (23:03 +0200)]
* ignore some more tars

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Tue, 7 Sep 2010 21:01:12 +0000 (23:01 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years ago* one more name with umlauts..
Wilfried Goesgens [Tue, 7 Sep 2010 21:00:39 +0000 (23:00 +0200)]
* one more name with umlauts..

13 years ago* if we have a CDATA section assume its the message body.
Wilfried Goesgens [Tue, 7 Sep 2010 20:59:33 +0000 (22:59 +0200)]
* if we have a CDATA section assume its the message body.

13 years agoAllow save-to-drafts without recipients
samjam [Mon, 6 Sep 2010 12:06:28 +0000 (08:06 -0400)]
Allow save-to-drafts without recipients

This is a multipart message in MIME format.

Allow save-to-drafts without recipients
>

  ---
 citadel/msgbase.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

Still need to read X-Citadel-Room when resuming from drafts
<html><body>

<p><span class="message_subject"> Allow save-to-drafts without recipients</span></p>
<blockquote></blockquote>
<div class="message_content"><tt>---</tt><br /> <tt>citadel/msgbase.c |    9 +++++----</tt><br /> <tt>1 files changed, 5 insertions(+), 4 deletions(-)</tt><br /> <br /></div>
<p>Still need to read X-Citadel-Room when resuming from drafts</p>
</body></html>

13 years agoFound a comment in bbsview_renderer.c which made a reference to a particular svn...
Art Cancro [Tue, 7 Sep 2010 20:16:26 +0000 (16:16 -0400)]
Found a comment in bbsview_renderer.c which made a reference to a particular svn revision.  Changed it to the matching git commit hash.

13 years agocmd_invt_kick() is normally permitted when the room namespace matches the user number...
Art Cancro [Tue, 7 Sep 2010 20:01:29 +0000 (16:01 -0400)]
cmd_invt_kick() is normally permitted when the room namespace matches the user number because it means the user owns the room.  Disable this when the namespace happens to be 0.

13 years agoServInfo now learns whether the server supports guest mode.
Art Cancro [Tue, 7 Sep 2010 17:08:23 +0000 (13:08 -0400)]
ServInfo now learns whether the server supports guest mode.
Removed the moreprompt from here because it's not used in webcit.

13 years agoAdd c_guest_logins to webcit siteconfig
Art Cancro [Tue, 7 Sep 2010 14:54:20 +0000 (10:54 -0400)]
Add c_guest_logins to webcit siteconfig

13 years ago* re-enable drafts as proposed by samjam.
Wilfried Goesgens [Sun, 5 Sep 2010 18:32:59 +0000 (20:32 +0200)]
* re-enable drafts as proposed by samjam.

13 years ago* add missing entry in list of environment variables to fix off by one making the...
Wilfried Goesgens [Sun, 5 Sep 2010 17:59:24 +0000 (19:59 +0200)]
* add missing entry in list of environment variables to fix off by one making the .debs put settings into wrong citadel setting.
 Thanks Samjam to give the missing hint to track this bug.

13 years ago* don't ignore other .gitignores ;-)
Wilfried Goesgens [Sun, 5 Sep 2010 16:00:52 +0000 (18:00 +0200)]
* don't ignore other .gitignores ;-)

13 years ago* ignore some more debian subdirectories and files
Wilfried Goesgens [Sun, 5 Sep 2010 15:51:31 +0000 (17:51 +0200)]
* ignore some more debian subdirectories and files

13 years agoVIEW_DRAFTS=9, VIEW=BLOG=10
Art Cancro [Sat, 4 Sep 2010 17:26:28 +0000 (13:26 -0400)]
VIEW_DRAFTS=9, VIEW=BLOG=10

13 years agoThe status line is back! Reused the callbacks from IO ERROR's
Art Cancro [Sat, 4 Sep 2010 05:52:27 +0000 (01:52 -0400)]
The status line is back!  Reused the callbacks from IO ERROR's
implementation but reimplemented the display in a way that does
not require using curses.

13 years agoAdded the ability to handle Base64-encoded URL's. We will use these, along with...
Art Cancro [Fri, 3 Sep 2010 22:22:04 +0000 (18:22 -0400)]
Added the ability to handle Base64-encoded URL's.  We will use these, along with the new
start_reading_at field, to tell search engines how to find the tops of message threads when we
eventually begin offering sitemaps.

13 years agoAdded a "start_reading_at" field to the BBS renderer in webcit. When present, the...
Art Cancro [Fri, 3 Sep 2010 21:27:59 +0000 (17:27 -0400)]
Added a "start_reading_at" field to the BBS renderer in webcit.  When present, the renderer will
start the user out on whichever page contains the specified message number, or the nearest message to
that number if an exact match is not found.

13 years agoRemove HKEY from call to strncmp so that it compiles.
Art Cancro [Fri, 3 Sep 2010 21:09:17 +0000 (17:09 -0400)]
Remove HKEY from call to strncmp so that it compiles.

13 years agoUncomment 'not yet implemented' next to BLOG_VIEW in libcitadel.h
Art Cancro [Fri, 3 Sep 2010 21:03:36 +0000 (17:03 -0400)]
Uncomment 'not yet implemented' next to BLOG_VIEW in libcitadel.h

13 years agoImplemented a nice way to do a status line that clings to the top of the screen witho...
Art Cancro [Fri, 3 Sep 2010 20:05:07 +0000 (16:05 -0400)]
Implemented a nice way to do a status line that clings to the top of the screen without having to use
curses or ncurses.  Currently commented out.

13 years agoRemoved the USscreenwidth and USscreenheight fields. Everywhere. Since these were...
Art Cancro [Fri, 3 Sep 2010 17:23:44 +0000 (13:23 -0400)]
Removed the USscreenwidth and USscreenheight fields.  Everywhere.  Since these were the last two
fields in the ctdluser data structure, we are able to simply remove them instead of replacing them
with placeholders.  cmd_getu() now returns 80x24 all the time, and cmd_setu() now ignores the
supplied screen dimensions.

13 years agocmd_msg*() now work properly in guest mode. This completes the minimum required...
Art Cancro [Fri, 3 Sep 2010 17:06:18 +0000 (13:06 -0400)]
cmd_msg*() now work properly in guest mode.  This completes the minimum required functionality for an anonymous guest client to traverse public rooms and read messages.

13 years agoAllow MSGS command to operate in guest mode.
Art Cancro [Fri, 3 Sep 2010 16:50:53 +0000 (12:50 -0400)]
Allow MSGS command to operate in guest mode.

13 years agoFurther hacks to CtdlRoomAccess() to support guest mode
Art Cancro [Fri, 3 Sep 2010 14:51:50 +0000 (10:51 -0400)]
Further hacks to CtdlRoomAccess() to support guest mode

13 years agoOuch. CtdlRoomAccess() had a couple of places where it was checking 'the current...
Art Cancro [Fri, 3 Sep 2010 14:45:05 +0000 (10:45 -0400)]
Ouch.  CtdlRoomAccess() had a couple of places where it was checking 'the current user' or 'the current room' instead of the user/room supplied by the caller.  Fixed.

13 years agoAll of the cmd_lXXX (list rooms) commands are now set to require access level ac_logg...
Art Cancro [Fri, 3 Sep 2010 14:32:01 +0000 (10:32 -0400)]
All of the cmd_lXXX (list rooms) commands are now set to require access level ac_logged_in_or_guest

13 years agoCtdlAccessCheck() may now be passed a new access level to check for: ac_logged_in_or_...
Art Cancro [Fri, 3 Sep 2010 14:27:29 +0000 (10:27 -0400)]
CtdlAccessCheck() may now be passed a new access level to check for: ac_logged_in_or_guest, which will succeed if the user is logged in *or* if guest mode is enabled.

13 years agoCtdlRoomAccess() now returns a set of read-only access rights if the room is BASEROOM...
Art Cancro [Fri, 3 Sep 2010 14:19:49 +0000 (10:19 -0400)]
CtdlRoomAccess() now returns a set of read-only access rights if the room is BASEROOM (Lobby) and the user is not logged in.

13 years agoGratuitous style cleanup
Art Cancro [Fri, 3 Sep 2010 13:39:57 +0000 (09:39 -0400)]
Gratuitous style cleanup

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Thu, 2 Sep 2010 21:33:34 +0000 (23:33 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years ago* add forward declarations
Wilfried Goesgens [Thu, 2 Sep 2010 21:32:27 +0000 (23:32 +0200)]
* add forward declarations