Commit graph

4428 commits

Author SHA1 Message Date
Drake
c438d55310 Normalized signature of Asset::duplicate. This involved going through
existing overrides and callers for that method and making sure they followed
the correct signature.  Various related cleanups.

This should fix those bugs with collaboration systems refusing to be copied
or deployed as packages.
2006-09-23 01:33:46 +00:00
JT Smith
3f45819b49 fixed a bug that would only happen when you tried to deploy a package that contained collaboration systems with posts 2006-09-22 18:09:08 +00:00
Colin Kuskie
56e78708a4 Add a comment to WebGUI::Session::Var::start that if no userSessionId is passed
that a new userSessionId will be created and that the current sessionId (the actual
session object's id) will be set to this new id.
Add several new tests to Session/Var.t  Tried hard to exploit the change in 
sessionId and haven't found a way, yet.
2006-09-22 03:44:34 +00:00
Drake
a170904340 Add support for browser-session cookies, using a cookieTTL value of
"session".
2006-09-21 18:42:41 +00:00
Drake
31cbd665e6 Back out r2910 for now since it doesn't seem quite right. This
needs further examination.
2006-09-21 08:19:15 +00:00
Colin Kuskie
381ce45c1a Add 7 tests to Session/Var.t. Some of them are redundant. That will
be fixed later.
Added lots of comments to start and new subs.  Changed db methods to
use placeholders.  Changed timely data to call time once so that they
all match.
2006-09-21 03:06:04 +00:00
Drake
643f792008 Remove extraneous debug message. 2006-09-21 01:45:50 +00:00
Drake
fcbefb7286 Make clipboard copies not do the bizarre thing that duplicate usually does
where the duplicate asset becomes a child of the original.  This fixes the
error with copying Collaboration System assets.
2006-09-21 01:12:56 +00:00
Drake
08858c20c3 Revert erroneously-included hunk in previous commit. 2006-09-21 00:50:14 +00:00
Drake
1ad3f6e3b3 Make DBI connect errors not infinitely recurse. 2006-09-21 00:25:01 +00:00
JT Smith
b81d7cd974 fixed a typo in pod 2006-09-21 00:22:59 +00:00
Drake
05156d1232 Propagating r2864 changes properly, hopefully fixing the recent search
breakage.  Killing some massive duplication of query string generation
in the process.
2006-09-20 23:19:22 +00:00
Frank Dillon
b3874ccba9 - Fixed a bug which would cause the workflow to crash if more than a certain amount of users exists.
- Moved the alias mapping into the config file
2006-09-20 20:39:39 +00:00
Colin Kuskie
858acf5bae add comment to clarify why generateThumbnail is used instead of resize while processing uploaded images 2006-09-18 22:51:17 +00:00
Colin Kuskie
65374109b1 Final test for L_loginBox, and coverage improvements for RootTitle.
Pod and documentation fixes for L_loginBox macro.
2006-09-15 21:08:04 +00:00
JT Smith
90cb569bb5 - fix: deleting workflows did not delete related instances and crons
- Added a "run" link to the scheduler and the running workflows listings to
   aid in debugging workflow errors.
 - fix: profile fields not validated by WebGUI::User
2006-09-15 06:08:30 +00:00
JT Smith
7852441151 preparing for 7.0.8 bugfix cycle
- Fixed a couple of minor bugs with the default values of the Request
   Approval for Version Tag workflow activity.
 - Updated the hoverhelp to denote that you can use ranges in the WebGUI
   scheduler.
2006-09-15 04:58:03 +00:00
Colin Kuskie
a1bf6a2b21 Coverage fixes for date and last modified macros.
Refactor LastModified macro to use placeholders and remove an unused conditional.
2006-09-14 22:22:35 +00:00
Colin Kuskie
4d94cd929d missed passing the session to SUPER::definition 2006-09-14 18:34:41 +00:00
Colin Kuskie
66d98f371c Update some POD in Stow and PageTitle.
Fix several tests with bad coverage.
2006-09-14 15:54:54 +00:00
Roy Johnson
6ebe990f7b fix - whitespace test failing 2006-09-08 14:48:07 +00:00
Martin Kamerbeek
a8e06374ee Fixed an field type labels and an issue with displying images in the search results. 2006-09-08 12:06:34 +00:00
Drake
54dc7206c0 Fix minor errors:
- typo in changelog
  - wrong lastUpdated in i18n/English/Asset_ProjectManager.pm
2006-09-08 01:56:26 +00:00
Drake
8d27693394 Enhancement: add observer groups to project manager projects, such that
anyone who is not in the observer group cannot view the project or see
it in the project list.  Some associated refactoring of project manager
permissions.  Schema change to accommodate the new data.
2006-09-08 01:10:16 +00:00
Drake
a2521f0472 Deactivate shading representation of lag time, and remove redundant
background-color specification in the CSS to avoid confusion.
2006-09-07 22:57:17 +00:00
Drake
ca653ebef8 Enhancement: add lag time to Project Management tasks. This adds a new
column to PM_task.  Also move the bulk of the PM project display JS
stuff into a separate JavaScript file rather than it being in a template
in the database.
2006-09-07 22:01:36 +00:00
Frank Dillon
71d6a3bd28 fixed "randomness" to only include CS's that are not empty. Returning an random CS that was empty would throw an error. 2006-09-07 20:47:13 +00:00
Roy Johnson
aac1df8dfb fix - makePrintable operation with other styleId 2006-09-07 18:17:32 +00:00
Colin Kuskie
56359d9404 doc tweaks. typo in Navigation, and define what Data Form Templates are used for 2006-09-07 16:37:09 +00:00
JT Smith
35f4f5c4fb rfe: Image Management (funded by Formation Design Systems) 2006-09-07 01:05:34 +00:00
Drake
5e7565d8df Major enhancement: add multiple-resource support for tasks in the project
management asset.  This should still integrate with the time tracker
properly, and the data migration across the schema change should be handled
by the upgrade script.
2006-09-06 22:37:00 +00:00
Michele Dell'Aquila
bed0c9130f fix: can't change default size of text fields 2006-09-06 18:45:41 +00:00
Martin Kamerbeek
31f951e498 some sqlform fixes 2006-09-06 14:11:06 +00:00
Colin Kuskie
6ceb0ff0be document the built-in loop counter variable 2006-09-05 21:36:19 +00:00
Eric Kennedy
d675ed5a29 Fixed WeatherData.pm. NOAA had changed the format of their output causing REGEXP to fail. 2006-09-05 18:37:56 +00:00
Martin Kamerbeek
518d820a5e fixed a search indexer problem and a tabs.css conflict with tinymce 2006-09-01 14:43:16 +00:00
Drake
8045055d12 Fix: CS pagination not working for visitors due to caching error 2006-09-01 03:54:51 +00:00
Drake
58449bb158 Multiple fixes:
- Caching of overrides was using inconsistent tag in Shortcut assets.
  - Fix JavaScript race condition in dashlet prefs form code.
2006-09-01 02:49:13 +00:00
Colin Kuskie
3922cf7238 fix bad POD in new method 2006-08-31 21:09:29 +00:00
Drake
a72ba4c8c2 Fix "Edit existing project not pulling original data". 2006-08-31 04:21:43 +00:00
Drake
565119fa1a Multiple changes:
- Shift ProfileField API so that new returns undef on invalid fields.
    This makes it possible for Shortcut::www_saveUserPrefs to execute.
    The class methods in ProfileField are now also actually class methods.

    + Also fix up other modules that created dummy ProfileFields so that
      they don't need to do that anymore, because it's now invalid.

  - Merge contradictory-looking code from Shortcut's view and www_view
    into a reasonable compromise in view, and then have www_view call
    $self->view in a manner similar to that of the default Asset::view.

    + The profile field overrides still don't work, because there's no
      obvious mechanism for "transclude asset in context".  This may
      require some fiddling to get right...
2006-08-31 00:14:56 +00:00
Colin Kuskie
84e8d8f689 remove old discussion template variables from Article template docs 2006-08-30 16:38:32 +00:00
Drake
a02f17c887 Multiple fixes:
- Shortcuts that are dashlets no longer mysteriously mutate into
    their parents.
  - Saving edits to dashlet preferences no longer kicks you out of
    your version tag.
2006-08-30 05:19:23 +00:00
Colin Kuskie
be7b5c38a9 1 getUrl was missed 2006-08-29 17:27:09 +00:00
Drake
aac32d24bd Multiple enhancements:
- Perform RFE "js-confirmation-operation/user.pm".
  - Perform RFE "js-confirmation-operation/group.pm".
  - Perform RFE "locked-by-who".
    (Displays in title and alt of img, but not in body text.)
2006-08-29 16:49:25 +00:00
Drake
936054ba19 Multiple fixes:
- Probably fix "more-geturl-bugs", but hard to verify.
  - Fix "last-modified-problem", approximately.  (Difficult or impossible
    in the general case for externally-retrieved content.)
  - Fix "rss-syndication".
  - Fix unnamed bug where Database caches would try to Storable::freeze
    non-references and thereby crash.
  - Fix "apache-version-component-in-wrong-place".
2006-08-29 16:44:41 +00:00
Martin Kamerbeek
48a01cc878 fix: Matrix 'Can instantiate template' 2006-08-29 13:12:05 +00:00
Martin Kamerbeek
50e8b14789 Fix: extra elements (tags) do not show up in HTML source 2006-08-29 11:33:09 +00:00
Martin Kamerbeek
3b9f541bd0 Fixed some issues with the override form in the Shortcut 2006-08-29 10:48:33 +00:00
Martin Kamerbeek
d22e96216e Fixed a bug in the Layout where it didnot inherit the layout template of its parent 2006-08-28 15:16:29 +00:00