Matt [Mon, 7 Jul 2008 05:30:08 +0000 (05:30 +0000)]
Rename is_wap to is_mobile
Detect iPhone Safari,S60 WebKit and WinCE browsers (opera, pocket ie) by
user-agent
Different and experimental message view - code is messy at the moment so
cleanup will come soon
Matt [Sun, 6 Jul 2008 04:50:34 +0000 (04:50 +0000)]
Reactivate "is_wap" for handheld browsers (iPhone, Opera, Nokia etc.).
Mobile templates end in .m.html
Art Cancro [Fri, 4 Jul 2008 03:51:50 +0000 (03:51 +0000)]
Set the environment variable SUPPRESS_DBVERSION_CHECK to any
non-null value, to suppress the test that prohibits Berkeley DB downgrade.
Wilfried Göesgens [Mon, 30 Jun 2008 18:02:42 +0000 (18:02 +0000)]
* optimize serv_getln to reduce its WC to once.
Michael Hampton [Sun, 29 Jun 2008 12:47:36 +0000 (12:47 +0000)]
Rewrite encoding checks for 64-bit cleanliness
Art Cancro [Sun, 29 Jun 2008 04:26:49 +0000 (04:26 +0000)]
text client no longer displays
passwords during new user validation.
Art Cancro [Sun, 29 Jun 2008 04:13:52 +0000 (04:13 +0000)]
Better handling of setup directory.
Fixes bug # 365.
Art Cancro [Sun, 29 Jun 2008 03:18:07 +0000 (03:18 +0000)]
Removed the global variable 'home_specified'
as it does not appear to be used for anything.
Art Cancro [Wed, 25 Jun 2008 21:08:59 +0000 (21:08 +0000)]
Added a serv_mrtg mode to tally total accounts and active accounts.
This will be useful for graphing site membership over long periods of time.
Art Cancro [Tue, 24 Jun 2008 02:15:41 +0000 (02:15 +0000)]
* Applied matt's latest patches
* Corrected a spelling error in the previous commit
Wilfried Göesgens [Mon, 23 Jun 2008 22:11:46 +0000 (22:11 +0000)]
* rather let webcit rate password than layer 9
Art Cancro [Mon, 23 Jun 2008 03:45:49 +0000 (03:45 +0000)]
Minor formatting and comments cleanup.
Also determined where in the code the hacking for recurring events must take
place, and inserted a comment there outlining the basic strategy.
Art Cancro [Mon, 23 Jun 2008 03:31:18 +0000 (03:31 +0000)]
minor formatting and comments cleanup
Art Cancro [Mon, 23 Jun 2008 03:08:04 +0000 (03:08 +0000)]
minor formatting and comments cleanup
Art Cancro [Sun, 22 Jun 2008 20:29:23 +0000 (20:29 +0000)]
oops, fixed it
Art Cancro [Sun, 22 Jun 2008 20:29:02 +0000 (20:29 +0000)]
oops, fixed it
Art Cancro [Sun, 22 Jun 2008 20:24:18 +0000 (20:24 +0000)]
Fixed makefile for generating pt_BR locale
Art Cancro [Sun, 22 Jun 2008 04:36:04 +0000 (04:36 +0000)]
The 'edit room' tab panel now uses the same CSS that is used
in the tabs.c API. This eliminates the problem with tabs breaking out into two
floating rows on narrow screens.
Wilfried Göesgens [Sat, 21 Jun 2008 22:33:51 +0000 (22:33 +0000)]
* a way to exclude stuff from distribution packages
Wilfried Göesgens [Thu, 19 Jun 2008 22:25:41 +0000 (22:25 +0000)]
* backtrace invalid message error, so we can follow this a little deeper.
Art Cancro [Thu, 19 Jun 2008 19:16:03 +0000 (19:16 +0000)]
libcitadel 7.37
Art Cancro [Thu, 19 Jun 2008 19:07:19 +0000 (19:07 +0000)]
R6396 IS VERSION 7.37
Wilfried Göesgens [Thu, 19 Jun 2008 18:10:10 +0000 (18:10 +0000)]
* fix welcome mail sending; thanks to Frank Lichtenheld for pointing this out.
Art Cancro [Thu, 19 Jun 2008 03:34:13 +0000 (03:34 +0000)]
webcit configure.ac package string should be WebCit 7.37, not 7.36
Art Cancro [Wed, 18 Jun 2008 02:28:11 +0000 (02:28 +0000)]
If an RSS feed contains an item with a missing title,
don't crash citserver when saving the item.
Wilfried Göesgens [Tue, 17 Jun 2008 21:34:26 +0000 (21:34 +0000)]
* fix buffer handling in qp_encode_email_addrs()
Wilfried Göesgens [Mon, 16 Jun 2008 22:09:17 +0000 (22:09 +0000)]
* handle the listen ip the right way.
Dave West [Mon, 16 Jun 2008 17:25:53 +0000 (17:25 +0000)]
Speed up for the indexer.
This will NOT cause a re-build of the index but it does significantly
improve performance when indexing a new message or if the index needs to
be re-built.
Basically the list of noise words is processed much faster.
Dave West [Mon, 16 Jun 2008 13:30:22 +0000 (13:30 +0000)]
Minor alterations to some messages as services are destroyed during
shutdown.
Dave West [Mon, 16 Jun 2008 13:06:14 +0000 (13:06 +0000)]
Implimented a new way to check the control record at startup.
We now have a check_control() that is called after the DB's are opened
Art Cancro [Mon, 16 Jun 2008 13:01:56 +0000 (13:01 +0000)]
Remove passwords from the LIST server command, even
for Aides. This is a security risk.
Dave West [Mon, 16 Jun 2008 12:11:31 +0000 (12:11 +0000)]
Tidy up useage message for configure script.
Dave West [Mon, 16 Jun 2008 11:55:14 +0000 (11:55 +0000)]
Turn off the user 0 message that should not have gotten into the
release.
Art Cancro [Mon, 16 Jun 2008 03:22:25 +0000 (03:22 +0000)]
When grabbing addresses for the address book popup, return
to the original room using gotoroom(saved_roomname) rather than calling
BSTR. Fixes this bug in three different places.
Art Cancro [Mon, 16 Jun 2008 02:16:02 +0000 (02:16 +0000)]
fix bug #360
Wilfried Göesgens [Sun, 15 Jun 2008 12:45:52 +0000 (12:45 +0000)]
* Shorten translation.
Art Cancro [Sat, 14 Jun 2008 14:47:32 +0000 (14:47 +0000)]
Changes to serv_network.c:
* The log message which indicates that network processing for a room has
begun, now only prints if there is a netconfig for that room. This
will hopefully make the logs much smaller.
* Any buffer which holds a filename is now of size PATH_MAX, rather than
SIZ or 256 or whatever.
Art Cancro [Thu, 12 Jun 2008 20:58:53 +0000 (20:58 +0000)]
Added a README.txt in ctdlphp/ indicating that
it is incomplete, unsupported code.
Wilfried Göesgens [Thu, 12 Jun 2008 19:12:08 +0000 (19:12 +0000)]
* incrase number of arguments.
Wilfried Göesgens [Thu, 12 Jun 2008 19:00:23 +0000 (19:00 +0000)]
* disable wml handling, since we don't have good content for that anyway.
Art Cancro [Wed, 11 Jun 2008 20:33:00 +0000 (20:33 +0000)]
qp_encode_email_addrs() returns the supplied pointer unchanged
if it points to an empty string.
Art Cancro [Tue, 10 Jun 2008 19:58:46 +0000 (19:58 +0000)]
The before-save hook which is called when saving a calendar
event now populates message headers from the calendar object without
the use of an intermediate data structure.
Art Cancro [Tue, 10 Jun 2008 02:31:56 +0000 (02:31 +0000)]
Added an aide_message() when an OpenID is claimed
Art Cancro [Sat, 7 Jun 2008 04:44:11 +0000 (04:44 +0000)]
Added a link on the OpenID login page, that points to a new
page on www.citadel.org describing what OpenID is and how
Citadel is using it.
Art Cancro [Fri, 6 Jun 2008 03:50:43 +0000 (03:50 +0000)]
* When not using native auth mode, do not enable the OpenID server command set.
* When self-service new user account creation is disabled, do not allow account creation via OpenID.
Art Cancro [Thu, 5 Jun 2008 17:37:16 +0000 (17:37 +0000)]
Populate vCard from SREG even when there was a name conflict
and we had to hold on to the SREG data for a while
Art Cancro [Thu, 5 Jun 2008 17:09:37 +0000 (17:09 +0000)]
Auto-populate vCard using Simple Registration Extension data
Art Cancro [Thu, 5 Jun 2008 02:32:46 +0000 (02:32 +0000)]
* Completed the code for creating a new account, manually specifying
the account name, when an OpenID was verified but the desired nickname
either was not supplied or conflicts with an existing user.
* The SETP command can now be passed a special string that tells it the
client wants the server to auto-generate a random password.
Wilfried Göesgens [Wed, 4 Jun 2008 23:04:12 +0000 (23:04 +0000)]
* forgot -i in the initscript
Art Cancro [Tue, 3 Jun 2008 16:30:35 +0000 (16:30 +0000)]
openid blah blah blah
Art Cancro [Tue, 3 Jun 2008 15:45:13 +0000 (15:45 +0000)]
Added a 'verify_only' result to OIDF, indicating the account
creation via SRI failed and we need to specify a username
manually.
Art Cancro [Tue, 3 Jun 2008 03:41:51 +0000 (03:41 +0000)]
* Removed some cruft from the login code. Combined the
do_login() and session_startup() functions. Moved more duplicated
code into a single code path.
* Completed the OpenID signin process for existing users, and for new
users who have made their preferred nickname available via Simple
Registration Extension (assuming this nickname is available on the
Citadel system). Other sign in flows are forthcoming...
Art Cancro [Mon, 2 Jun 2008 21:41:15 +0000 (21:41 +0000)]
If an Internet email is sent by a logged in user,
create bounceto address from the user record, not from
the message.
Art Cancro [Mon, 2 Jun 2008 21:36:02 +0000 (21:36 +0000)]
more openid work
Art Cancro [Mon, 2 Jun 2008 18:07:15 +0000 (18:07 +0000)]
Began laying the framework for creating new users with OpenID
Wilfried Göesgens [Mon, 2 Jun 2008 18:05:45 +0000 (18:05 +0000)]
* convert RSS Subject line into plaintext with our html to text function; this removes the entities ./ sometimes gives.
Art Cancro [Mon, 2 Jun 2008 16:09:00 +0000 (16:09 +0000)]
Export format has changed due to the addition of a new
table, so the version number has changed. Also added a serv_info field to
advise the client (e.g. WebCit) whether the server supports OpenID. The
main reason is because we can only do OpenID in native auth mode -- but we
can also use this to temporarily shut off all OpenID features if we need
to complete a new software release before OpenID is finished.
Art Cancro [Mon, 2 Jun 2008 15:14:05 +0000 (15:14 +0000)]
Completed artv import/export of openids
Art Cancro [Mon, 2 Jun 2008 15:03:45 +0000 (15:03 +0000)]
* Began implenmenting OpenID table import/export
* Disabled the code to automatically learn the highest message/user/room numbers
in the event that citadel.control is missing, because if you run it on a virgin
server, it CRASHES.
Art Cancro [Mon, 2 Jun 2008 14:24:40 +0000 (14:24 +0000)]
Fixed a double free error in serv_openid_rp.c
Art Cancro [Mon, 2 Jun 2008 03:06:47 +0000 (03:06 +0000)]
When doing an ARTV IMPORT, call rebuild_usersbynumber() afterward
Art Cancro [Mon, 2 Jun 2008 03:04:23 +0000 (03:04 +0000)]
Completed the delete-user hook to remove any associated
OpenID records. Also completed an auto-purger function to delete any
stale OpenID associations. Still need to add dump/load code. Now I
remember why I tend to avoid adding top-level database tables.
Art Cancro [Sun, 1 Jun 2008 04:36:26 +0000 (04:36 +0000)]
Fixed a potential memory leak (not to worry, it's
in new, unreleased code)
Art Cancro [Sun, 1 Jun 2008 04:19:38 +0000 (04:19 +0000)]
Implemented the code to detach an OpenID from an account.
Art Cancro [Sat, 31 May 2008 05:06:24 +0000 (05:06 +0000)]
Success! We can now log in an existing user with OpenID.
We still have to write the code to create a new user using OpenID.
Art Cancro [Sat, 31 May 2008 04:30:22 +0000 (04:30 +0000)]
Re-enable OpenID development code
Art Cancro [Fri, 30 May 2008 22:10:27 +0000 (22:10 +0000)]
Oops, don't rebuild usersbynumber every time
Wilfried Göesgens [Fri, 30 May 2008 20:57:12 +0000 (20:57 +0000)]
* separate content-type header fields by ';' ; thanks Guido for pointing this out.
Wilfried Göesgens [Fri, 30 May 2008 13:24:56 +0000 (13:24 +0000)]
* allow debs to build against libcurl 3 + 4
Art Cancro [Fri, 30 May 2008 04:03:22 +0000 (04:03 +0000)]
Oops ... libcitadel should be version 1.14, not 1.11
Art Cancro [Fri, 30 May 2008 03:20:30 +0000 (03:20 +0000)]
Updated version numbers.
Art Cancro [Fri, 30 May 2008 03:12:38 +0000 (03:12 +0000)]
Temporarily disable OpenID functionality for release
Art Cancro [Thu, 29 May 2008 22:00:45 +0000 (22:00 +0000)]
more openid work
Art Cancro [Thu, 29 May 2008 20:16:11 +0000 (20:16 +0000)]
Began writing some code to associate OpenIDs with Citadel accounts
Art Cancro [Thu, 29 May 2008 19:34:58 +0000 (19:34 +0000)]
Moved a variable off the stack and into session state
Art Cancro [Thu, 29 May 2008 16:49:28 +0000 (16:49 +0000)]
getuserbynumber() now uses a proper indexed database
Wilfried Göesgens [Wed, 28 May 2008 22:08:57 +0000 (22:08 +0000)]
* lock the list just while adding the new piece into it.
Art Cancro [Wed, 28 May 2008 21:30:13 +0000 (21:30 +0000)]
Added some glue code for attachment of an OpenID to
an existing Citadel account.
Dave West [Wed, 28 May 2008 17:17:21 +0000 (17:17 +0000)]
Fix for bugzilla #364
If an Aide edits a user there is no need to require the user to be
re-validated nor should we require the Aide be re-validated.
Dave West [Wed, 28 May 2008 16:37:36 +0000 (16:37 +0000)]
I there are users requiring validation when an Aide logs in the Aide now
starts at the validate new users screen.
This fixes half of bugzilla #383
Dave West [Wed, 28 May 2008 16:05:28 +0000 (16:05 +0000)]
Prevent boom at shutdown that results from trying to purge a user 0
Dave West [Wed, 28 May 2008 15:15:02 +0000 (15:15 +0000)]
Added a step to setup to get a password for the admin user.
Now when setup is run after it starts the server it will attempt to
create the admin user and set its password. This makes things a little
more obvious for new users setting up a Citadel system for the first
time.
Also it has the added effect of closing the small security hole.
On a new installation setup will grab user 1 before anyone else can thus
ensuring user 1 priviledges and/or it will set the password and user for
whoever the system admin is set to thus preventing the unlikely
situation where some attacker gets there first.
Dave West [Wed, 28 May 2008 13:23:43 +0000 (13:23 +0000)]
Now we name the 0 user that exists prior to a client logging in. This is
in preperation for not logged in public features.
Dave West [Wed, 28 May 2008 00:40:47 +0000 (00:40 +0000)]
Now we name all the private contexts.
Auto purger will complain if a user 0 has no name or does not have a
SYS_* type name as this is considered a bug.
upgrade module will try to fix up names of user 0 and will delete any
user 0 that does not fit the criteria without warning.
User name Citadel is no longer reserved but all usernames starting SYS_*
are.
Dave West [Wed, 28 May 2008 00:26:36 +0000 (00:26 +0000)]
Now IMAP posts Aide messages when a room is created.
This is in line with what happens if the CRE8 command had been used.
Dave West [Tue, 27 May 2008 20:57:17 +0000 (20:57 +0000)]
Removed unused variables.
Dave West [Tue, 27 May 2008 20:56:45 +0000 (20:56 +0000)]
Removed unused variables.
Art Cancro [Tue, 27 May 2008 14:45:32 +0000 (14:45 +0000)]
Removed an unused S_ mutex enum that is no longer in use
Art Cancro [Tue, 27 May 2008 14:40:31 +0000 (14:40 +0000)]
Set CURLOPT_USERAGENT and CURLOPT_INTERFACE in the RSS reader
Art Cancro [Tue, 27 May 2008 03:51:38 +0000 (03:51 +0000)]
Worked around a bug in phpMyID. I *think* this completes the
implementation of OpenID 1.1 protocol (though I'm sure we'll find some edge
cases), and now the only thing left to be done is to write the code to glue
it into Citadel and WebCit authentication.
Art Cancro [Tue, 27 May 2008 01:43:37 +0000 (01:43 +0000)]
Remember the last version of Berkeley DB that touched the
database. Abort execution if someone tries to start up Citadel using
an older version.
Dave West [Sun, 25 May 2008 19:01:17 +0000 (19:01 +0000)]
Now the escaping of a single dot on a line of its own is done in CtdlOutputPreloadedMsg()
Wilfried Göesgens [Sat, 24 May 2008 17:18:52 +0000 (17:18 +0000)]
* use iconv in citserver too
* DE-QP and IConv translate harvested mail addresses
Wilfried Göesgens [Sat, 24 May 2008 14:37:02 +0000 (14:37 +0000)]
* make QP encoding of senders optional, so we can flag it if we need it.
Wilfried Göesgens [Sat, 24 May 2008 14:36:28 +0000 (14:36 +0000)]
* depend on curl
Wilfried Göesgens [Sat, 24 May 2008 14:17:27 +0000 (14:17 +0000)]
* add include to libcitadel
Dave West [Sat, 24 May 2008 13:49:47 +0000 (13:49 +0000)]
We use test instead of [] since not all shells/systems support use of []
Art Cancro [Sat, 24 May 2008 06:24:29 +0000 (06:24 +0000)]
openid hacks
Art Cancro [Sat, 24 May 2008 06:03:54 +0000 (06:03 +0000)]
More openid hacks
Art Cancro [Sat, 24 May 2008 04:14:51 +0000 (04:14 +0000)]
libcurl is teh r0x0r, it gives us access to the 'effective' URL
after normalization and redirects, which happens to be exactly what we need
in order to use the URL as a Claimed ID. Implemented the code to do this.