* moved some flags so that our run flags are collected in one place.
* added IsEmptyStr from webcit
* added optional Parameter to "DOWN" command that will make the server restart instead of stopping.
* if the new flag is set, we will exit(1) to hopefully make our watcher fire us up again.
Dave West [Sat, 28 Jul 2007 11:30:54 +0000 (11:30 +0000)]
Begun phase 2 of modules stuff.
Moved serv_test.c into modules/test
modified Makefile.in to build it.
Fixed a bug in mk_module_init.sh that stopped it scanning the subdirs
Dave West [Thu, 26 Jul 2007 07:46:53 +0000 (07:46 +0000)]
Moved to new module init structure.
Added file include/ctdl_module.h
Added script mk_modules_init.sh to build files modules_init.c and modules_init.h
removed #include "serv_extensions.h" from files that don't need it
Begun creation of new module dir structure.
Art Cancro [Mon, 23 Jul 2007 00:56:58 +0000 (00:56 +0000)]
When webcit converts a set of inbox rules to a Sieve script,
insert all of the user's email addresses into the script so
the parser doesn't have to guess by scanning the envelope recipient.
Some important changes in iconbar
- Added a button to select or not the list of the users online
You can choise :
Yes (for only Who is online ? icon)
Yes with users list (for display users list,
correct the bad english... )
No (for no Who is online? icon)
- used radio box with Yes or No in the place of checkbox
to use the same way for all choices
- removed hardcoded color (altern table)
- added a banner to the return message: Your icon bar has been...
- CSS/HTML improvements
Test it
* Created IsEmptyStr define to be used rather then using some weird strlen constructs
* moved strlens out of loops everywhere possible anyhow.
* evaded about half of our strlen()'s; more to come.
Art Cancro [Thu, 12 Jul 2007 18:26:54 +0000 (18:26 +0000)]
* Added new view type VIEW_JOURNAL - not yet used by
native clients, but Outlook (via the Bynari connector) needs it.
* Implemented GETMETADATA so the Connector can learn folder types
without the aid of hidden synchronization messages
Art Cancro [Thu, 12 Jul 2007 03:02:22 +0000 (03:02 +0000)]
Re-using the 'buf' variable in embed_room_banner() for
room name sanitization clobbered a bunch of variables that
we still needed, resulting (for example) in prompts such as
'0 new of 0 messages'. Fixed.
Some modifications in the display of each message to optimize the
place.
- Buttons are now at the top to the right
- the date is on the first line
- author and room are on the following line
Art Cancro [Sun, 8 Jul 2007 04:15:38 +0000 (04:15 +0000)]
Evidently, when an HTML checkbox is disabled, its value
is never sent to the server, even if the value was explicitly set.
Reworked the c_auth_mode setting due to this, because it was getting
unset.
- Deleted the (too wide) remote host in summary screen
- I keep it in Who is online screen
- A scrolbar appear now if the user list is too long on iconbar
Art Cancro [Sat, 7 Jul 2007 04:25:14 +0000 (04:25 +0000)]
Support the idea of a 'master user' logging in
as another user. This will be used to support Asterisk voicemail. It
is currently disabled because the master username/password is hardcoded
and we don't want anyone using that.
Art Cancro [Thu, 5 Jul 2007 19:53:58 +0000 (19:53 +0000)]
*All* <FORM> blocks now contain a nonce field, and the use of
a nonce is now enforced whenever method=POST is used. This prevents
an attacker from simply removing the nonce entirely.
Art Cancro [Thu, 28 Jun 2007 04:01:12 +0000 (04:01 +0000)]
Eliminate the 'Internet mail recommends
a subject' message; the presence of the 'Subject:' prompt
ought to be enough to communicate that. Also, do not prompt
if the subject is already set (which will be the case if the
user has selected a 'Reply' command).
Art Cancro [Sun, 24 Jun 2007 04:23:52 +0000 (04:23 +0000)]
Creating a mailbox room no longer automatically sets
the 'subject required' bit. Instead, the server recommends a subject at ENT0 time
if the 'subject required' bit is set *or* there is at least one Internet email
recipient. This allows local citadel users to send mail to each other without
subjects, which is customary.
* Also made the ENT0 result for this function numeric instead of a string.
Art Cancro [Wed, 20 Jun 2007 04:36:03 +0000 (04:36 +0000)]
The room info link in the banner no longer appears
as the words 'Room info'. Instead, it shows the room info itself if
it is short enough, or it shows a shortened version if it is too
long. Either way, the user may click on it to see the full version
in a popup.
I have also replaced the words 'close window' with the close window
icon, but I can't figure out how to make it appear on the right side
of the box.