Commit graph

59 commits

Author SHA1 Message Date
Robert Gaggl
f8c397e3ba - changed evalImg(): if no alias was specified, an alias is constructed based on the name of the uploaded file
- if the alias (specified or constructed) already exists, a number is added to the name and increased until an unused alias is found.
- an thumbnail is created automatically if the width or height of the uploaded image > 100 pixel
2002-07-19 09:03:57 +00:00
Hannes Wallnöfer
4f5289b7d0 Load image file from URL if no file was uploaded. 2002-07-18 12:48:19 +00:00
Hannes Wallnöfer
3e81880198 catch case where param.rawimage is not defined in evalImg 2002-07-18 12:16:21 +00:00
Hannes Wallnöfer
f3934a22df added <p> tag around "add new image" link 2002-07-18 12:15:07 +00:00
Robert Gaggl
c882d3d7e6 changed because the prototype weblog was renamed to site 2002-06-26 17:29:39 +00:00
Robert Gaggl
db58fa6d5f replaced hardcoded messages with getMsg() 2002-06-26 17:20:41 +00:00
Robert Gaggl
37a0c89517 changed because of prototype-renaming:
- weblog was renamed to site
2002-06-26 16:11:53 +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
1068dd9727 renderImageList is NOT global... 2002-06-04 18:11:16 +00:00
3baac801a0 moved renderInputText() et al. and renderImage() from hopobject to global 2002-06-04 14:53:17 +00:00
f7406d2043 the function imageeditor_macro() needs to be fixed 2002-06-03 16:50:54 +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
0ce4371da4 changed number of images in list to 20 2002-03-27 11:12:15 +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
4194323a75 removed check if image was deleted from disk 2002-02-06 18:20:55 +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
c13920e569 hac now checks if user is logged in, removed unnecessary check for user.cache.referer 2002-01-22 19:38:34 +00:00
Robert Gaggl
aad1fdb632 included links to prevpage and nextpage, some minor changes 2002-01-05 02:38:56 +00:00
Robert Gaggl
2827fe96e2 included call of renderImagelist() 2002-01-05 02:37:30 +00:00
Robert Gaggl
7c5441b54e imagelist is now rendered in renderImagelist()-function, macro is left for backwards-compatibility 2002-01-05 02:33:07 +00:00
Robert Gaggl
08aedc9aad initial check-in 2002-01-05 02:26:08 +00:00
Robert Gaggl
851f06f007 removed assignments to res.head 2001-12-11 10:37:58 +00:00
Robert Gaggl
bbd2dacff8 - now using res.data.* instead of res.*
- security-functions now demand user-object as argument
2001-12-10 23:04:51 +00:00
Robert Gaggl
1cce0082fc - using page.skin instead of editor.skin
- removing assignments to res.head
- now using res.data.* instead of res.*
- security-functions now demand user-object as argument
2001-12-10 23:04:25 +00:00
Robert Gaggl
d06e98ee23 - removed unused functions
- functions now have a defined (and documented ...) interface
- added comments to functions
2001-12-10 23:03:58 +00:00
Robert Gaggl
4ba5980674 - security-functions now demand user-object as argument
- added comments to functions
2001-12-10 23:03:22 +00:00
Robert Gaggl
f301e4605f minor minor change ;-) 2001-12-10 23:03:00 +00:00
Robert Gaggl
46d70174cf now use editor-skin instead of page 2001-11-18 13:21:48 +00:00
Robert Gaggl
5cc57b711c minor change 2001-11-03 09:22:42 +00:00
Robert Gaggl
942a32c5f6 added call of autoLogin()-function 2001-10-07 19:31:19 +00:00
Robert Gaggl
4f4f7d4c34 completely rewrote layout of antville (finally ...) 2001-10-02 11:01:50 +00:00
Robert Gaggl
9bb6a10918 changes cause of new skin-structure 2001-09-05 21:54:06 +00:00
Robert Gaggl
d27e65803d changes cause of new skin-structure 2001-09-05 21:39:55 +00:00
Robert Gaggl
ee267d3dae changes cause of new skin-structure and rewritten securityFunctions 2001-09-05 21:39:38 +00:00
Robert Gaggl
5d302d667f using _parent now instead of __parent__ 2001-09-05 21:26:43 +00:00
Robert Gaggl
b7fb7cd3a6 reworking due to new skin-structure 2001-09-05 21:15:45 +00:00
Robert Gaggl
90ed1befbf including javascript-skin if weblog is found in path 2001-08-26 19:42:44 +00:00
Robert Gaggl
dc878179f3 removed filter-function 2001-08-26 16:18:59 +00:00
Hannes Wallnöfer
c0e432e28a When more than 20 images are in the pool, browse them in group of 20s 2001-08-24 12:00:26 +00:00
Hannes Wallnöfer
1c488680d0 filter function not required anymore in image manager 2001-08-24 11:59:24 +00:00
Robert Gaggl
dbe53906af initial check-in 2001-08-15 09:26:54 +00:00