citadel.git
12 years agoRevert "Replaced cached_msglist array with a btree persistent through the session."
Art Cancro [Fri, 28 Jan 2011 16:53:41 +0000 (11:53 -0500)]
Revert "Replaced cached_msglist array with a btree persistent through the session."

This reverts commit e432540ab02282396bf87eafde6a1698819912ff.

12 years agoRevert "arrgh"
Art Cancro [Fri, 28 Jan 2011 16:53:35 +0000 (11:53 -0500)]
Revert "arrgh"

This reverts commit 590b3ab0deab5fbb58b56d7f3fcad75bafc9e9e1.

12 years agoRevert "xxx"
Art Cancro [Fri, 28 Jan 2011 16:53:26 +0000 (11:53 -0500)]
Revert "xxx"

This reverts commit 88def48c67c3a034b33d9550bf70afa5c4705039.

12 years agoxxx
Art Cancro [Fri, 28 Jan 2011 16:51:36 +0000 (11:51 -0500)]
xxx

12 years agoarrgh
Art Cancro [Fri, 28 Jan 2011 16:49:53 +0000 (11:49 -0500)]
arrgh

12 years agoReplaced cached_msglist array with a btree persistent through the session.
Art Cancro [Thu, 27 Jan 2011 23:11:22 +0000 (18:11 -0500)]
Replaced cached_msglist array with a btree persistent through the session.

12 years agoUpdating cmd_euid() to use the CtdlForEachMessage() API fixes the security check...
Art Cancro [Thu, 27 Jan 2011 03:59:23 +0000 (22:59 -0500)]
Updating cmd_euid() to use the CtdlForEachMessage() API fixes the security check in blog view and saves some code

12 years agoUse a binary search to locate msgnum in cached_msglist
Art Cancro [Thu, 27 Jan 2011 03:36:48 +0000 (22:36 -0500)]
Use a binary search to locate msgnum in cached_msglist

12 years agoDisplay PASS/FAIL syslog msgs for the new security check.
Art Cancro [Thu, 27 Jan 2011 02:38:21 +0000 (21:38 -0500)]
Display PASS/FAIL syslog msgs for the new security check.
This determines whether a requested message actually exists in the current room,
preventing unauthorized msgnum sweeps.  We do not actually fail the message yet; I
will add that when the security check yields no false positives.

12 years agoDisplay PASS/FAIL syslog msgs for the new security check.
Art Cancro [Thu, 27 Jan 2011 02:36:19 +0000 (21:36 -0500)]
Display PASS/FAIL syslog msgs for the new security check.
This determines whether a requested message actually exists in the current room,
preventing unauthorized msgnum sweeps.  We do not actually fail the message yet; I
will add that when the security check yields no false positives.

12 years agoLink to http://www.citadel.org/doku.php/faq:generalquestions:webcit_unable_to_connect...
Art Cancro [Tue, 25 Jan 2011 21:46:37 +0000 (16:46 -0500)]
Link to citadel.org/doku.php/faq:generalquestions:webcit_unable_to_connect instead

12 years agoReinstate the 'read more...' link when issuing a 503
Art Cancro [Tue, 25 Jan 2011 21:30:52 +0000 (16:30 -0500)]
Reinstate the 'read more...' link when issuing a 503

12 years agoLocalized the string 'New user? Register now' using Google Translate
Art Cancro [Tue, 25 Jan 2011 19:27:50 +0000 (14:27 -0500)]
Localized the string 'New user?  Register now' using Google Translate

12 years agomore login box cleanup
Art Cancro [Tue, 25 Jan 2011 04:46:34 +0000 (23:46 -0500)]
more login box cleanup

12 years agoCleaned up the login modal a bit
Art Cancro [Tue, 25 Jan 2011 04:29:27 +0000 (23:29 -0500)]
Cleaned up the login modal a bit

12 years agoCOND:AIDE now observes logged in semantics
Art Cancro [Tue, 25 Jan 2011 03:30:57 +0000 (22:30 -0500)]
COND:AIDE now observes logged in semantics

12 years agoDisabled the old login screen.
Art Cancro [Tue, 25 Jan 2011 03:18:59 +0000 (22:18 -0500)]
Disabled the old login screen.
Some of this code will be re-used for registration and language selection.

12 years agoOnly offer OpenID login if the citadel server supports it
Art Cancro [Tue, 25 Jan 2011 02:53:30 +0000 (21:53 -0500)]
Only offer OpenID login if the citadel server supports it

12 years agoauthpopup now returns the parent to the pushed_destination
Art Cancro [Mon, 24 Jan 2011 21:02:39 +0000 (16:02 -0500)]
authpopup now returns the parent to the pushed_destination

12 years agologin popout is working, along with non edge case openID login
Art Cancro [Mon, 24 Jan 2011 20:47:23 +0000 (15:47 -0500)]
login popout is working, along with non edge case openID login

12 years agoBegan implementation of authpopout
Art Cancro [Mon, 24 Jan 2011 18:38:29 +0000 (13:38 -0500)]
Began implementation of authpopout

12 years agoThe 'Delete' button in mailbox view went missing at some point; replaced it.
Art Cancro [Thu, 20 Jan 2011 04:10:54 +0000 (23:10 -0500)]
The 'Delete' button in mailbox view went missing at some point; replaced it.

12 years ago'Read all messages' button does not belong in the mailbox view. Remove it.
Art Cancro [Thu, 20 Jan 2011 04:04:56 +0000 (23:04 -0500)]
'Read all messages' button does not belong in the mailbox view.  Remove it.

12 years agoDisallow certain pages in robots.txt which would mislead crawlers.
Art Cancro [Thu, 20 Jan 2011 03:37:30 +0000 (22:37 -0500)]
Disallow certain pages in robots.txt which would mislead crawlers.
/printmsg
/msgheaders
/groupdav
/do_template
/static

12 years agoPrototype 1.7 seems to need ajax parameters wrapped with encodeURI()
Art Cancro [Wed, 19 Jan 2011 20:03:49 +0000 (15:03 -0500)]
Prototype 1.7 seems to need ajax parameters wrapped with encodeURI()
This fixes the broken mailbox view

12 years agoajax_servcmd() logging now displays the g_cmd being attempted.
Art Cancro [Wed, 19 Jan 2011 16:32:02 +0000 (11:32 -0500)]
ajax_servcmd() logging now displays the g_cmd being attempted.
This is in an attempt to debug the b0rken message delete in the mailbox view.
Also fixed a format string compiler warning.

12 years agoEnter/return key submits form in the new user/password dialog
Art Cancro [Tue, 18 Jan 2011 22:18:14 +0000 (17:18 -0500)]
Enter/return key submits form in the new user/password dialog

12 years agoFixed bugs related to last three commits
Art Cancro [Mon, 17 Jan 2011 17:48:20 +0000 (12:48 -0500)]
Fixed bugs related to last three commits

12 years agoRemoved logging stuff from libcitadel
Art Cancro [Mon, 17 Jan 2011 17:42:11 +0000 (12:42 -0500)]
Removed logging stuff from libcitadel

12 years agoRemoved logging subsystem from webcit. It's all syslog now.
Art Cancro [Mon, 17 Jan 2011 17:00:36 +0000 (12:00 -0500)]
Removed logging subsystem from webcit.  It's all syslog now.

12 years agoMimeparser rewrite; fix bug detecting trailing MIME-Boundary
Wilfried Goesgens [Sat, 15 Jan 2011 15:14:16 +0000 (16:14 +0100)]
Mimeparser rewrite; fix bug detecting trailing MIME-Boundary

  - when searching for the '--' after the mime boundary to detect whether its the last, we had an off by one. fixed.

12 years agoHost header is now stored per-request instead of globally.
Art Cancro [Sat, 15 Jan 2011 04:01:04 +0000 (23:01 -0500)]
Host header is now stored per-request instead of globally.
This will allow sitemaps generated by hosts with multiple names
to be referenced correctly.

12 years agoRemoved some old TECH_PREVIEW sections.
Art Cancro [Thu, 13 Jan 2011 19:20:28 +0000 (14:20 -0500)]
Removed some old TECH_PREVIEW sections.
We no longer use TECH_PREVIEW because of the split master/stable repos.

12 years agoBugfixing / debugging in templating
Wilfried Goesgens [Tue, 11 Jan 2011 22:23:18 +0000 (23:23 +0100)]
Bugfixing / debugging in templating

  - fix crash; check for non-parseable tokens so we don't struggle over NULL-Pointers later on.
  - -T6 now barfs the results of conditionals.

12 years agoRemove invalid "subtoken"; we don't support this, and this special token doesn't...
Wilfried Goesgens [Tue, 11 Jan 2011 22:21:05 +0000 (23:21 +0100)]
Remove invalid "subtoken"; we don't support this, and this special token doesn't even evaluate this parameter.

12 years agoFix Room-edit-Template; thanks to Sam for reporting.
Wilfried Goesgens [Tue, 11 Jan 2011 22:17:49 +0000 (23:17 +0100)]
Fix Room-edit-Template; thanks to Sam for reporting.

  - the original code used inverse logic for this checkbox case, the template didn't reflect this.

12 years agoPreparing to get openid support into the modal dialog
Art Cancro [Tue, 11 Jan 2011 21:06:26 +0000 (16:06 -0500)]
Preparing to get openid support into the modal dialog

12 years ago'go' and 'gotofirst' are both accepted
Art Cancro [Tue, 11 Jan 2011 20:00:21 +0000 (15:00 -0500)]
'go' and 'gotofirst' are both accepted

12 years agoMobile template removal
Wilfried Goesgens [Tue, 11 Jan 2011 18:56:18 +0000 (19:56 +0100)]
Mobile template removal

  - remove support for the .m.* template series from the cache.

12 years agoYou must be logged in to access this page.
Art Cancro [Tue, 11 Jan 2011 17:12:36 +0000 (12:12 -0500)]
You must be logged in to access this page.

12 years agoRemoved parts of OpenID from the traditional login screen
Art Cancro [Tue, 11 Jan 2011 16:56:28 +0000 (11:56 -0500)]
Removed parts of OpenID from the traditional login screen

12 years agoGot rid of all of the .m.html templates and is_mobile cruft
Art Cancro [Tue, 11 Jan 2011 16:47:30 +0000 (11:47 -0500)]
Got rid of all of the .m.html templates and is_mobile cruft

12 years agoFor closed systems, still handle login through the modal
Art Cancro [Tue, 11 Jan 2011 16:42:01 +0000 (11:42 -0500)]
For closed systems, still handle login through the modal

12 years agoExpose wiki pages to the site map
Art Cancro [Tue, 11 Jan 2011 04:59:15 +0000 (23:59 -0500)]
Expose wiki pages to the site map

12 years agoWrap the 'Edit this wiki page' link in GetLoggedInFirst()
Art Cancro [Tue, 11 Jan 2011 04:09:32 +0000 (23:09 -0500)]
Wrap the 'Edit this wiki page' link in GetLoggedInFirst()

12 years agoWiki revs now work again - replaced --global-reject-file with -r
Art Cancro [Tue, 11 Jan 2011 03:57:49 +0000 (22:57 -0500)]
Wiki revs now work again - replaced --global-reject-file with -r

12 years agoWhen we 503, do it in HTML
Art Cancro [Tue, 11 Jan 2011 03:53:12 +0000 (22:53 -0500)]
When we 503, do it in HTML

12 years agoFixed bug in ConditionalHavewikiType() which returned the wrong value
Art Cancro [Mon, 10 Jan 2011 21:11:18 +0000 (16:11 -0500)]
Fixed bug in ConditionalHavewikiType() which returned the wrong value

12 years agoFixed several errors introduced during templatization of the Wiki engine.
Art Cancro [Mon, 10 Jan 2011 04:48:45 +0000 (23:48 -0500)]
Fixed several errors introduced during templatization of the Wiki engine.
* the 'home' conditional was reversed
* the 'Edit this page' link should always appear

12 years agoForce wiki room views into the wiki viewer instead of a read loop
Art Cancro [Mon, 10 Jan 2011 04:17:51 +0000 (23:17 -0500)]
Force wiki room views into the wiki viewer instead of a read loop

12 years agominor cleanup
Art Cancro [Fri, 7 Jan 2011 20:56:25 +0000 (15:56 -0500)]
minor cleanup

12 years agoMade the elimination of nocookies permanent.
Art Cancro [Fri, 7 Jan 2011 20:51:04 +0000 (15:51 -0500)]
Made the elimination of nocookies permanent.

12 years agomore logging for previous commit
Art Cancro [Fri, 7 Jan 2011 19:40:21 +0000 (14:40 -0500)]
more logging for previous commit

12 years agoThe 'gotofirst' key is now called 'go' for brevity
Art Cancro [Fri, 7 Jan 2011 19:34:43 +0000 (14:34 -0500)]
The 'gotofirst' key is now called 'go' for brevity

12 years agoThe 'nocookies' error page is no longer needed
Art Cancro [Fri, 7 Jan 2011 17:13:49 +0000 (12:13 -0500)]
The 'nocookies' error page is no longer needed

12 years agopush/pop destination_url instead of passing it through the chain
Art Cancro [Wed, 5 Jan 2011 21:18:18 +0000 (16:18 -0500)]
push/pop destination_url instead of passing it through the chain

12 years agoAdd new member 'PushedDestination' to wcsession. This will be used soon.
Art Cancro [Wed, 5 Jan 2011 20:00:29 +0000 (15:00 -0500)]
Add new member 'PushedDestination' to wcsession.  This will be used soon.

12 years agominor html markup change
Art Cancro [Wed, 5 Jan 2011 17:18:09 +0000 (12:18 -0500)]
minor html markup change

12 years agoMoved the noscript warning to head.html
Art Cancro [Wed, 5 Jan 2011 16:57:11 +0000 (11:57 -0500)]
Moved the noscript warning to head.html

12 years agoCOND:ROOM:EDITACCESS now observes (not) logged in
Art Cancro [Wed, 5 Jan 2011 04:08:22 +0000 (23:08 -0500)]
COND:ROOM:EDITACCESS now observes (not) logged in

12 years agoApplied the GetLoggedInFirst() semantics to the Reply buttons
Art Cancro [Wed, 5 Jan 2011 03:58:55 +0000 (22:58 -0500)]
Applied the GetLoggedInFirst() semantics to the Reply buttons

12 years agofix b0rken on IE, maybe operat too
Art Cancro [Wed, 5 Jan 2011 02:36:30 +0000 (21:36 -0500)]
fix b0rken on IE, maybe operat too

12 years agoThe Citadel icon is now a cute button
Art Cancro [Wed, 5 Jan 2011 00:09:46 +0000 (19:09 -0500)]
The Citadel icon is now a cute button

12 years agoAuth box now uses proper Citadel and OpenID icons
Art Cancro [Tue, 4 Jan 2011 23:55:23 +0000 (18:55 -0500)]
Auth box now uses proper Citadel and OpenID icons

12 years agoNew CSS for the login modal
Art Cancro [Tue, 4 Jan 2011 20:43:43 +0000 (15:43 -0500)]
New CSS for the login modal

12 years agoCleaned up the CSS for the login box
Art Cancro [Tue, 4 Jan 2011 04:43:47 +0000 (23:43 -0500)]
Cleaned up the CSS for the login box

12 years agoAdded a bit of whitespace
Art Cancro [Mon, 3 Jan 2011 21:47:32 +0000 (16:47 -0500)]
Added a bit of whitespace

12 years agoReplaced missing 'content' div in create room screen.
Art Cancro [Mon, 3 Jan 2011 21:46:43 +0000 (16:46 -0500)]
Replaced missing 'content' div in create room screen.

12 years agoGetLoggedInFirst() now goes directly to destination_url if already logged in
Art Cancro [Mon, 3 Jan 2011 21:28:36 +0000 (16:28 -0500)]
GetLoggedInFirst() now goes directly to destination_url if already logged in

12 years agoCleanup of previous commit
Art Cancro [Fri, 31 Dec 2010 22:29:39 +0000 (17:29 -0500)]
Cleanup of previous commit

12 years ago503 Service Unavailable when we can't connect to citserver
Art Cancro [Fri, 31 Dec 2010 19:50:52 +0000 (14:50 -0500)]
503 Service Unavailable when we can't connect to citserver

12 years agoFixed broken location of sources in create-pot.sh
Art Cancro [Thu, 30 Dec 2010 21:50:45 +0000 (16:50 -0500)]
Fixed broken location of sources in create-pot.sh

12 years agoPerformed a bunch of markup fixes suggested by validator.w3.org
Art Cancro [Thu, 30 Dec 2010 20:52:29 +0000 (15:52 -0500)]
Performed a bunch of markup fixes suggested by validator.w3.org

12 years agocosmetic stuff
Art Cancro [Thu, 30 Dec 2010 20:18:12 +0000 (15:18 -0500)]
cosmetic stuff

12 years agoThe 'Log in' button now routes to GetLoggedInFirst(do_welcome)
Art Cancro [Wed, 29 Dec 2010 22:50:53 +0000 (17:50 -0500)]
The 'Log in' button now routes to GetLoggedInFirst(do_welcome)

12 years agoSmooth transition between logged-in and not-logged-in states
Art Cancro [Wed, 29 Dec 2010 22:41:23 +0000 (17:41 -0500)]
Smooth transition between logged-in and not-logged-in states

12 years agoInitial version of modal login is now working.
Art Cancro [Wed, 29 Dec 2010 22:34:21 +0000 (17:34 -0500)]
Initial version of modal login is now working.

12 years agoWrote the initial version of the 'ajax_login_username_password' handler
Art Cancro [Wed, 29 Dec 2010 18:55:02 +0000 (13:55 -0500)]
Wrote the initial version of the 'ajax_login_username_password' handler

12 years agoChanged 'free software' to 'open source' to piss off Richard Stallman
Art Cancro [Wed, 29 Dec 2010 18:43:58 +0000 (13:43 -0500)]
Changed 'free software' to 'open source' to piss off Richard Stallman

12 years agoChanged 'free software' to 'open source' to piss off Richard Stallman
Art Cancro [Wed, 29 Dec 2010 18:40:53 +0000 (13:40 -0500)]
Changed 'free software' to 'open source' to piss off Richard Stallman

12 years agoInitial (not yet working) version of modal/ajax login box
Art Cancro [Wed, 29 Dec 2010 18:21:53 +0000 (13:21 -0500)]
Initial (not yet working) version of modal/ajax login box

12 years agoBegan implementing GetLoggedInFirst(destination_url) path
Art Cancro [Wed, 29 Dec 2010 16:00:53 +0000 (11:00 -0500)]
Began implementing GetLoggedInFirst(destination_url) path

12 years agocosmetic cleanup only
Art Cancro [Wed, 29 Dec 2010 15:39:08 +0000 (10:39 -0500)]
cosmetic cleanup only

12 years agoSummary page displays site name instead of user name when not logged in
Art Cancro [Tue, 28 Dec 2010 22:55:36 +0000 (17:55 -0500)]
Summary page displays site name instead of user name when not logged in

12 years agoSmoother navigation and restricted iconbar for guest mode
Art Cancro [Tue, 28 Dec 2010 22:20:27 +0000 (17:20 -0500)]
Smoother navigation and restricted iconbar for guest mode

12 years agoA conditional in roombanner.html was reversed. Fixed it.
Art Cancro [Tue, 28 Dec 2010 19:10:16 +0000 (14:10 -0500)]
A conditional in roombanner.html was reversed.  Fixed it.

12 years agoadded a javascript alert to display an error when does not exist.
Art Cancro [Tue, 28 Dec 2010 18:26:30 +0000 (13:26 -0500)]
added a javascript alert to display an error when  does not exist.

12 years agoupgrade scriptaculous to 1.9.0
Art Cancro [Tue, 28 Dec 2010 02:00:15 +0000 (21:00 -0500)]
upgrade scriptaculous to 1.9.0

12 years agoupgrade prototype to 1.7
Art Cancro [Tue, 28 Dec 2010 01:58:40 +0000 (20:58 -0500)]
upgrade prototype to 1.7

12 years agoBegan removing some of the logged-in checks
Art Cancro [Thu, 23 Dec 2010 05:20:03 +0000 (00:20 -0500)]
Began removing some of the logged-in checks

12 years agoTuned up the 'logged in as' / 'not logged in' ...
Art Cancro [Thu, 23 Dec 2010 05:15:33 +0000 (00:15 -0500)]
Tuned up the 'logged in as' / 'not logged in' ...

12 years agoTemplated a new location in the banner to display loggedin/notloggedin
Art Cancro [Wed, 22 Dec 2010 23:00:07 +0000 (18:00 -0500)]
Templated a new location in the banner to display loggedin/notloggedin

12 years agoRoom info popup is now onMouseOver instead of onClick
Art Cancro [Wed, 22 Dec 2010 22:50:49 +0000 (17:50 -0500)]
Room info popup is now onMouseOver instead of onClick

12 years agoResync i18n with launchpad
Wilfried Goesgens [Wed, 22 Dec 2010 13:18:46 +0000 (14:18 +0100)]
Resync i18n with launchpad

12 years agoResync i18n with launchpad; add Czek translation.
Wilfried Goesgens [Wed, 22 Dec 2010 13:16:11 +0000 (14:16 +0100)]
Resync i18n with launchpad; add Czek translation.

12 years agoCache the most recently fetched msglist in CtdlForEachMessage()
Art Cancro [Wed, 26 Jan 2011 23:08:16 +0000 (18:08 -0500)]
Cache the most recently fetched msglist in CtdlForEachMessage()
(This will be used for a security check in an upcoming commit)

12 years agoRemoved nonce/apop/pas2, no longer used by anyone
Art Cancro [Wed, 26 Jan 2011 22:18:31 +0000 (17:18 -0500)]
Removed nonce/apop/pas2, no longer used by anyone

12 years agoRemoved the MESSAGE_IN_ROOM sections in order to make way for a faster algorithm.
Art Cancro [Wed, 26 Jan 2011 21:18:22 +0000 (16:18 -0500)]
Removed the MESSAGE_IN_ROOM sections in order to make way for a faster algorithm.

12 years agoINFO command 'openid support' is now indicated as the version of OpenID support ...
Art Cancro [Tue, 25 Jan 2011 16:40:35 +0000 (11:40 -0500)]
INFO command 'openid support' is now indicated as the version of OpenID support (currently 1) instead of a boolean.

12 years agoCtdlUserLogout() fixed to more throroughly log the user out
Art Cancro [Tue, 18 Jan 2011 18:25:28 +0000 (13:25 -0500)]
CtdlUserLogout() fixed to more throroughly log the user out