Dave West [Mon, 23 Jul 2007 09:01:42 +0000 (09:01 +0000)]
Code clean up. Removed #include serv_sieve.h as no longer needed
Thierry Pasqualier [Mon, 23 Jul 2007 06:29:41 +0000 (06:29 +0000)]
HTML/CSS calendar mimepart display
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.
Wilfried Göesgens [Sun, 22 Jul 2007 22:22:23 +0000 (22:22 +0000)]
* fixed missing targets in make clean. thanks, davew for pointing this out.
Wilfried Göesgens [Sun, 22 Jul 2007 11:31:06 +0000 (11:31 +0000)]
davew: search for newer versions of berkeley db
Wilfried Göesgens [Sun, 22 Jul 2007 10:46:47 +0000 (10:46 +0000)]
davew: clean ups, addition to documentation of API and addition of an event to clean the libsieve connection to housekeeping.c
Wilfried Göesgens [Sun, 22 Jul 2007 10:35:59 +0000 (10:35 +0000)]
* put anchor comment in here too.
Art Cancro [Sun, 22 Jul 2007 04:27:19 +0000 (04:27 +0000)]
Sieve GETENVELOPE converts 'local' style addresses
into user_name@host syntax. Fixes libsieve crash for local-to-local
mail.
Thierry Pasqualier [Sat, 21 Jul 2007 07:53:29 +0000 (07:53 +0000)]
CSS/HTML for text/calendar in message... in progress
Thierry Pasqualier [Fri, 20 Jul 2007 18:31:19 +0000 (18:31 +0000)]
HTML/CSS of text/calendar display in message
Thierry Pasqualier [Fri, 20 Jul 2007 12:08:58 +0000 (12:08 +0000)]
- some HTML/CSS improvments
- I began the improvment the display of mime type calendar in messages
(to avoid black background display with IE)
Thierry Pasqualier [Thu, 19 Jul 2007 12:24:07 +0000 (12:24 +0000)]
Updated french translation
Art Cancro [Thu, 19 Jul 2007 04:39:20 +0000 (04:39 +0000)]
serv_sieve: when no envelope-to field is present, copy
it from the recipient in the message body.
Thierry Pasqualier [Wed, 18 Jul 2007 21:22:42 +0000 (21:22 +0000)]
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
Art Cancro [Wed, 18 Jul 2007 04:28:14 +0000 (04:28 +0000)]
Shuffled around the sieve code:
* init function moved into the proper place
* GETENVELOPE doesn't set to/from if they are empty
Wilfried Göesgens [Mon, 16 Jul 2007 22:06:19 +0000 (22:06 +0000)]
* merged in Littlesmiths corrections and suggestions
* reworked some strings on Littlesmiths input
* reworked sysmsgs.c:44 in the original
Thierry Pasqualier [Mon, 16 Jul 2007 21:55:02 +0000 (21:55 +0000)]
fix the reply subject bug
Thierry Pasqualier [Mon, 16 Jul 2007 08:07:29 +0000 (08:07 +0000)]
I didn't initialize current time (it worked on my box ?)
Hope it's work now, sorry.
Thierry Pasqualier [Mon, 16 Jul 2007 07:17:35 +0000 (07:17 +0000)]
iconbar CSS: forgot inactive user background on user list
Wilfried Göesgens [Sun, 15 Jul 2007 21:14:10 +0000 (21:14 +0000)]
* added a comment infront of the svn modifieable returns. Now it will be me listed on all those places till the next commit ;-)
Thierry Pasqualier [Fri, 13 Jul 2007 06:33:50 +0000 (06:33 +0000)]
Some HTML/CSS changes to return to a more compact header of the messages with buttons
Wilfried Göesgens [Thu, 12 Jul 2007 22:29:19 +0000 (22:29 +0000)]
* fix the 'trilcat pastes url in webcit with trash at the end' incident.
Wilfried Göesgens [Thu, 12 Jul 2007 21:49:12 +0000 (21:49 +0000)]
* 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.
Thierry Pasqualier [Wed, 11 Jul 2007 18:35:47 +0000 (18:35 +0000)]
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
Thierry Pasqualier [Tue, 10 Jul 2007 12:24:23 +0000 (12:24 +0000)]
Edit message : i agree with fleeb, i put the button on right top
Thierry Pasqualier [Mon, 9 Jul 2007 17:20:07 +0000 (17:20 +0000)]
Aligned user list on the left of iconbar with a small indent
Thierry Pasqualier [Mon, 9 Jul 2007 12:16:03 +0000 (12:16 +0000)]
iconbar CSS : light yellow background for active users
Thierry Pasqualier [Mon, 9 Jul 2007 11:59:30 +0000 (11:59 +0000)]
I wasn't woken this morning, I confused span and class ;-)
Thierry Pasqualier [Mon, 9 Jul 2007 06:54:50 +0000 (06:54 +0000)]
iconbar : mark active/inactive user with CSS
Michael Hampton [Sun, 8 Jul 2007 15:54:04 +0000 (15:54 +0000)]
Include sys/stat.h when available (FreeBSD)
Thierry Pasqualier [Sun, 8 Jul 2007 08:16:15 +0000 (08:16 +0000)]
- Simplified the user list for summary
- Added CSS for Who's online and Summary screens
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.
Art Cancro [Sun, 8 Jul 2007 03:14:01 +0000 (03:14 +0000)]
Quick respin of WebCit (now 7.12) due to missing config.sub
(I messed up the buildpackages script while removing .svn directories)
Thierry Pasqualier [Sat, 7 Jul 2007 21:07:25 +0000 (21:07 +0000)]
- 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 15:10:49 +0000 (15:10 +0000)]
When existing init scripts are detected during setup,
ask the user if he wants to leave them as-is.
Art Cancro [Sat, 7 Jul 2007 15:01:16 +0000 (15:01 +0000)]
Removed an unused variable
Thierry Pasqualier [Sat, 7 Jul 2007 14:10:24 +0000 (14:10 +0000)]
userlist: removed (not logged in) message on iconbar
Wilfried Göesgens [Sat, 7 Jul 2007 12:44:47 +0000 (12:44 +0000)]
* check whether we shoud shut down. we do this by checking whether the password is an empty string.
Wilfried Göesgens [Sat, 7 Jul 2007 08:57:14 +0000 (08:57 +0000)]
* we don't need to chown chkpwd anymore.
Wilfried Göesgens [Sat, 7 Jul 2007 08:33:33 +0000 (08:33 +0000)]
* for some reason config.path doesn't get createt, so we better don't delete it.
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 [Sat, 7 Jul 2007 03:38:53 +0000 (03:38 +0000)]
Support AUTH=PLAIN in the IMAP server.
Art Cancro [Fri, 6 Jul 2007 19:40:29 +0000 (19:40 +0000)]
oops, update to 7.11 in configure.ac
* Updated buildpackages to use .tar.gz file format, and also
to clean out files like .svn/ etc.
Art Cancro [Fri, 6 Jul 2007 19:09:53 +0000 (19:09 +0000)]
* Move to GPL v3
* Update version number to 7.11
Wilfried Göesgens [Thu, 5 Jul 2007 22:56:04 +0000 (22:56 +0000)]
* strlen(); strcpy -> single strlen + memmove
Wilfried Göesgens [Thu, 5 Jul 2007 21:52:13 +0000 (21:52 +0000)]
* send linewraps, so we get our dots at least.
* sindcommand sends a linewrap now too, else we will block on finishing.
Art Cancro [Thu, 5 Jul 2007 20:59:27 +0000 (20:59 +0000)]
Remove the intermediate buffer in serv_puts()
Wilfried Göesgens [Thu, 5 Jul 2007 20:05:37 +0000 (20:05 +0000)]
* the memmove off by one, and some more optimization.
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, 5 Jul 2007 19:36:32 +0000 (19:36 +0000)]
Nearly all <FORM> blocks now contain a hidden input
tag containing a session nonce. If the nonce does not match, the request
is cancelled.
Art Cancro [Thu, 5 Jul 2007 15:44:29 +0000 (15:44 +0000)]
Sanitize text of preferences strings
Art Cancro [Thu, 5 Jul 2007 15:32:50 +0000 (15:32 +0000)]
Sanitize output of room name in room banner
Wilfried Göesgens [Wed, 4 Jul 2007 21:58:19 +0000 (21:58 +0000)]
* don't use strlen and strcpy over here too in a wrong way.
Wilfried Göesgens [Wed, 4 Jul 2007 21:57:41 +0000 (21:57 +0000)]
* don't use strlen and strcpy over here too in a wrong way.
Wilfried Göesgens [Wed, 4 Jul 2007 21:56:29 +0000 (21:56 +0000)]
* don't use strlen; use memmove instead of strcpy.
Wilfried Göesgens [Wed, 4 Jul 2007 21:50:38 +0000 (21:50 +0000)]
* have default ip, so valgrind shuts up.
Art Cancro [Wed, 4 Jul 2007 03:46:43 +0000 (03:46 +0000)]
Fixed a bug in the conversion of 'mailto:' links to WebCit
mail links.
Art Cancro [Tue, 3 Jul 2007 22:00:35 +0000 (22:00 +0000)]
Remove <script> blocks from HTML messages when displaying.
Art Cancro [Tue, 3 Jul 2007 19:44:28 +0000 (19:44 +0000)]
When converting <A> tags, don't omit the change to
bracket nesting count. Fixes rendering problems.
Art Cancro [Tue, 3 Jul 2007 15:10:38 +0000 (15:10 +0000)]
In the main readloop(), fixed a </div> that appeared
*after* the call to wDumpContent(), which was causing blank screens on IE6
Art Cancro [Sun, 1 Jul 2007 04:20:36 +0000 (04:20 +0000)]
Sanitize HTML output from the 'showuser' command
Art Cancro [Fri, 29 Jun 2007 05:01:56 +0000 (05:01 +0000)]
When reading in SMTP recipients, use safestrncpy() instead
of strcpy() to load the address conversion buffer.
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 [Wed, 27 Jun 2007 05:32:56 +0000 (05:32 +0000)]
Be a little smarter about return-path generation.
Art Cancro [Wed, 27 Jun 2007 05:06:31 +0000 (05:06 +0000)]
Removed the VRFY and EXPN commands from our SMTP server
implementation because nobody uses these commands anymore
except for spammers.
Wilfried Göesgens [Tue, 26 Jun 2007 20:55:08 +0000 (20:55 +0000)]
* print some info to the client while putting stuff into the db
* use select() to read more from the citserver.
Wilfried Göesgens [Mon, 25 Jun 2007 21:53:00 +0000 (21:53 +0000)]
* if a message subject is required, ask the user for it before opening the editor.
Wilfried Göesgens [Sun, 24 Jun 2007 22:25:00 +0000 (22:25 +0000)]
* evaluate the subject required flag. not tested, the user doesn't get to know the consequences yet.
Wilfried Göesgens [Sun, 24 Jun 2007 21:21:29 +0000 (21:21 +0000)]
* configure the room subject required flag in the text client
Thierry Pasqualier [Sun, 24 Jun 2007 18:24:49 +0000 (18:24 +0000)]
the close window icon of popup room info appear now on right
Art Cancro [Sun, 24 Jun 2007 04:24:34 +0000 (04:24 +0000)]
Adjusted ENT0 response to look for nonzero instead of
a string for the 'subject required' function.
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.
Wilfried Göesgens [Sat, 23 Jun 2007 21:56:34 +0000 (21:56 +0000)]
* added subject required line to the room config tab
* evaluate the flag in the message create box.
Wilfried Göesgens [Sat, 23 Jun 2007 21:51:54 +0000 (21:51 +0000)]
* added flag to make clients add a subject
* create every room of type 'mailbox' this way
* added modified reply to ENT0 that indicates the flag.
Art Cancro [Thu, 21 Jun 2007 20:57:28 +0000 (20:57 +0000)]
Merged the latest Dutch translation nl.po sent in by Wim Kuilman
Wilfried Göesgens [Wed, 20 Jun 2007 20:14:55 +0000 (20:14 +0000)]
* move chkpw d to the utilbin section.
Wilfried Göesgens [Wed, 20 Jun 2007 20:05:00 +0000 (20:05 +0000)]
* move chkpwd to the utility bin dir, added chkpw to the debs.
Wilfried Göesgens [Wed, 20 Jun 2007 19:25:25 +0000 (19:25 +0000)]
* check whether we shoud shut down. we do this by checking whether the password is an empty 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.
Wilfried Göesgens [Tue, 19 Jun 2007 21:32:00 +0000 (21:32 +0000)]
* fix a leak in GREG
* fix some unclear conditions mentioned by valgrind.
Art Cancro [Tue, 19 Jun 2007 20:49:54 +0000 (20:49 +0000)]
Rewrote safestrncpy() using our own code instead of a call
to strncpy(). Eliminates overlap warnings.
Wilfried Göesgens [Tue, 19 Jun 2007 19:00:06 +0000 (19:00 +0000)]
* check whether our chkpwd binary exists or not
* use the default framework to locate chkpwd in the sample
* added the sample to make
Art Cancro [Tue, 19 Jun 2007 15:23:25 +0000 (15:23 +0000)]
Eliminated the unpacking of uid in the chkpwd
binary protocol. sizeof uid_t is now used, since it will
always be on the same host anyway.
Art Cancro [Tue, 19 Jun 2007 15:10:50 +0000 (15:10 +0000)]
Added 'chkpw.c' utility for manually checking passwords.
This is not yet integrated into the build.
Art Cancro [Tue, 19 Jun 2007 03:19:19 +0000 (03:19 +0000)]
citadel.rc: commented out the 'Doorway' function, and
file upload/download using xmodem/ymodem/zmodem commands. They can
be re-enabled by any sites that might still be using these antiquated
functions.
Art Cancro [Tue, 19 Jun 2007 02:39:32 +0000 (02:39 +0000)]
chkpwd is now a daemon that is started by citserver
prior to dropping root privileges. The pair communicate over a private
set of pipes. chkpwd no longer needs to be setuid.
Wilfried Göesgens [Mon, 18 Jun 2007 21:32:52 +0000 (21:32 +0000)]
* new german texts
Art Cancro [Mon, 18 Jun 2007 21:18:04 +0000 (21:18 +0000)]
Refuse to purge expired users if the
auto-purger determines that it would have purged every user
on the system. This is usually an error condition, such as
an inability to communicate with a PAM service.
Art Cancro [Mon, 18 Jun 2007 04:13:47 +0000 (04:13 +0000)]
Removed the --disable-chkpwd option, because it generates
a system that fails to build. (The non-chkpwd version of validpw() was
removed a long time ago.)
Art Cancro [Mon, 18 Jun 2007 04:02:17 +0000 (04:02 +0000)]
Renamed validpw() in auth.c to validate_password()
in order to distinguish it from the validpw() function in user_ops.c
Thierry Pasqualier [Sun, 17 Jun 2007 17:08:53 +0000 (17:08 +0000)]
Update of the French translation
Thierry Pasqualier [Sun, 17 Jun 2007 15:18:38 +0000 (15:18 +0000)]
solve the problem with the Who is online? list in the sidebar
Art Cancro [Fri, 15 Jun 2007 14:28:25 +0000 (14:28 +0000)]
Add TinyMCE language packs
Art Cancro [Fri, 15 Jun 2007 14:24:06 +0000 (14:24 +0000)]
Enable TinyMCE when using Safari or Opera
Art Cancro [Fri, 15 Jun 2007 14:14:13 +0000 (14:14 +0000)]
Upgrade of TinyMCE is in progress.
Art Cancro [Fri, 15 Jun 2007 14:13:45 +0000 (14:13 +0000)]
Upgrade of TinyMCE is in progress.
Art Cancro [Fri, 15 Jun 2007 04:06:10 +0000 (04:06 +0000)]
Laid some of the groundwork for a partial
implementation of IMAP METADATA
Thierry Pasqualier [Thu, 14 Jun 2007 22:20:34 +0000 (22:20 +0000)]
Edit message : fix To CC BCC Subject labels positions