citadel.git
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

13 years agoThe new paginator now makes use of the server-supplied prompt.
Art Cancro [Thu, 2 Sep 2010 21:09:22 +0000 (17:09 -0400)]
The new paginator now makes use of the server-supplied prompt.

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Thu, 2 Sep 2010 20:01:35 +0000 (16:01 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years agoObserve the value of rc_prompt_control
Art Cancro [Thu, 2 Sep 2010 20:01:20 +0000 (16:01 -0400)]
Observe the value of rc_prompt_control

13 years ago* moving directories around isn't smart in a git workingcopy. create symlinks & ignor...
Wilfried Goesgens [Thu, 2 Sep 2010 19:58:22 +0000 (21:58 +0200)]
* moving directories around isn't smart in a git workingcopy. create symlinks & ignore them.

13 years agoHUGE update to the way the paginator works. scr_putc() now keeps track of how many...
Art Cancro [Thu, 2 Sep 2010 17:32:55 +0000 (13:32 -0400)]
HUGE update to the way the paginator works.  scr_putc() now keeps track of how many characters and
lines it has written, issuing the paginator prompt when it knows it needs to.  scr_getc() resets the
line count to zero.  This completely eliminates the need for individual functions to keep track of
their line count, simplifying a lot of code throughout the system.  Why didn't I do it this way 20
years ago?  TODO: use the server issued paginator prompt instead of a hardcoded string.

13 years agoAll screen output now goes through scr_putc().
Art Cancro [Thu, 2 Sep 2010 15:42:24 +0000 (11:42 -0400)]
All screen output now goes through scr_putc().
This is deliberate.  Please do not optimize this out because I will be writing code that depends on
it.

13 years agoRemoved more vestiges of curses mode
Art Cancro [Thu, 2 Sep 2010 11:38:31 +0000 (07:38 -0400)]
Removed more vestiges of curses mode

13 years agoRemoved err_* and sln_* functions; replaced all calls with scr_* functions.
Art Cancro [Thu, 2 Sep 2010 01:21:38 +0000 (21:21 -0400)]
Removed err_* and sln_* functions; replaced all calls with scr_* functions.
Removed all build script references to curses and ncurses.
I want all output to go through a single path.

13 years agoremove .svnignore files
Art Cancro [Thu, 2 Sep 2010 01:09:21 +0000 (21:09 -0400)]
remove .svnignore files

13 years agoremoved unused stubs from screen.c
Art Cancro [Thu, 2 Sep 2010 01:08:21 +0000 (21:08 -0400)]
removed unused stubs from screen.c

13 years agoRemoved curses fullscreen mode in the text client, in preparation for something even...
Art Cancro [Thu, 2 Sep 2010 00:38:35 +0000 (20:38 -0400)]
Removed curses fullscreen mode in the text client, in preparation for something even better that I'm going to work
on next.

13 years agoremoved Id tag from wclib.js
Art Cancro [Wed, 1 Sep 2010 21:14:18 +0000 (17:14 -0400)]
removed Id tag from wclib.js

13 years agoremoved more Id tags from webcit
Art Cancro [Wed, 1 Sep 2010 21:10:45 +0000 (17:10 -0400)]
removed more Id tags from webcit

13 years agooops, missed one
Art Cancro [Wed, 1 Sep 2010 21:08:57 +0000 (17:08 -0400)]
oops, missed one

13 years agoRemoved some $Id$ tags in libcitadel
Art Cancro [Wed, 1 Sep 2010 21:04:15 +0000 (17:04 -0400)]
Removed some $Id$ tags in libcitadel

13 years agoRemove $Id$ tags from most of webcit
Art Cancro [Wed, 1 Sep 2010 17:45:47 +0000 (13:45 -0400)]
Remove $Id$ tags from most of webcit

13 years agoCompleted the removal of $Id$ tags in the Citadel server. Also, since the strings...
Art Cancro [Wed, 1 Sep 2010 17:40:00 +0000 (13:40 -0400)]
Completed the removal of $Id$ tags in the Citadel server.  Also, since the strings returned from the
module init functions are now short names rather than entire Id tags, the phrase "Loaded module:" has
been prepended to the log messages which display them.

13 years agoMore removal of $Id$ tags
Art Cancro [Wed, 1 Sep 2010 17:23:13 +0000 (13:23 -0400)]
More removal of $Id$ tags

13 years agoBegan removing $Id$ tags. This will be an ongoing process.
Art Cancro [Wed, 1 Sep 2010 17:15:15 +0000 (13:15 -0400)]
Began removing $Id$ tags.  This will be an ongoing process.

13 years agoOops, my svn/git autodetection logic is still broken. Fixed.
Art Cancro [Wed, 1 Sep 2010 16:37:38 +0000 (12:37 -0400)]
Oops, my svn/git autodetection logic is still broken.  Fixed.

13 years agoAnother attempt at fixing svn_revision for git
Art Cancro [Tue, 31 Aug 2010 22:33:35 +0000 (18:33 -0400)]
Another attempt at fixing svn_revision for git

13 years agoModified mk_svn_revision.sh so that it doesn't barf when git is in
Art Cancro [Tue, 31 Aug 2010 22:11:27 +0000 (18:11 -0400)]
Modified mk_svn_revision.sh so that it doesn't barf when git is in
use.  Someone already tried to handle this situation but it was
b0rken.  Fixed.

13 years agotest commit three3 of three3
Art Cancro [Tue, 31 Aug 2010 20:55:12 +0000 (16:55 -0400)]
test commit three3 of three3

13 years agotest commit two2 of three3
Art Cancro [Tue, 31 Aug 2010 20:55:01 +0000 (16:55 -0400)]
test commit two2 of three3

13 years agotest commit one1 of three3
Art Cancro [Tue, 31 Aug 2010 20:54:49 +0000 (16:54 -0400)]
test commit one1 of three3

13 years agotest commit three of three
Art Cancro [Tue, 31 Aug 2010 20:51:05 +0000 (16:51 -0400)]
test commit three of three

13 years agotest commit two of three
Art Cancro [Tue, 31 Aug 2010 20:50:54 +0000 (16:50 -0400)]
test commit two of three

13 years agotest commit one of three
Art Cancro [Tue, 31 Aug 2010 20:50:46 +0000 (16:50 -0400)]
test commit one of three

13 years agotest commit 2 of 2
Art Cancro [Tue, 31 Aug 2010 20:33:54 +0000 (16:33 -0400)]
test commit 2 of 2

13 years agotest commit 1 of 2
Art Cancro [Tue, 31 Aug 2010 20:32:32 +0000 (16:32 -0400)]
test commit 1 of 2

13 years agoCOPYING.txt referred to a latest copyright date of 2009. Changed it to 2010.
Art Cancro [Tue, 31 Aug 2010 20:20:54 +0000 (16:20 -0400)]
COPYING.txt referred to a latest copyright date of 2009.  Changed it to 2010.

13 years agoTest commit 1 of 2
Art Cancro [Tue, 31 Aug 2010 20:19:47 +0000 (16:19 -0400)]
Test commit 1 of 2

13 years agoLogging in as "guest" from the text client now does the Right Thing
Art Cancro [Tue, 31 Aug 2010 20:07:26 +0000 (16:07 -0400)]
Logging in as "guest" from the text client now does the Right Thing
depending on whether the server to which it is connected actually
supports guest mode.  This may or may not stay this way.

13 years agoClient library now stores the flag indicating whether guest mode is supported
Art Cancro [Tue, 31 Aug 2010 20:04:24 +0000 (16:04 -0400)]
Client library now stores the flag indicating whether guest mode is supported

13 years agoAmend the INFO command to alert the client whether the server
Art Cancro [Tue, 31 Aug 2010 19:58:10 +0000 (15:58 -0400)]
Amend the INFO command to alert the client whether the server
supports guest logins.

13 years agoAdded a global config setting to allow anonymous guest logins.
Art Cancro [Tue, 31 Aug 2010 19:56:21 +0000 (15:56 -0400)]
Added a global config setting to allow anonymous guest logins.
This does not change any of the behavior of the system yet.

13 years agoAnother test commit
Art Cancro [Tue, 31 Aug 2010 18:47:49 +0000 (14:47 -0400)]
Another test commit

13 years agoAnother test commit
Art Cancro [Tue, 31 Aug 2010 18:46:35 +0000 (14:46 -0400)]
Another test commit

13 years agoAnother test commit
Art Cancro [Tue, 31 Aug 2010 18:46:05 +0000 (14:46 -0400)]
Another test commit

13 years agoAnother test commit
Art Cancro [Tue, 31 Aug 2010 18:45:38 +0000 (14:45 -0400)]
Another test commit

13 years agoAnother test commit
Art Cancro [Tue, 31 Aug 2010 18:44:52 +0000 (14:44 -0400)]
Another test commit

13 years agoAnother test commit
Art Cancro [Tue, 31 Aug 2010 18:16:09 +0000 (14:16 -0400)]
Another test commit

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Tue, 31 Aug 2010 18:00:13 +0000 (20:00 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years ago* client_read_sslblob(): fix buffer handling, clean up the read-buffer if neccesary.
Wilfried Goesgens [Tue, 31 Aug 2010 17:58:14 +0000 (19:58 +0200)]
* client_read_sslblob(): fix buffer handling, clean up the read-buffer if neccesary.

13 years agoanother test
Art Cancro [Tue, 31 Aug 2010 16:59:58 +0000 (12:59 -0400)]
another test

13 years agoYet another test
Art Cancro [Tue, 31 Aug 2010 16:47:41 +0000 (12:47 -0400)]
Yet another test

13 years agoAnother test commit
Art Cancro [Tue, 31 Aug 2010 16:45:43 +0000 (12:45 -0400)]
Another test commit

13 years agoTest commit #2
Art Cancro [Tue, 31 Aug 2010 16:43:27 +0000 (12:43 -0400)]
Test commit #2

13 years agoTest git commit
root [Tue, 31 Aug 2010 16:06:56 +0000 (12:06 -0400)]
Test git commit

13 years agosome indentions and changes to the comments, to reflect new comment style
root [Tue, 31 Aug 2010 15:40:30 +0000 (17:40 +0200)]
some indentions and changes to the comments, to reflect new comment style

13 years ago* added debugging output while reading blobs via ssl.
Wilfried Göesgens [Sun, 29 Aug 2010 22:33:51 +0000 (22:33 +0000)]
* added debugging output while reading blobs via ssl.

13 years ago* output what we're sending into the BIGBAD_IODBG too.
Wilfried Göesgens [Sun, 29 Aug 2010 22:00:28 +0000 (22:00 +0000)]
* output what we're sending into the BIGBAD_IODBG too.

13 years ago * remove old session-local template support. YAY!
Wilfried Göesgens [Sun, 29 Aug 2010 16:57:25 +0000 (16:57 +0000)]
 * remove old session-local template support. YAY!

13 years ago* use the right subst in the iconbar
Wilfried Göesgens [Sun, 29 Aug 2010 16:57:21 +0000 (16:57 +0000)]
* use the right subst in the iconbar

13 years ago* fix syntax error
Wilfried Göesgens [Sun, 29 Aug 2010 16:57:14 +0000 (16:57 +0000)]
* fix syntax error

13 years ago* don't compare the current section via the subst, its in the context-string anyways.
Wilfried Göesgens [Sun, 29 Aug 2010 16:57:09 +0000 (16:57 +0000)]
* don't compare the current section via the subst, its in the context-string anyways.

13 years ago* LDAP wasn't exposed that way for a long time; TODO: does this way still represent...
Wilfried Göesgens [Sun, 29 Aug 2010 16:57:04 +0000 (16:57 +0000)]
* LDAP wasn't exposed that way for a long time; TODO: does this way still represent the reality with the new ldap support?

13 years ago* hm, what was 'MsgPrintable' ?
Wilfried Göesgens [Sun, 29 Aug 2010 16:57:00 +0000 (16:57 +0000)]
* hm, what was 'MsgPrintable' ?

13 years ago* used wrong conditionals, fixed
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:53 +0000 (16:56 +0000)]
* used wrong conditionals, fixed
* add conditional which was done wrong via SUBST

13 years ago* remove sv* in messages.c
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:48 +0000 (16:56 +0000)]
* remove sv*  in messages.c

13 years ago * remove WCVIEW, we have COND:THISROOM:CURR_VIEW; TODO: is the usage in roombanner...
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:42 +0000 (16:56 +0000)]
 * remove WCVIEW, we have COND:THISROOM:CURR_VIEW; TODO: is the usage in roombanner realy what we wanted here?

13 years ago* beginbox is split into two all over the place. remove monolitic template.
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:37 +0000 (16:56 +0000)]
* beginbox is split into two all over the place. remove monolitic template.

13 years ago* split boxes into beginbox_1 + 2, and put title directly. remove svput of boxtitle.
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:31 +0000 (16:56 +0000)]
* split boxes into beginbox_1 + 2, and put title directly. remove svput of boxtitle.

13 years ago* remove svput with empty string.
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:27 +0000 (16:56 +0000)]
* remove svput with empty string.

13 years ago* remove dummy function
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:24 +0000 (16:56 +0000)]
* remove dummy function

13 years ago* migrate the ZONESTR to strbuf context, so no more SVPUT here either.
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:16 +0000 (16:56 +0000)]
* migrate the ZONESTR to strbuf context, so no more SVPUT here either.

13 years ago* meanwhile iterators know ITERATE:KEY on their own, no need to svput them.
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:11 +0000 (16:56 +0000)]
* meanwhile iterators know ITERATE:KEY on their own, no need to svput them.

13 years ago* FILE:HAVEPICS isn't used, remove it.
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:05 +0000 (16:56 +0000)]
* FILE:HAVEPICS isn't used, remove it.

13 years ago* don't use sv* here
Wilfried Göesgens [Sun, 29 Aug 2010 16:56:01 +0000 (16:56 +0000)]
* don't use sv* here

13 years ago* substracting independend pointers with no conjunction gives mad numbers. thanks...
Wilfried Göesgens [Sun, 29 Aug 2010 16:55:55 +0000 (16:55 +0000)]
* substracting independend pointers with no conjunction gives mad numbers. thanks samjam for pointing that out.

13 years ago* print name of context instead of number into the error message.
Wilfried Göesgens [Sun, 29 Aug 2010 16:55:50 +0000 (16:55 +0000)]
* print name of context instead of number into the error message.

13 years ago * move some sv* into more modern templating
Wilfried Göesgens [Sun, 29 Aug 2010 16:55:46 +0000 (16:55 +0000)]
 * move some sv* into more modern templating

13 years ago* block parameters starting with __ from making it into the list, they're internal...
Wilfried Göesgens [Sun, 29 Aug 2010 16:55:41 +0000 (16:55 +0000)]
* block parameters starting with __ from making it into the list, they're internal use only

13 years ago* moan, if somebody didn't read the full buffer.
Wilfried Göesgens [Sat, 28 Aug 2010 18:14:38 +0000 (18:14 +0000)]
* moan, if somebody didn't read the full buffer.

13 years ago* fix GTSN not to cut seen stats at 1024 chars
Wilfried Göesgens [Sat, 28 Aug 2010 13:11:01 +0000 (13:11 +0000)]
* fix GTSN not to cut seen stats at 1024 chars

13 years ago* do typedef the visit struct, remove all those 'struct' statements from all over...
Wilfried Göesgens [Sat, 28 Aug 2010 13:10:50 +0000 (13:10 +0000)]
* do typedef the visit struct, remove all those 'struct' statements from all over the source

13 years ago* One more change to the recent header folding bugfix
Art Cancro [Fri, 27 Aug 2010 18:37:59 +0000 (18:37 +0000)]
* One more change to the recent header folding bugfix