Art Cancro [Wed, 17 Nov 1999 04:15:06 +0000 (04:15 +0000)]
* Removed the session_count() function. Instead, keep a reference count
updated when sessions begin and end.
* Replaced fixed number of worker threads with lower and upper limits; current
code now tries to make thread count == session count, within these limits
Steve Williams [Mon, 15 Nov 1999 05:22:11 +0000 (05:22 +0000)]
On disconnect, changed the SetStatusText() to "" for 1, and 2 to blank
the 2nd and 3rd status fields. Also fixed zap again. Replaced the
'zapped rooms' floor in the roomtree.cpp.
Steve Williams [Mon, 15 Nov 1999 05:05:13 +0000 (05:05 +0000)]
Added some checks for connectivity. The roomview commands were locking
Daphne if the program wasn't connected. Now it's not. All nice and
stable.
Steve Williams [Mon, 15 Nov 1999 04:19:19 +0000 (04:19 +0000)]
Killed the refresh timer in who.cpp
Updated the who function so that refreshes are no longer automated, but
WILL work when clicking on 'refresh' on the who window.
who_refresh had a timer which wasn't stoppable, which would, when
connecting to another bbs, continue running and then core dump.
Removed the read new button from roomview. It wasn't necessary as new
messages dump automatically.
Steve Williams [Mon, 15 Nov 1999 03:36:14 +0000 (03:36 +0000)]
test
Steve Williams [Mon, 15 Nov 1999 03:35:58 +0000 (03:35 +0000)]
test
Art Cancro [Mon, 15 Nov 1999 03:17:40 +0000 (03:17 +0000)]
* Put lockfile in /tmp instead of in /var/lock. The latter is not guaranteed
to exist, nor is it guaranteed to be writable by BBSUID
(Resolves bug #11 from the Bugzilla repository)
Art Cancro [Mon, 15 Nov 1999 03:07:28 +0000 (03:07 +0000)]
* Fixed the network-wide vCard purge logic so that it (1) actually works,
and (2) forces a netproc run immediately when a purge is entered
Steve Williams [Fri, 12 Nov 1999 00:49:05 +0000 (00:49 +0000)]
Updated README. Tweaked zip slightly. Started mods for Chat and for
'reply to' mail.
Steve Williams [Thu, 11 Nov 1999 05:41:38 +0000 (05:41 +0000)]
Another zap tweak: After zapping a room the user is taken directly to the
Lobby> and has to hit 'goto' to get to the next room.
Steve Williams [Thu, 11 Nov 1999 05:04:57 +0000 (05:04 +0000)]
Made a slight tweak to the default size of the button bar in roomview.cpp.
All the buttons (including the new 'zap' button) should show up by
default.
Steve Williams [Thu, 11 Nov 1999 04:42:28 +0000 (04:42 +0000)]
Made a minor tweak to zapped messages. Now when you click on any room in
the roomtree the roomtree is deleted and reloaded. This is so that when
you click on a room in the zapped list it'll come out, immediately.
Previously you either had to click on the folder itself, or log out and
in.
Steve Williams [Thu, 11 Nov 1999 04:32:00 +0000 (04:32 +0000)]
Set up 'zapped rooms' functionality. Made tweaks so that zapped rooms
appear in the room tree. Set up unzap capability. If you click on a room
in the zapped rooms folder it will open in the room view screen. Clicking
on the zapped rooms folder refreshes the room tree. Added bitmaps for
goto and for disconnect. Added a 'zap' button in the room view window.
Added disconnect features so the program will allow for closing a citadel
session and beginning another without shutting down. Began working on
chat code and configurable citadel sessions (ie, clicking on connect
should prompt you for which bbs you want to go to.)
Steve Williams [Thu, 11 Nov 1999 04:28:29 +0000 (04:28 +0000)]
Updated make install so it works properly.
Steve Williams [Thu, 11 Nov 1999 04:24:05 +0000 (04:24 +0000)]
Minor update to the zap code. Now after zapping a room, if you double
click on the zapped rooms folder it'll update the rooms within it. In
other words if you zap a room, then click on it within the zapped rooms
folder it'll unzap, but the room tree won't update unless you double click
the zapped rooms folder.
Steve Williams [Thu, 11 Nov 1999 00:51:15 +0000 (00:51 +0000)]
Corrected a small bug that chopped off the 'enter' button in roomview.cpp
Steve Williams [Thu, 11 Nov 1999 00:48:14 +0000 (00:48 +0000)]
Added 'zap' capability
Added a 'zapped rooms' window
Started working on 'chat' functionality.
Steve Williams [Wed, 10 Nov 1999 03:51:52 +0000 (03:51 +0000)]
Updated the Makefile for proper 'make install'.
Created an entry in Makefile to install icons/executable. Make install
will now put the completed installation in /usr/local/bin/ for the
executable and in /usr/local/share/bitmaps for the pix.
Nathan Bryant [Tue, 9 Nov 1999 21:20:44 +0000 (21:20 +0000)]
* configure.in: include <sys/types.h> when doing checks which require <utmp.h>
(should fix Bug #10 on FreeBSD)
Steve Williams [Mon, 8 Nov 1999 04:11:33 +0000 (04:11 +0000)]
Added a 'goto' button on the toolbar.
Steve Williams [Mon, 8 Nov 1999 01:06:45 +0000 (01:06 +0000)]
Updated Makefile for 'make install'.
Steve Williams [Mon, 8 Nov 1999 01:04:47 +0000 (01:04 +0000)]
Fixed who list to remove itself when disconnecting a session
Fixed room list to remove itself when disconnecting a session
Fixed status bar to reflect 'not connected' when disconnect button
is pressed.
Art Cancro [Sun, 7 Nov 1999 23:06:15 +0000 (23:06 +0000)]
* Fix room name display
Steve Williams [Sun, 7 Nov 1999 19:47:24 +0000 (19:47 +0000)]
*** empty log message ***
Steve Williams [Sun, 7 Nov 1999 19:44:54 +0000 (19:44 +0000)]
*** empty log message ***
Steve Williams [Sun, 7 Nov 1999 19:34:07 +0000 (19:34 +0000)]
Added README file.
Steve Williams [Sun, 7 Nov 1999 19:24:09 +0000 (19:24 +0000)]
*** empty log message ***
Steve Williams [Sun, 7 Nov 1999 18:42:52 +0000 (18:42 +0000)]
Removed all 'cout' commands
changed 'exit' commands to 'close' on the userlogin menu
updated daphne so that disconnecting from the server doesn't
shut down the program.
Art Cancro [Sun, 7 Nov 1999 17:56:38 +0000 (17:56 +0000)]
* Began the ChangeLog for this project.
Art Cancro [Fri, 5 Nov 1999 03:57:11 +0000 (03:57 +0000)]
* Issue 'cancel' messages for vCard when a user is deleted.
* Try to delete 'cancel' messages locally after they've been distributed.
Art Cancro [Thu, 4 Nov 1999 02:06:51 +0000 (02:06 +0000)]
* Changed 'number of worker threads' from a sysconfig.h #define to an actual
server configuration setting. Added it to the client .AS command.
Art Cancro [Thu, 4 Nov 1999 02:05:02 +0000 (02:05 +0000)]
* Added 'number of worker threads' to site config screen
Art Cancro [Wed, 3 Nov 1999 04:01:23 +0000 (04:01 +0000)]
* Fixed buffer overrun problems in cmd_rchg(), cmd_hchg(), and cmd_uchg()
* Removed my email address as the feedback content from the docs; replaced
it with a reference to the Citadel/UX web site.
Art Cancro [Tue, 2 Nov 1999 19:51:24 +0000 (19:51 +0000)]
* Fixed timeout problem for remote client sessions (all timeouts were set to
1 second ... probably a temporary hack that was missed in the cleanup)
Art Cancro [Tue, 2 Nov 1999 03:03:28 +0000 (03:03 +0000)]
* Several fixes to msgbase.c and netproc.c to prevent corrupted incoming
network traffic from crashing the server. Reject bad messages.
Art Cancro [Tue, 2 Nov 1999 02:24:54 +0000 (02:24 +0000)]
* Message-ID: rfc822 fix
Art Cancro [Mon, 1 Nov 1999 04:21:35 +0000 (04:21 +0000)]
* Fixed a concurrency bug which crashed the server when multiple sessions
terminated simultaneously.
Art Cancro [Mon, 1 Nov 1999 00:54:02 +0000 (00:54 +0000)]
* CtdlFetchMessage() - generate a "<no text>" message body if there's none
on disk. Too much stuff goes haywire if there's no M field.
Art Cancro [Sun, 31 Oct 1999 18:17:17 +0000 (18:17 +0000)]
* Fixed buffer overrun in cmd_rchg()
* Call master_cleanup() when time_to_die==1 for proper shutdown
Art Cancro [Sun, 31 Oct 1999 16:27:05 +0000 (16:27 +0000)]
* Fixed incorrect assignment of new session ID's
Art Cancro [Sun, 31 Oct 1999 04:17:17 +0000 (04:17 +0000)]
* Fixed a bug which was crashing the server during very long message entry.
Art Cancro [Fri, 29 Oct 1999 01:48:45 +0000 (01:48 +0000)]
* database.c: Removed arbitrary limit on maximum number of sessions
Art Cancro [Fri, 29 Oct 1999 01:03:03 +0000 (01:03 +0000)]
* Debugged all possible ways for a session to terminate; do them cleanly.
* Assign session numbers in a more portable and less arbitrary way.
Art Cancro [Thu, 28 Oct 1999 19:50:55 +0000 (19:50 +0000)]
* Fixed a problem where the client protocol would spit out two responses
and therefore get out of sync if ASUP command set the access level to
0 and therefore deleted the user (thanks to Eric McDonald)
Art Cancro [Thu, 28 Oct 1999 05:08:50 +0000 (05:08 +0000)]
* Removed all of the thread cancellation cruft that is no longer necessary
* Moved the now non-system-dependent RemoveContext() out of sysdep.c (now
it's part of cleanup() in citserver.c)
* Removed all references to pthread_* from all modules except sysdep.c
Art Cancro [Thu, 28 Oct 1999 03:20:18 +0000 (03:20 +0000)]
* Fixed the problem of worker threads waking up prematurely.
* 'QUIT'-terminated sessions now exit properly. Still need to fix code for
sessions which are terminated from another session or by the server.
Art Cancro [Wed, 27 Oct 1999 04:26:59 +0000 (04:26 +0000)]
* Initial hack of worker-thread rearchitecture. Right now it is successfully
dispatching worker threads to active client sockets (and to the master
socket too, of course). Removing sessions is currently broken. There is
also a problem with worker threads waking up too quickly when a client
command is entered (race condition?). More cleanup to follow.
Art Cancro [Tue, 26 Oct 1999 20:20:29 +0000 (20:20 +0000)]
* Removed the auto-reconnect stuff... it was locking the client in an active
loop more often than it was reconnecting.
Nathan Bryant [Tue, 26 Oct 1999 20:17:27 +0000 (20:17 +0000)]
add .AppleDouble
Art Cancro [Tue, 26 Oct 1999 13:59:12 +0000 (13:59 +0000)]
damn bugs
Art Cancro [Tue, 26 Oct 1999 03:48:40 +0000 (03:48 +0000)]
* Shuffled around the order of events when a thread is terminating. All
mutex operations now happen prior to the freeing of the CitContext structure,
otherwise begin_critical_section() and end_critical_section() try to
manipulate the context's mutex count when there isn't any context.
Art Cancro [Tue, 26 Oct 1999 03:21:17 +0000 (03:21 +0000)]
* Changed a lot of strncpy() calls to safestrncpy() and replaced most of their
hardcoded size arguments with 'sizeof' based arguments.
* Moved the CitContext destruction into the housekeeper thread and out of the
thread being cancelled. Didn't fix it, though (to see what happens, link
the server against ElectricFence and watch what happens when a session ends).
Art Cancro [Mon, 25 Oct 1999 02:25:09 +0000 (02:25 +0000)]
* Shuffled around the room editing commands
Nathan Bryant [Sun, 24 Oct 1999 19:22:52 +0000 (19:22 +0000)]
* Makefile.in, configure.in: added --enable-icq flag; made checks for
authentication libraries more intelligent.
Art Cancro [Sat, 23 Oct 1999 03:39:12 +0000 (03:39 +0000)]
* Finished moving vCard functionality to the new message base functions.
Art Cancro [Thu, 21 Oct 1999 03:36:05 +0000 (03:36 +0000)]
* header change
Art Cancro [Thu, 21 Oct 1999 00:50:15 +0000 (00:50 +0000)]
* Finished up the flags and replication checks in CtdlSaveMsgPointerInRoom().
Art Cancro [Wed, 20 Oct 1999 16:46:28 +0000 (16:46 +0000)]
* More code shuffle. Added some flags to CtdlSaveMessagePointerInRoom() and
enabled the MOVE command to also do a "copy" operation (actually just
creates a second link and bumps the ref count). Implemented "<C>opy" in
the client.
Art Cancro [Wed, 20 Oct 1999 16:07:50 +0000 (16:07 +0000)]
* Wholist fixes for users who are in chat mode
Art Cancro [Wed, 20 Oct 1999 03:42:31 +0000 (03:42 +0000)]
* In the wholist, only show <private room> if the user viewing the list
doesn't know that room. Otherwise show the name.
Art Cancro [Wed, 20 Oct 1999 02:59:24 +0000 (02:59 +0000)]
* Code reorganization. Making it easier to move/copy messages without
duplicating existing code.
Art Cancro [Mon, 18 Oct 1999 04:05:34 +0000 (04:05 +0000)]
* Started vCard migration to new Extended ID stuff
Art Cancro [Sun, 17 Oct 1999 03:23:25 +0000 (03:23 +0000)]
* Got the new replicator working. Now to move vCard to it...
Art Cancro [Sun, 17 Oct 1999 02:27:54 +0000 (02:27 +0000)]
* Oops
Art Cancro [Sun, 17 Oct 1999 02:25:19 +0000 (02:25 +0000)]
* Discovered a huge design flaw in the replication algorithm. Ripped it
out and replaced it with something a bit more robust.
Art Cancro [Sat, 16 Oct 1999 22:46:24 +0000 (22:46 +0000)]
* Replication fixes
Art Cancro [Sat, 16 Oct 1999 05:30:17 +0000 (05:30 +0000)]
* Changes to message replication code. Don't do server-side hooks during
an ENT3 command. Also fixed a bug in cmd_whok() that caused crashes
after a file format change.
Art Cancro [Sat, 16 Oct 1999 05:06:47 +0000 (05:06 +0000)]
* Don't do hooks during cmd_ent3()
Art Cancro [Sat, 16 Oct 1999 03:53:46 +0000 (03:53 +0000)]
* Run netproc -i after a successful NUOP
Art Cancro [Thu, 14 Oct 1999 04:07:21 +0000 (04:07 +0000)]
* Cleaned up the bottom-of-page icons
Art Cancro [Thu, 14 Oct 1999 03:04:24 +0000 (03:04 +0000)]
* Finished the netproc side of Z (zap/supersede) processing for replication
Art Cancro [Wed, 13 Oct 1999 04:24:20 +0000 (04:24 +0000)]
* Added search-by-header-fields to CtdlForEachMessage(), and then to the
server MSGS command. This will have lots of uses.
Art Cancro [Wed, 13 Oct 1999 01:36:39 +0000 (01:36 +0000)]
* Starting some work on network zap (supersede) mode for replication
Art Cancro [Fri, 8 Oct 1999 23:58:11 +0000 (23:58 +0000)]
* Minor bug fix in registration screen
Art Cancro [Fri, 8 Oct 1999 02:55:57 +0000 (02:55 +0000)]
* More vCard-related debugging
Art Cancro [Thu, 7 Oct 1999 02:58:50 +0000 (02:58 +0000)]
* Semi-broken vCard replacement implementation in place.
* Added "Z" (Zap, supersede) field to message format
Art Cancro [Wed, 6 Oct 1999 23:17:51 +0000 (23:17 +0000)]
* vCard upload now copies the user's card to the global address book (but it
hangs the server if the target room doesn't exist)
Art Cancro [Wed, 6 Oct 1999 03:51:01 +0000 (03:51 +0000)]
* Figured out a way to get the user's vCard to automatically delete in the
global address book when it's replaced. Now to find a way to add the new
one...
Art Cancro [Wed, 6 Oct 1999 02:44:02 +0000 (02:44 +0000)]
* Per Nick's request, removed the key bindings stuff. He knows how to fit
it back in when it's fixed. Also added more attempts at cache disabling,
but it still doesn't work in the StarOffice browser. I don't know why.
Art Cancro [Mon, 4 Oct 1999 03:19:52 +0000 (03:19 +0000)]
* We now have a housekeeping thread and a housekeeping queue.
Art Cancro [Mon, 4 Oct 1999 02:04:02 +0000 (02:04 +0000)]
* Minor vCard fixes
Art Cancro [Sun, 3 Oct 1999 23:31:50 +0000 (23:31 +0000)]
* Misc fixes and comment/docs updates
Art Cancro [Sun, 3 Oct 1999 21:48:21 +0000 (21:48 +0000)]
* Added serv_upgrade.h to automagically convert pre-5.55 format user records
to 5.55 format user records and generate vCards.
Art Cancro [Sat, 2 Oct 1999 03:26:14 +0000 (03:26 +0000)]
* Merged in Nick's bit of JavaScript to handle key commands.
BROKEN BUILD ALERT!! This runs all the time, even when the cursor is
in a text field. Right now you can't even log in.
Art Cancro [Wed, 29 Sep 1999 21:13:18 +0000 (21:13 +0000)]
* CtdlWriteObject() can now store objects in personal rooms for any specified
user -- rather than only the current user or non-personal rooms.
Art Cancro [Wed, 29 Sep 1999 17:26:56 +0000 (17:26 +0000)]
* serv_vcard.c: fixed crashola bug in cmd_greg()
* tools.c: simplified and improved the string tokenizer. Now it runs in a
single pass with no intermediate buffer.
Art Cancro [Tue, 28 Sep 1999 03:27:38 +0000 (03:27 +0000)]
* Fully migrated cmd_greg() and cmd_regi() into serv_vcard (still has bugs)
Art Cancro [Mon, 27 Sep 1999 03:33:41 +0000 (03:33 +0000)]
* cmd_regi() is now in serv_vcard and writes to the vcard instead of to the
usersupp file. Still needs tweaking.
Art Cancro [Fri, 24 Sep 1999 03:32:19 +0000 (03:32 +0000)]
* "read my vCard" and "write my vCard" are written and tested.
Art Cancro [Fri, 24 Sep 1999 02:54:18 +0000 (02:54 +0000)]
* Worked a little more on the vCard stuff. The serv_vcard module is now in
place, and a "read my vcard" function is there; "write my" is next...
Art Cancro [Thu, 23 Sep 1999 23:58:35 +0000 (23:58 +0000)]
* serv_vcard.c: added. Nothing in it yet.
Art Cancro [Thu, 23 Sep 1999 03:07:56 +0000 (03:07 +0000)]
* The vCard 'class' is now linked into the server, though it's not really
functional yet. Its constructors/destructors are debugged, though.
Art Cancro [Tue, 21 Sep 1999 02:25:39 +0000 (02:25 +0000)]
* Began work on vCard. This could be kinda cool.
Art Cancro [Sun, 19 Sep 1999 21:28:33 +0000 (21:28 +0000)]
* Finished off the message architecture stuff with a new class of hooks to
enable future server-side handlers.
Art Cancro [Sun, 19 Sep 1999 16:24:16 +0000 (16:24 +0000)]
* Debugging in cmd_ent3()
Art Cancro [Sun, 19 Sep 1999 15:57:08 +0000 (15:57 +0000)]
* migrated cmd_ent3() to CtdlSaveMessage()
Art Cancro [Sun, 19 Sep 1999 05:13:57 +0000 (05:13 +0000)]
* Debugged the new version of CtdlWriteObject()
Art Cancro [Thu, 16 Sep 1999 03:23:27 +0000 (03:23 +0000)]
* Did most of the migration from save_message() to CtdlSaveMsg(). The
latter builds a "struct CtdlMessage" (so we can run server-side handlers
against it later on), then serializes it and stores to disk.
* BROKEN BUILD ALERT!! cmd_ent3() and CtdlWriteObject() are still not
migrated. They are stubbed out and will MALFUNCTION if used right now!!
Art Cancro [Tue, 7 Sep 1999 01:42:45 +0000 (01:42 +0000)]
* cmd_msg3() now uses serialize_message() for its output. All message
commands will eventually exist as a "struct CtdlMessage" at some point
so that we can install server-side handler hooks.
Art Cancro [Tue, 7 Sep 1999 00:04:13 +0000 (00:04 +0000)]
* netproc.c: put outgoing messages into the use table, too -- this prevents
locally originated messages from showing up again if a remote system is
misconfigured and spools them back to us.