Commit graph

2730 commits

Author SHA1 Message Date
Robert Gaggl
21dc1546dc embedded managelink_macro() 2003-03-03 12:13:09 +00:00
Robert Gaggl
3aa1a0c1a5 fixed indentation of searchSites() 2003-03-03 12:12:41 +00:00
Robert Gaggl
d4b76861d4 added managelink_macro() which renders a link to system management if user is sysadmin 2003-03-03 12:12:16 +00:00
Robert Gaggl
c422a5d9ce subscribelink_macro() won't render a link to subscribe-action if site is private 2003-03-03 12:11:44 +00:00
Robert Gaggl
88394d8b36 removed getDefaultDateFormats() - this is not needed anymore since the default format patterns are now stored in a constant array 2003-03-03 12:10:54 +00:00
Robert Gaggl
ac6f5f8c60 - removed renderInputRadio which was commented out anyways (the real one is in global/renderFunctions.js)
- changed renderDateformatChooser() to use format-constants instead of calling getDefaultDateFormats()
2003-03-03 12:09:57 +00:00
Robert Gaggl
52f713f714 added standard url_macro(), slightly changed skin_macro() 2003-03-03 12:08:12 +00:00
Robert Gaggl
31fe377aa4 - format-patterns (short and long) are now stored in constant arrays
- changed default-formats for dates (short and long) in formatTimestamp()
- removed rescueing of req.data.submit and req.data.save in rescueText(). this means that a user who lost the session while writing a story will be redirected to the story-form instead of directly saving the story.
2003-03-03 12:07:28 +00:00
Robert Gaggl
83530b00d0 confirm.resultDisplay only gets two parameter values 2003-03-03 12:03:25 +00:00
Hannes Wallnöfer
fcac349614 Renamed variable container to collection, which is more consistent with
Helma terminology.
2003-02-28 12:25:45 +00:00
Robert Gaggl
86eddb5bfd removed explicit setting of property name to avoid login problems for users registering a mixed case username. without this all usernames are converted to lowercase by register(), otherwise users won't be able to login again if the db is case sensitive. 2003-02-25 15:16:59 +00:00
Hannes Wallnöfer
6714d39262 Added /rss?show=all option to site/rss.hac that allows comments to be
included in the rss output. The mod is very simple, it just uses the
allcontent collection instead of allstories to create the output.
2003-02-25 15:05:51 +00:00
Hannes Wallnöfer
79aaa88b9a Fixed indentation, which was partially messed up. Now uniformly
using 3 spaces instead of tabs.
2003-02-25 13:13:14 +00:00
Robert Gaggl
3903bdd448 modified formatTimestamp(): re-added setting the timezone, otherwise defining a different timezone in site-preferences has no effect at all (see http://help.antville.org/stories/299705/) 2003-02-24 18:46:39 +00:00
Hannes Wallnöfer
6bce9cd66a Added getUserInfo() to list of functions callable via XML-RPC
See http://groups.yahoo.com/group/bloggerDev/message/315
2003-02-24 15:50:14 +00:00
Hannes Wallnöfer
cad5f67a9f Added getUserInfo() - Blogger API function that retrieves a user's info.
See http://groups.yahoo.com/group/bloggerDev/message/315
2003-02-24 15:47:44 +00:00
Robert Gaggl
218290e0dc minor layout change 2003-02-23 15:20:39 +00:00
Robert Gaggl
e0e452f3b1 added local anchors for each section 2003-02-23 15:17:54 +00:00
Robert Gaggl
84164384b8 if site doesn't contain any stories display standard welcome text plus additional explanations if current user is the site-owner or system-administrator 2003-02-23 15:16:55 +00:00
Robert Gaggl
23f11bc266 directly redirect to form for creating a new site if there are no sites 2003-02-23 15:15:36 +00:00
Robert Gaggl
2d06ce0cc5 removed antville.org-specific text from frontpage 2003-02-23 15:14:50 +00:00
Robert Gaggl
6aae1ced54 changed standard links in navigation-bar
- added link for creating a new weblog
- added links to help.antville.org, project.antville.org and macros.antville.org
- changed embedded sitecounter-macro to display the correct string depending on the number of sites
2003-02-23 15:14:31 +00:00
Robert Gaggl
02dc199a3a added description for third "task" (create the first weblog) 2003-02-23 15:11:55 +00:00
Robert Gaggl
e32a47ee77 changed text 2003-02-23 15:11:27 +00:00
Robert Gaggl
00d6f43780 initial check-in 2003-02-23 15:11:06 +00:00
Robert Gaggl
cf95e4df6d changed renderStorylist(): removed the check if site has already stories (this is done in site/main.hac now) 2003-02-23 15:10:39 +00:00
Robert Gaggl
55ea227ef3 changed online_macro(): added support for optional attributes "yes" and "no" (so users can now define the text that should appear in either case) 2003-02-23 15:07:08 +00:00
Robert Gaggl
f87eaab1e6 changed sitecounter_macro(): it now accepts optional attributes "no","one" and "more" (works similar to story/commentcounter_macro()) 2003-02-23 15:05:52 +00:00
Robert Gaggl
f89b93db2a create-action now fits the needs of the new story-editor 2003-02-14 13:49:01 +00:00
Robert Gaggl
6cea6bc0d0 edit-action now fits the needs of the new story-editor 2003-02-14 13:48:39 +00:00
Robert Gaggl
7d524ed576 implemented new story-editor (as done on twoday.net) 2003-02-14 13:48:10 +00:00
Robert Gaggl
82cba4c688 - changed editableby_macro(): it now produces three radio-buttons instead of one dropdown-box
- implemented justintopic_macro()
(contributed by michi platzer)
2003-02-14 13:46:52 +00:00
Robert Gaggl
316b89d09b changed input_macro() to handle input type=radio too (contributed by michi platzer) 2003-02-14 13:45:44 +00:00
Robert Gaggl
573f22600d modified evalNewStory because story/edit.skin changed, but it's still backwards-compatible to the old story-editor 2003-02-14 13:45:11 +00:00
Robert Gaggl
9a305be588 modified evalStory because story/edit.skin changed, but it's still backwards-compatible to the old story-editor 2003-02-14 13:44:40 +00:00
Robert Gaggl
741cd46f23 rewrote evalSite, creating a new site is now logged in syslog 2003-02-14 13:40:08 +00:00
Robert Gaggl
62617fc210 implemented icon-handling (contributed by michi platzer) 2003-02-14 13:38:50 +00:00
Robert Gaggl
f3b74ba3b8 replaced app.__app__.getAppDir() with File (app.dir) 2003-02-14 13:38:15 +00:00
Robert Gaggl
8b83030b41 - removed some senseless checks for param-object (if the param-object isn't existing it's an error)
- implemented renderInputRadio (contributed by michi platzer)
2003-02-14 13:37:33 +00:00
Robert Gaggl
a8b62186c2 changes in css for new storyeditor-skin:
added new css-classes "fieldset" and "fieldset p", changed formTitle and formText
2003-02-14 13:34:51 +00:00
c762fd0cb9 modified poll/calcPercent() function to calculate percentages of poll votes to become global/percentage() 2003-02-11 16:59:12 +00:00
b458c2cab1 removed shortcuts from antville. support of shortcut is now optional via zip module 2003-02-11 16:54:07 +00:00
1028d1e78d removed shortcut support which is now available as zip module 2003-02-11 16:46:43 +00:00
f91929bf31 replaced remaining tabs with three spaces 2003-02-11 14:51:12 +00:00
Robert Gaggl
18bd20d30a added _parent-definitions 2003-02-10 23:50:04 +00:00
Robert Gaggl
e49a0b37dd removed one ending span tag (http://project.antville.org/stories/289769) 2003-02-10 23:41:50 +00:00
Robert Gaggl
a3be8e9ac1 added _parent-definition (might fix this problem: http://project.antville.org/stories/288682/) 2003-02-10 17:29:43 +00:00
Robert Gaggl
2c21b69597 re-enabled caching of backlinks 2003-02-06 19:17:32 +00:00
Hannes Wallnöfer
c1ff7f04a5 * Use root.storiesByID to access stories in writeReadLog(). This doesn't require
loading the full story index anymore and is usually faster than loading the site
and all its substories.
* Rely more on default values when constructing Hashtables and Vectors. The first
time go with the default size, then just use the last size as initial size for the new
ones. This is because adjusting the capacity of a Vector or Hashtable with less
then 1000 objects is usually a no-brainer performance-wise.
2003-02-06 14:16:46 +00:00
Hannes Wallnöfer
28aaf2e1f8 Added accessname=TEXT_ID to storiesByID.
This is a trick to prevent the subnode index from being loaded when accessing
a single story.
2003-02-06 13:34:56 +00:00