Robert Gaggl
0670b50c1a
getStaticPath() now returns a String, not a StringBuffer()
2003-12-08 21:19:47 +00:00
Robert Gaggl
8406293f54
minor layout change
2003-12-08 21:09:13 +00:00
Robert Gaggl
8e4ef0a4cc
file/preview.skin was renamed to mgrlistitem.skin (for constistency reasons)
2003-12-08 19:54:44 +00:00
Robert Gaggl
6161a5c494
modified since the app.property "filePath" was removed (use app.properties.staticPath instead or the site/root methods getStaticPath())
2003-11-23 18:35:42 +00:00
Robert Gaggl
4b86b3e518
- modified main_action to use global renderList() and renderPageNavigation()
...
- added myfiles_action
2003-10-15 20:06:41 +00:00
Robert Gaggl
dadc7cb64b
- embedded page navigation
...
- added header similar to imagemgr, added filter link for "my files"
2003-10-15 20:03:18 +00:00
Robert Gaggl
b2f57212f5
check if notification is enabled for a site by calling isNotificationEnabled()
2003-10-11 10:41:16 +00:00
7102df3f18
all notification e-mails are now sent via site/sendNotification function
...
(ie. story/sendNotification was removed.)
2003-10-08 16:17:22 +00:00
9cd4aa4b7d
implemented first version of e-mail notification using kris' contribution (with slight modifications):
...
* since site preferences are stored as xml the corresponding code had to be adjusted
* currently, no notification is sent if a story's status changes from offline to online (abuse factor is too high)
* there's only one global notification skin used for the mail body
* the sender is always set to sys_email to avoid the bounce problem we already had with registration mails
2003-10-06 16:28:03 +00:00
Robert Gaggl
570c419ea1
rewrote permission framework: renamed isXxxDenied() to checkXxx(), all check-methods now throw a DenyException object instead of returning an Exception object
2003-09-07 21:02:26 +00:00
Robert Gaggl
1bb142aa57
initial check-in: merged former .hac files into single actions.js files
2003-08-02 12:20:05 +00:00
Robert Gaggl
b1d3bb6870
modified comments
2003-08-02 12:19:11 +00:00
Robert Gaggl
627191e07d
- added checkAccess() that is called by onRequest() to check if a user is allowed to request a certain action
...
- modified isDenied() since site preferences are now xml-encoded
2003-08-02 12:06:45 +00:00
Robert Gaggl
0d5d6fc8c1
minor code reformatting
2003-08-02 11:59:56 +00:00
Robert Gaggl
aed223bad1
- changed to use AntvilleLib methods
...
- modified evalFile(): it now throws an Exception object in case something is wrong/missing
2003-08-02 11:20:24 +00:00
Robert Gaggl
c7707beb7f
moved from file to filemgr
2003-08-02 10:28:53 +00:00
Robert Gaggl
81f0c559e7
removed because .hac-files were merged into single actions.js files
2003-08-02 10:24:52 +00:00
Robert Gaggl
5a609434c5
requestcnt is set to 0 when creating a new file (instead of leaving null)
2003-04-11 10:16:36 +00:00
524d7a38a3
still fixed html where necessary to achieve maximum xhtml conformance; furthermore i tried to find a more expressive title for every page output (most of them were set to the site title only which does not help a lot when navigating with the browser history); last but not least many editor forms where adapted to gain a concistent general layout.
2003-03-07 19:27:48 +00:00
50890759ad
validated almost every page (at least apart from the system management stuff) with the w3c validator at http://validator.w3.org and modified the skins where necessary. furthermore i tried to arrange some layouts (files, images, polls) to better and more consistently harmonize with the general antville appearance.
2003-03-05 18:39:37 +00:00
Robert Gaggl
6e2e859d28
- removed unused function changeAlias()
...
- fixed a bug in evalFile(): immediatly return in case something is wrong/missing. before that any check for invalid characters was useless because execution would not be stopped. Also changed from isClean() to isCleanForName() which allows spaces, commatas, periods etc. but *not* umlauts.
2003-02-04 12:18:06 +00:00
Robert Gaggl
ff01391d37
securityFunctions now need the membership-level of a user as second argument
2003-01-02 19:05:03 +00:00
Robert Gaggl
068a68f090
req.data.memberlevel is now passed as second argument to security-functions. with this they can also be used even when there's no request-object present (scheduler, bloggerApi)
2003-01-02 18:55:32 +00:00
Robert Gaggl
58722a4cf9
removed aggressive loadmode (backport from changes on antville.org)
2002-12-17 20:25:45 +00:00
Robert Gaggl
42e0f21580
merged need_for_speed branch
2002-12-01 19:26:40 +00:00
16632edb72
replaced all occurrences of "this" with the name of the corresponding prototype
2002-08-09 15:45:59 +00:00
Robert Gaggl
5dc2e71354
- changed evalFile(): if no alias is specified, an alias based on the name of the uploaded file is created; if the alias is already in use, a number is added to it and increased until an unused alias is found; uploading of files without an extension also works now
2002-07-19 09:08:12 +00:00
Robert Gaggl
36227580f9
- removed hardcoded messages with getMsg()
...
- permission-constants have changed names because goodie was renamed to file
2002-06-26 17:18:17 +00:00
Robert Gaggl
73209950bf
changed because the prototype goodie was renamed to file
2002-06-26 17:11:30 +00:00
Robert Gaggl
072614bacf
lots of changes because goodies are now called file (and the prototypes have been renamed)
2002-06-26 16:57:38 +00:00
Robert Gaggl
789dfab5c1
changed because the prototype goodie was renamed to file
2002-06-26 16:47:48 +00:00
Robert Gaggl
42847e2dd2
renamed renderGoodielist() to renderFilelist()
2002-06-26 16:43:45 +00:00
Robert Gaggl
5eb7b6f745
changes necessary because
...
- prototype goodie was renamed to file
renamed goodies_macro() to files_macro()
2002-06-26 16:29:01 +00:00
Robert Gaggl
d122465edf
changed because of prototype-renaming:
...
- weblog was renamed to site
- goodie was renamed to file
2002-06-26 16:11:11 +00:00
Robert Gaggl
f8db009bff
changed type.properties according to new database-schema:
...
- all tables are prefixed with AV_
- WEBLOG was renamed to AV_SITE
- GOODIE was renamed to AV_FILE
- all columns are prefixed with the table-name (without table-prefix)
- foreign keys follow a specific naming-convention
(for details see http://project.antville.org/topics/feature+requests+and+proposals/69427/ )
2002-06-26 16:03:59 +00:00
Robert Gaggl
23e0cab449
merged changes done in branch "grob_message" into main trunk (application-messages are no longer hardcoded in functions but are defined in central language-specific .js-files; application-messages are selected according to defined language)
2002-06-12 17:19:47 +00:00
Robert Gaggl
0e7ae0b9ef
change code according to helma's new session/usermodel:
...
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 16:17:31 +00:00
Robert Gaggl
cb35759bd0
changed code to run with snapshot 20020531-fc:
...
- removed explicit writing of prefix and suffix to response-object (helma's doing that from now on)
2002-06-02 16:05:16 +00:00
Robert Gaggl
246724d300
renamed global function setLayout() to getParent()
...
change code according to helma's new session/usermodel:
- using session.user instead of user as argument
changed code to run with snapshot 20020531-fc:
- no more res.skin, using renderSkin instead
2002-06-02 15:51:26 +00:00
Robert Gaggl
6fa414dd0e
assign form-action to res.data.action
2002-05-15 23:12:41 +00:00
Robert Gaggl
c3e0c23603
- autoLogin() is now called by onRequest()
...
- removed "Antville" from pagetitle
2002-03-27 13:05:40 +00:00
Robert Gaggl
379c6f6dd1
added function deleteAll()
2002-03-27 11:18:36 +00:00
Robert Gaggl
269a461d03
switched to version 1.2
2002-03-27 10:57:17 +00:00
Robert Gaggl
a1d913dda8
allow access to storypool and creation of stories if weblog.usercontrib is true (regardless if user is member of weblog or not)
2002-02-16 22:17:59 +00:00
Robert Gaggl
4dd517224c
removed check if goodie was deleted from disk
2002-02-06 18:21:04 +00:00
cc08c24af0
added sp.text for rendering prev/next page links
2002-01-30 16:15:21 +00:00
Robert Gaggl
89bbe743fc
- removed check if user is blocked (will be done with onRequest())
...
- changes necessary due to new role-scheme
- isAddDenied() and isEditDenied() are now one function isDenied()
2002-01-22 20:22:27 +00:00
Robert Gaggl
aea4d906c7
- hac now checks if user is logged in
...
- removed senseless check for user.cache.referer
- isEditDenied() was renamed to isDenied()
2002-01-22 19:56:20 +00:00
Robert Gaggl
9c6fa39189
- hac now checks if user is logged in
...
- removed unnecessary check for user.cache.referer
- isAddDenied() was replaced with isDenied()
2002-01-22 19:35:10 +00:00
Robert Gaggl
de043f03e5
included links to prevpage and nextpage
2002-01-05 02:40:21 +00:00