citadel.git
13 years ago* StrBufSanitizeEmailRecipientVector () fix another off by one
Wilfried Goesgens [Mon, 4 Oct 2010 22:14:33 +0000 (00:14 +0200)]
* StrBufSanitizeEmailRecipientVector () fix another off by one

13 years ago* use the const str type libcitadel gives us, instead of roling our own.
Wilfried Goesgens [Sun, 3 Oct 2010 19:34:35 +0000 (21:34 +0200)]
* use the const str type libcitadel gives us, instead of roling our own.

13 years ago* add additional chars for shorter url detection
Wilfried Goesgens [Sun, 3 Oct 2010 09:14:07 +0000 (11:14 +0200)]
* add additional chars for shorter url detection
* fix some warnings

13 years agoMerge branch 'master' of git://github.com/psy-q/citadel
Wilfried Goesgens [Fri, 1 Oct 2010 05:50:57 +0000 (07:50 +0200)]
Merge branch 'master' of git://github.com/psy-q/citadel

13 years agoHarmonizing HTML case to lowercase, quoting HTML attributes.
Ramón Cahenzli [Thu, 30 Sep 2010 18:06:48 +0000 (20:06 +0200)]
Harmonizing HTML case to lowercase, quoting HTML attributes.

13 years agoAdded indentation to the table.
Ramón Cahenzli [Thu, 30 Sep 2010 17:55:13 +0000 (19:55 +0200)]
Added indentation to the table.

13 years agoDrop shadows under sticky notes. Cool!
Art Cancro [Tue, 28 Sep 2010 21:43:40 +0000 (17:43 -0400)]
Drop shadows under sticky notes.  Cool!

13 years agoRetheming continued...
Art Cancro [Tue, 28 Sep 2010 20:21:14 +0000 (16:21 -0400)]
Retheming continued...

13 years agoRetheming continued...
Art Cancro [Tue, 28 Sep 2010 16:37:51 +0000 (12:37 -0400)]
Retheming continued...

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Tue, 28 Sep 2010 15:39:54 +0000 (11:39 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years agoBegan retheming. Please bear with me as this progresses.
Art Cancro [Tue, 28 Sep 2010 15:39:27 +0000 (11:39 -0400)]
Began retheming.  Please bear with me as this progresses.

13 years ago* make all strings of setup.c i18n'able that are worth it.
Wilfried Goesgens [Mon, 27 Sep 2010 22:23:08 +0000 (00:23 +0200)]
* make all strings of setup.c i18n'able that are worth it.
* re-get the strings into the pots

13 years ago* add code to install locales
Wilfried Goesgens [Mon, 27 Sep 2010 21:34:22 +0000 (23:34 +0200)]
* add code to install locales
* add locale dependencies

13 years ago* remove void #if
Wilfried Goesgens [Mon, 27 Sep 2010 21:07:26 +0000 (23:07 +0200)]
* remove void #if

13 years ago* add locale detection / fix naming of .mo files
Wilfried Goesgens [Mon, 27 Sep 2010 21:06:24 +0000 (23:06 +0200)]
* add locale detection / fix naming of .mo files

13 years ago* unfuzzy some strings, so we can verify the strings setup prints
Wilfried Goesgens [Mon, 27 Sep 2010 21:05:40 +0000 (23:05 +0200)]
* unfuzzy some strings, so we can verify the strings setup prints

13 years ago* specify where to put the locales for LHFS
Wilfried Goesgens [Mon, 27 Sep 2010 21:04:41 +0000 (23:04 +0200)]
* specify where to put the locales for LHFS

13 years ago* finish setting the wanted locale.
Wilfried Goesgens [Mon, 27 Sep 2010 21:03:29 +0000 (23:03 +0200)]
* finish setting the wanted locale.

13 years ago* fix header file so we're launchpad ready.
Wilfried Goesgens [Mon, 27 Sep 2010 19:35:03 +0000 (21:35 +0200)]
* fix header file so we're launchpad ready.

13 years ago* create our own .pot file
Wilfried Goesgens [Mon, 27 Sep 2010 19:31:30 +0000 (21:31 +0200)]
* create our own .pot file
* add the debian setup .po files

13 years ago* fix merging of existing messages
Wilfried Goesgens [Mon, 27 Sep 2010 19:29:51 +0000 (21:29 +0200)]
* fix merging of existing messages

13 years ago* synchronize strings with debian.org strings (where available and appropriate) so...
Wilfried Goesgens [Mon, 27 Sep 2010 19:24:43 +0000 (21:24 +0200)]
* synchronize strings with debian.org strings (where available and appropriate) so we can start with their .po's

13 years ago* get .po infrastructure in place
Wilfried Goesgens [Mon, 27 Sep 2010 18:54:53 +0000 (20:54 +0200)]
* get .po infrastructure in place

13 years ago* get long message texts translateable
Wilfried Goesgens [Mon, 27 Sep 2010 18:54:17 +0000 (20:54 +0200)]
* get long message texts translateable

13 years agoDisabled CSS3PIE for certain elements on which it crashes IE. See http://github...
Art Cancro [Mon, 27 Sep 2010 03:19:59 +0000 (23:19 -0400)]
Disabled CSS3PIE for certain elements on which it crashes IE.  See github.com/lojjic/PIE/issues#issue/21 and we will re-enable when they fix it.

13 years agoDrop shadow on the address book popup. I love CSS3!
Art Cancro [Mon, 27 Sep 2010 03:12:12 +0000 (23:12 -0400)]
Drop shadow on the address book popup.  I love CSS3!

13 years agoFinally got that gradient background I've always wanted. :)
Art Cancro [Mon, 27 Sep 2010 03:02:53 +0000 (23:02 -0400)]
Finally got that gradient background I've always wanted. :)

13 years agoCSS3 rounded corners on tabs!
Art Cancro [Sun, 26 Sep 2010 21:24:46 +0000 (17:24 -0400)]
CSS3 rounded corners on tabs!

13 years agoThe rounded boxes are rounded again, thanks to CSS3. It even works
Art Cancro [Sun, 26 Sep 2010 21:16:49 +0000 (17:16 -0400)]
The rounded boxes are rounded again, thanks to CSS3.  It even works
on Internet Exploder thanks to CSS3PIE.

13 years agoRounded buttons under IE using CSS3PIE (not working yet)
Art Cancro [Sun, 26 Sep 2010 01:15:06 +0000 (21:15 -0400)]
Rounded buttons under IE using CSS3PIE (not working yet)

13 years agoRemoved the Nifty Corners library and all references to its methods.
Art Cancro [Sat, 25 Sep 2010 02:52:50 +0000 (22:52 -0400)]
Removed the Nifty Corners library and all references to its methods.
Don't worry, these styles will be back soon using CSS 3.

13 years agoFixed a few minor things broken by the previous commit
Art Cancro [Sat, 25 Sep 2010 02:42:20 +0000 (22:42 -0400)]
Fixed a few minor things broken by the previous commit

13 years agoRevert "Revert "Removed the "fix_scrollbarbug" div and all references to it.""
Art Cancro [Sat, 25 Sep 2010 01:55:44 +0000 (21:55 -0400)]
Revert "Revert "Removed the "fix_scrollbarbug" div and all references to it.""

This reverts commit 80f0f2b99774b570d998109d565aecf46df5c06c.

13 years agoRevert "Removed the "fix_scrollbarbug" div and all references to it."
Art Cancro [Sat, 25 Sep 2010 01:53:42 +0000 (21:53 -0400)]
Revert "Removed the "fix_scrollbarbug" div and all references to it."

This reverts commit 85b8087bf603edb5320f0bc9da18ed2294204ca2.

13 years agoRevert "Revert "Removed the "fix_scrollbarbug" div and all references to it.""
Art Cancro [Sat, 25 Sep 2010 01:52:08 +0000 (21:52 -0400)]
Revert "Revert "Removed the "fix_scrollbarbug" div and all references to it.""

This reverts commit 80f0f2b99774b570d998109d565aecf46df5c06c.

13 years agoRevert "Removed the "fix_scrollbarbug" div and all references to it."
Art Cancro [Sat, 25 Sep 2010 01:50:32 +0000 (21:50 -0400)]
Revert "Removed the "fix_scrollbarbug" div and all references to it."

This reverts commit 85b8087bf603edb5320f0bc9da18ed2294204ca2.

13 years agoRemoved the "fix_scrollbarbug" div and all references to it.
Art Cancro [Fri, 24 Sep 2010 21:37:11 +0000 (17:37 -0400)]
Removed the "fix_scrollbarbug" div and all references to it.
It wasn't needed in real browsers, and didn't fix the problems
with Internet Exploder.  Away it goes.

13 years ago* implement expanding of shorter URLs in feeds; IG's going to like this ;-)
Wilfried Goesgens [Thu, 23 Sep 2010 21:31:02 +0000 (23:31 +0200)]
* implement expanding of shorter URLs in feeds; IG's going to like this ;-)

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Thu, 23 Sep 2010 16:22:34 +0000 (18:22 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years ago* the number of messages available are unequal to those in scope of the list.
Wilfried Goesgens [Thu, 23 Sep 2010 16:20:16 +0000 (18:20 +0200)]
* the number of messages available are unequal to those in scope of the list.

13 years ago* off by one in range checking of indexed access
Wilfried Goesgens [Thu, 23 Sep 2010 16:19:28 +0000 (18:19 +0200)]
* off by one in range checking of indexed access

13 years agofleshed out the blog read loop a bit.
Art Cancro [Thu, 23 Sep 2010 03:37:42 +0000 (23:37 -0400)]
fleshed out the blog read loop a bit.

13 years agoRemoved a spurious log message
Art Cancro [Thu, 23 Sep 2010 03:14:01 +0000 (23:14 -0400)]
Removed a spurious log message

13 years agoThe URL to the sitemap is now published through robots.txt
Art Cancro [Tue, 21 Sep 2010 02:48:51 +0000 (22:48 -0400)]
The URL to the sitemap is now published through robots.txt

13 years agoWhen creating a new context, set lastcmd to now.
Art Cancro [Mon, 20 Sep 2010 19:52:15 +0000 (15:52 -0400)]
When creating a new context, set lastcmd to now.
This prevents the idle timer from performing acts of infanticide.
It also solves, once and for all, the "unexpected answer from
Citadel server; bailing out" error messages in webcit.

13 years agoRemoved all of my recent changes. I found the real culprit.
Art Cancro [Mon, 20 Sep 2010 19:41:32 +0000 (15:41 -0400)]
Removed all of my recent changes.  I found the real culprit.

This reverts commit 689f71293a14d88788c4a1a2edd8b03edb9d3e9c.

13 years agoMore of the same. I think it's time to reduce complexity here.
Art Cancro [Mon, 20 Sep 2010 17:34:08 +0000 (13:34 -0400)]
More of the same.  I think it's time to reduce complexity here.

13 years agoCtdlThreadSchedule() considered harmful. Eliminate. Replaced all
Art Cancro [Mon, 20 Sep 2010 17:10:19 +0000 (13:10 -0400)]
CtdlThreadSchedule() considered harmful.  Eliminate.  Replaced all
use of it with either dedicated threads or EVT_TIMER hooks.

13 years agoAdd a note about the mysterious 'unexpected answer from citadel server' error. I...
Art Cancro [Mon, 20 Sep 2010 04:30:42 +0000 (00:30 -0400)]
Add a note about the mysterious 'unexpected answer from citadel server' error.  I now suspect that
citserver may be responsible, as the error condition always occurs immediately after the SMTP Send
thread runs.

13 years agoIssue HTTP 502 and 503 errors instead of 200 followed by an error message, when appro...
Art Cancro [Mon, 20 Sep 2010 04:19:18 +0000 (00:19 -0400)]
Issue HTTP 502 and 503 errors instead of 200 followed by an error message, when appropriate

13 years ago* put sender in another way, still doesn't work
Wilfried Goesgens [Sun, 19 Sep 2010 14:22:54 +0000 (16:22 +0200)]
* put sender in another way, still doesn't work
* put in another (currently unneeded) handler to a RSS of Replies

13 years ago* html_to_ascii appends a \n, we don't like that neither in our subjects nor in our...
Wilfried Goesgens [Sun, 19 Sep 2010 10:45:15 +0000 (12:45 +0200)]
* html_to_ascii appends a \n, we don't like that neither in our subjects nor in our senders.

13 years ago* handle 'encoded' for RSS + atom the right way
Wilfried Goesgens [Sun, 19 Sep 2010 10:01:06 +0000 (12:01 +0200)]
* handle 'encoded' for RSS + atom the right way
* don't use shorter cdata to override longer cdata in message bodies

13 years ago* add RSS-debug compile flag mechanic
Wilfried Goesgens [Sun, 19 Sep 2010 10:00:41 +0000 (12:00 +0200)]
* add RSS-debug compile flag mechanic

13 years ago* remove debug post all
Wilfried Goesgens [Sat, 18 Sep 2010 15:08:54 +0000 (17:08 +0200)]
* remove debug post all

13 years ago* just display reply link, if we got one.
Wilfried Goesgens [Sat, 18 Sep 2010 15:04:29 +0000 (17:04 +0200)]
* just display reply link, if we got one.

13 years ago* suport author/email tag in atoms
Wilfried Goesgens [Sat, 18 Sep 2010 14:02:30 +0000 (16:02 +0200)]
* suport author/email tag in atoms
* try more elaborate to create a valid email address with realname and email sender (if available, else it will be 'rss@localhost')

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Wilfried Goesgens [Thu, 16 Sep 2010 21:13:30 +0000 (23:13 +0200)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years ago* switch to loading the HTTP reply into a StrBuf
Wilfried Goesgens [Thu, 16 Sep 2010 21:03:00 +0000 (23:03 +0200)]
* switch to loading the HTTP reply into a StrBuf
* fetch the first line out of the RSS document, to find out the charset
* put that charset into expat, somehow magicaly it then understands ISO-8859-1 (and hopefully others) too

13 years ago* rare crash in some weird edge case. don't dereference unchecked pointers...
Wilfried Goesgens [Thu, 16 Sep 2010 20:19:40 +0000 (22:19 +0200)]
* rare crash in some weird edge case. don't dereference unchecked pointers...

13 years ago* refresh translations
Wilfried Goesgens [Thu, 16 Sep 2010 11:52:39 +0000 (13:52 +0200)]
* refresh translations

13 years ago* make xgettext copy coments over into the po files.
Wilfried Goesgens [Thu, 16 Sep 2010 11:51:10 +0000 (13:51 +0200)]
* make xgettext copy coments over into the po files.
* copy comment about RSVP from www.citadel.org into calendar.c
* move comments in auth.c, xgettext takes the coments from the line _above_ and not after.

13 years agoSkeleton renderer for blog view
Art Cancro [Wed, 15 Sep 2010 03:24:57 +0000 (23:24 -0400)]
Skeleton renderer for blog view

13 years agorobots.txt now explicitly allows everyone. free love for all.
Art Cancro [Wed, 15 Sep 2010 02:39:22 +0000 (22:39 -0400)]
robots.txt now explicitly allows everyone.  free love for all.

13 years agoRevert "No more robots.txt, we now welcome spiders"
Art Cancro [Wed, 15 Sep 2010 02:35:29 +0000 (22:35 -0400)]
Revert "No more robots.txt, we now welcome spiders"

This reverts commit 593d0c23d2422a6a1fc9ceb7de9bda66335e0836.

13 years agoRevert "Return 404 for robots.txt"
Art Cancro [Wed, 15 Sep 2010 02:34:59 +0000 (22:34 -0400)]
Revert "Return 404 for robots.txt"

This reverts commit 7632402d82d9d7f7a4c20c1a3f5c0a3ea13c38b0.

13 years agoReturn 404 for robots.txt
Art Cancro [Tue, 14 Sep 2010 22:33:46 +0000 (18:33 -0400)]
Return 404 for robots.txt

13 years agoNo more robots.txt, we now welcome spiders
Art Cancro [Tue, 14 Sep 2010 22:15:39 +0000 (18:15 -0400)]
No more robots.txt, we now welcome spiders

13 years agoOffer meta tags in head for RSS feeds (uses templates)
Art Cancro [Tue, 14 Sep 2010 16:55:01 +0000 (12:55 -0400)]
Offer meta tags in head for RSS feeds (uses templates)

13 years agotext client, enter message, send reply references during pre-compose security check
Art Cancro [Tue, 14 Sep 2010 15:19:27 +0000 (11:19 -0400)]
text client, enter message, send reply references during pre-compose security check

13 years agoAdded a module for blog rooms. Add EUID for any message without one
Art Cancro [Tue, 14 Sep 2010 14:33:04 +0000 (10:33 -0400)]
Added a module for blog rooms.  Add EUID for any message without one

13 years agoimap server update to new API
Art Cancro [Tue, 14 Sep 2010 14:05:30 +0000 (10:05 -0400)]
imap server update to new API

13 years agoCtdlRoomAccess() can now return a new value UA_REPLYALLOWED, which
Art Cancro [Tue, 14 Sep 2010 13:50:32 +0000 (09:50 -0400)]
CtdlRoomAccess() can now return a new value UA_REPLYALLOWED, which
indicates that the user may post a message to this room *if* it is
a reply to an existing message.

CtdlDoIHavePermissionToPostInThisRoom() now must be told whether
the user is replying to an existing message or posting a top-level
message.  If it is a reply, UA_REPLYALLOWED is checked.  If it is
a top-level message, UA_POSTALLOWED is checked.  If UA_POSTALLOWED
is not set, but UA_REPLYALLOWED is set, and the message is not a
reply, a new error message indicates that the user may only reply
to existing messages.  I may add a new error code for this later.

13 years ago* knrooms():
Wilfried Goesgens [Mon, 13 Sep 2010 21:47:24 +0000 (23:47 +0200)]
* knrooms():
 - use the right values for the type of display
 - detect properly whether we need to set a default

13 years agoFixed a race condition which made the thread pool size unnecessarily large.
Art Cancro [Mon, 13 Sep 2010 19:19:46 +0000 (15:19 -0400)]
Fixed a race condition which made the thread pool size unnecessarily large.

13 years agoSitemap can now be retrieved at either /sitemap or /sitemap.xml
Art Cancro [Mon, 13 Sep 2010 17:48:41 +0000 (13:48 -0400)]
Sitemap can now be retrieved at either /sitemap or /sitemap.xml

13 years agoDon't free the room list hash at the end of the site map operation.
Art Cancro [Mon, 13 Sep 2010 16:13:50 +0000 (12:13 -0400)]
Don't free the room list hash at the end of the site map operation.
It will be freed when the session closes.

13 years agoMerge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
Art Cancro [Mon, 13 Sep 2010 03:03:04 +0000 (23:03 -0400)]
Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel

13 years agoMention the client host name or address in the logs
Art Cancro [Mon, 13 Sep 2010 03:02:39 +0000 (23:02 -0400)]
Mention the client host name or address in the logs

13 years ago* remove debugging output etc.
Wilfried Goesgens [Sun, 12 Sep 2010 21:38:02 +0000 (23:38 +0200)]
* remove debugging output etc.

13 years ago* rewrite rss parser:
Wilfried Goesgens [Sun, 12 Sep 2010 21:25:32 +0000 (23:25 +0200)]
* rewrite rss parser:
 * handle links more properly
 * properly catch CDATA stuff
 * have hash of namespaces which we "understand"

13 years ago* NewStrBufDupAppendFlush(): add way to feed in char*, fix several bugs
Wilfried Goesgens [Sun, 12 Sep 2010 21:23:35 +0000 (23:23 +0200)]
* NewStrBufDupAppendFlush(): add way to feed in char*, fix several bugs
* StrBufSpaceToBlank(): add a function to convert random blanks to 0x20

13 years ago* check for NULL pointers... Should we even come here?
Wilfried Goesgens [Sun, 12 Sep 2010 09:41:43 +0000 (11:41 +0200)]
* check for NULL pointers... Should we even come here?

13 years ago* WHOK: ommit empty lines.
Wilfried Goesgens [Sun, 12 Sep 2010 09:22:50 +0000 (11:22 +0200)]
* WHOK: ommit empty lines.

13 years ago* NewStrBufDupAppendFlush(): if you have an IO/Buf, and a maybe yet created or still...
Wilfried Goesgens [Sat, 11 Sep 2010 13:02:26 +0000 (15:02 +0200)]
* NewStrBufDupAppendFlush(): if you have an IO/Buf, and a maybe yet created or still NULL target buffer, this is your friend. Depending on bufferlength it will choose to swap buffers or copy them over, so your target buffer won't become that huge for a short string.

13 years agoSitemaps!
Art Cancro [Fri, 10 Sep 2010 22:22:00 +0000 (18:22 -0400)]
Sitemaps!

13 years agoApplied samjam's CtdlMessageInRoom() patch but wrapped it around
Art Cancro [Fri, 10 Sep 2010 20:36:38 +0000 (16:36 -0400)]
Applied samjam's CtdlMessageInRoom() patch but wrapped it around
an #ifdef pending a performance review.  I suspect that this could
cause a problem on rooms with tens of thousands of messages.

13 years agoApply samjam's patch to fix mailbox view
Art Cancro [Fri, 10 Sep 2010 20:32:12 +0000 (16:32 -0400)]
Apply samjam's patch to fix mailbox view

13 years agoreadfwd etc now work in anonymous guest mode
Art Cancro [Fri, 10 Sep 2010 16:22:55 +0000 (12:22 -0400)]
readfwd etc now work in anonymous guest mode

13 years agoAll components in git master to version 7.89 in order to avoid confusion with stable
Art Cancro [Fri, 10 Sep 2010 15:42:08 +0000 (11:42 -0400)]
All components in git master to version 7.89 in order to avoid confusion with stable

13 years agoIf a webcit user is logged in and loads the RSS feed
Art Cancro [Fri, 10 Sep 2010 15:29:16 +0000 (11:29 -0400)]
If a webcit user is logged in and loads the RSS feed
for a room, don't destroy the session.

13 years agoRewrote the message reading loop of feed_generator.c using load_msg_ptrs()
Art Cancro [Fri, 10 Sep 2010 14:38:49 +0000 (10:38 -0400)]
Rewrote the message reading loop of feed_generator.c using load_msg_ptrs()

13 years agoAdded template element THISROOM:FEED:RSS to offer an RSS feed button for a room,...
Art Cancro [Thu, 9 Sep 2010 16:48:05 +0000 (12:48 -0400)]
Added template element THISROOM:FEED:RSS to offer an RSS feed button for a room, anywhere on the page.
Added THISROOM:FEED:RSS to the room banner template.

13 years agoAdd the <image> tag and some others to the RSS feeds.
Art Cancro [Wed, 8 Sep 2010 23:24:22 +0000 (19:24 -0400)]
Add the <image> tag and some others to the RSS feeds.
Also added some newlines to the feed because it was
running words together.

13 years agoRSS feed generator is basically complete
Art Cancro [Wed, 8 Sep 2010 22:31:44 +0000 (18:31 -0400)]
RSS feed generator is basically complete

13 years agoMore work on the RSS feed generator. The fetch loop is in place, now to just tune...
Art Cancro [Wed, 8 Sep 2010 21:52:13 +0000 (17:52 -0400)]
More work on the RSS feed generator.  The fetch loop is in place, now to just tune the individual
message output and we'll be ready for testing...

13 years agoRSS feed generator
Art Cancro [Wed, 8 Sep 2010 21:18:35 +0000 (17:18 -0400)]
RSS feed generator

13 years agoHandle X-Forwarded-Host: properly
Art Cancro [Wed, 8 Sep 2010 18:53:20 +0000 (14:53 -0400)]
Handle X-Forwarded-Host: properly

13 years agoHdr->http_host is now gone.
Art Cancro [Wed, 8 Sep 2010 17:02:05 +0000 (13:02 -0400)]
Hdr->http_host is now gone.

13 years agoRemoved tmplput_HOST_DISPLAYNAME
Art Cancro [Wed, 8 Sep 2010 16:56:39 +0000 (12:56 -0400)]
Removed tmplput_HOST_DISPLAYNAME
<?URL:HOSTNAME> is no longer used and no longer relevant.
<?DAV:HOSTNAME> is better.  It prepends http:// or https://