Commit graph

4847 commits

Author SHA1 Message Date
Colin Kuskie
0eba64bc52 Session->Privilege is not design well to work in embedded applications
like the RTE because by default it uses the default user style from settings.
This renders a full page, when we really need a message.

I've added an argument to session->privilege->insufficient to use the
empty style and to use a different message with no embedded macros
to process for logging in.  I tested this on the RTE folder adder and
it works fine.  I duplicated this work in the Image add/edit save routine
as well.

Since privilege->insuffient didn't take arguments before, this preserves
the existing API, which is broken.
2007-01-26 05:45:56 +00:00
JT Smith
f94791fed0 fixed a duplicate bug where the original asset would get trashed 2007-01-26 04:50:33 +00:00
JT Smith
528d9af4f6 fix: No closure 2007-01-26 03:17:42 +00:00
Colin Kuskie
bd7ef8d14e i18n and missing template variables for Project Manager Edit Task 2007-01-25 23:20:40 +00:00
Colin Kuskie
4285ee1e9c echoing TT fix into H::T::E for variable renaming 2007-01-25 17:59:24 +00:00
Colin Kuskie
443c5cf405 help entry for attachment_thumbnail 2007-01-25 17:58:16 +00:00
JT Smith
b319535fd1 - Added a attachment_thumbnail option to the CS RSS feed. 2007-01-25 17:14:25 +00:00
Colin Kuskie
a9e4de8ffa add missing i18n labels from ZipArchive template 2007-01-25 04:41:26 +00:00
Colin Kuskie
c5d0285d70 move placeholder in SyncProfilesToLdap back in query and interpolate instead 2007-01-25 02:51:08 +00:00
JT Smith
28d9659031 - Fixed a bug with dealing with CS posts via email where
multipart/alternative messages would cause a blank post.
2007-01-24 22:44:32 +00:00
JT Smith
7bb998c6ee - Fixed a template variable rewriting problem with Template Toolkit. 2007-01-24 20:10:58 +00:00
Doug Bell
304cae43d7 fix: Applied Martin's Date field fix to other fields + other fixes in the form fields 2007-01-23 23:59:27 +00:00
Colin Kuskie
66b59adde8 the Slash_gatewayUrl and PageUrl macros now accept optional URL arguments 2007-01-23 21:49:34 +00:00
Colin Kuskie
d3ba9c30f9 ISA relationships, asset template variables for the SQLForm 2007-01-22 23:42:48 +00:00
Martin Kamerbeek
3b08bbf7af Fixed a bug where isCurrentPost was not set correctly 2007-01-22 20:25:44 +00:00
Frank Dillon
7a1f7b414b added statusToInclude flag in getLineage which allows you to filter assets by assetData.status. Completely backward compatible. 2007-01-21 16:48:52 +00:00
Frank Dillon
24e6111bf0 fixed corner case which causes edit page not to load if an activity is undefined or cannot be defined. 2007-01-20 14:15:49 +00:00
Colin Kuskie
17fa32e3f2 note that templates have different template variables, based on their namespace 2007-01-19 22:06:28 +00:00
Colin Kuskie
2180b9bf91 Added a test to see if clone would duplicate the session. It does.
Subclassed DateTime's from_object method, which was secretely deleting
the internal session variable.  There is probably a more robust way to
do this, such as by "...implementing the utc_rd_values() method as the
from_object docs suggest.
Finished fixing the bug with time zone errors in editing an event.
2007-01-19 06:25:43 +00:00
Colin Kuskie
17fac4a7cb New methods in WebGUI::DateTime that clearly state how they handle timezones.
The standard is everything going into the DB is in UTC.  Timezones have to be
manually handled after being fetched.
Added a test for the new methods and for object construction.
Changed Calendar and Event Assets to use the new methods.
Interim checkin to get some debug help from Doug.
2007-01-19 05:16:57 +00:00
Colin Kuskie
f6a956c447 mark toMysql as deprecated 2007-01-19 00:28:42 +00:00
JT Smith
8774a6c26a fix: CS email message shows up as an attachmetn 2007-01-19 00:21:07 +00:00
Frank Dillon
f614a0078a disabled from use with the profile 2007-01-18 21:50:13 +00:00
Frank Dillon
8b4bfa1c90 fixed issue where default value was never being set 2007-01-18 21:49:13 +00:00
Colin Kuskie
2c0c877102 fix broken wiki docs from patches last night 2007-01-18 18:06:58 +00:00
JT Smith
301b815e3a added restore option to wiki page 2007-01-17 23:33:58 +00:00
Colin Kuskie
824b7a4545 Added JS confirmation for deleting wiki pages.
Documented need for JS confirmation and escaping
template variables to the gotchas file.
2007-01-17 23:10:00 +00:00
Frank Dillon
5d4c076290 fixed corner case which causes the user profile to not load in cases where custom forms do not work or are broken. It now skips these and throws a warning 2007-01-17 22:16:42 +00:00
Colin Kuskie
9041d5746e add brief docs about escaping content inside the templates 2007-01-17 21:51:54 +00:00
JT Smith
02622ea55c - fix: notifications from postings
- Refactored the autocommit system to fix the notifications bug above.
2007-01-17 21:34:49 +00:00
JT Smith
2c7f49be9a Fixed a bug with RSS feed generation and attachments. 2007-01-17 18:24:15 +00:00
Doug Bell
d5b79ae217 Fixed RSSFromParent bug 2007-01-17 18:20:00 +00:00
JT Smith
cb367a8020 more formatting 2007-01-17 17:44:07 +00:00
JT Smith
78fb7ef8db fixed typo 2007-01-17 17:27:23 +00:00
JT Smith
ed4903f66f more formatting 2007-01-17 17:23:05 +00:00
JT Smith
b59b948bc1 more formatting 2007-01-17 17:05:59 +00:00
JT Smith
214c393a27 a ltitle cleanup 2007-01-17 16:39:46 +00:00
JT Smith
e42a744ed9 - fix: XSS Vulnerability in WikiPage titles
- Depricated the random array function in WebGUI::Utility in favor of 
   List::Utils per the WebGUI Best Practices.
2007-01-17 05:23:03 +00:00
Colin Kuskie
7529f9c147 asset template variables, ISA relationships and new i18n tag for HttpProxy 2007-01-17 04:29:18 +00:00
Colin Kuskie
6f8bdc6a14 asset variables, ISA relationships and variable cleanup for In/Out Board 2007-01-17 00:17:30 +00:00
Colin Kuskie
fc17d22dac asset variables, ISA relationships and variable cleanup for Message Board 2007-01-16 23:56:49 +00:00
Colin Kuskie
13436cc1e5 asset variables, ISA relationships for MultiSearch 2007-01-16 22:23:35 +00:00
Colin Kuskie
f8de15a743 asset variables, ISA relationships and graph template variables 2007-01-16 22:17:13 +00:00
Colin Kuskie
1ab53b33bf asset variables and ISA relationships for Product 2007-01-16 21:36:45 +00:00
Colin Kuskie
693aa8461f Documenting the last two missing templates in the Project Manager
for the popups.
2007-01-16 20:24:54 +00:00
Colin Kuskie
fbb242fc5d Added a new i18n tag for N/A in Project Manager.
Finished dashboard (main view) document.
2007-01-16 18:04:25 +00:00
Roy Johnson
d4689365c3 don't need this line anymore 2007-01-16 16:08:17 +00:00
Roy Johnson
61adb7d962 fix - xss vulnerability in webgui usernames 2007-01-16 16:06:08 +00:00
Colin Kuskie
d24f25c751 beginning of dashboard template docs for the Project Manager 2007-01-16 05:32:48 +00:00
Colin Kuskie
2e5a8c73bb template vars for ProjectManager. ISA relationships to follow tomorrow 2007-01-15 23:51:20 +00:00