Commit graph

79 commits

Author SHA1 Message Date
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
ac3d86247a - changed to use AntvilleLib methods
- modified evalImg(): throw an Exception object in case something is wrong
2003-08-02 11:29:18 +00:00
Robert Gaggl
91aa97ea77 - changed to use AntvilleLib methods 2003-08-02 11:01:25 +00:00
Robert Gaggl
cc0f4b69b3 moved from image to imagemgr 2003-08-02 10:29:28 +00:00
Robert Gaggl
81f0c559e7 removed because .hac-files were merged into single actions.js files 2003-08-02 10:24:52 +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
Robert Gaggl
6e0ee0eda9 - removed unused function changeAlias()
- fixed a bug in evalImg(): 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:54 +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
76ec8a05b9 removed loadmode aggressive (backport from antville.org) 2002-12-17 20:49:42 +00:00
Robert Gaggl
aa9d918615 renderImagelist now uses prefetchChildren() for preloading (backport from antville.org) 2002-12-17 20:48:04 +00:00
Robert Gaggl
42e0f21580 merged need_for_speed branch 2002-12-01 19:26:40 +00:00
Robert Gaggl
a2ceccba74 reworked imagelist_macro() 2002-08-14 15:38:54 +00:00
Robert Gaggl
fdc8fa8c3d - removed imageeditor_macro(): this wasn't used since 1.1.1.1 ;-)
- added first version of imagelist_macro()
2002-08-13 20:47:25 +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
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