Commit graph

6976 commits

Author SHA1 Message Date
JT Smith
7b414dfd28 - Performance enhancement added to Page Layouts to make them do template
processing twice as fast.
2007-03-05 20:27:17 +00:00
JT Smith
47c65b7d66 changed comma to colon to fix problems with macros that use commas as separators 2007-03-05 19:32:11 +00:00
Colin Kuskie
ecf0450558 update the clipboard docs to talk about the clipboard and uncommitted assets 2007-03-05 17:56:26 +00:00
Colin Kuskie
c3052fcd67 1) Fixed a bad module name that prevented the updated WeatherData from running.
2) Heavy refactor of getAssetsInClipboard to make it use getLineage instead of
custom SQL.

Made Workflow/Activity/TrashClipboard use the same method.

Updated getLineage so that the whereClause key must not only exist, but actually
have something in it.  Otherwise it generates an empty pair of parens, which is
a SQL error.
2007-03-05 17:47:30 +00:00
Colin Kuskie
70e156542a fixed a bug in the left column layout template, which was still using RawHeadTags 2007-03-05 16:26:53 +00:00
Colin Kuskie
e17e1f7e4f coverage tests for Group.pm convenience methods 2007-03-04 06:22:57 +00:00
Colin Kuskie
d948cb4a33 fix typo in expireNotifyOffset method which prevents it from setting this value 2007-03-04 06:22:15 +00:00
Colin Kuskie
81e1001d59 More coverage tests. With the exception of the deprecated identifier method, User.pm is 100% covered 2007-03-04 05:35:47 +00:00
Colin Kuskie
b25f80e114 placeholder conversion for the ProfileField module 2007-03-04 05:35:11 +00:00
Colin Kuskie
1412f023f1 Fixed a bug in WebGUI::User::profileField, where the check for whether or not
a profile field existed in the db always passed because it used quickArray in
scalar context.  Since quickArray always returns 1 element, this was always true
and it never returned undef like it was supposed to.

To fix this, I added a new method called quickScalar that returns the first column
from the row as a scalar.  It has a basic test in SQL.t.

Then there's the new test in User.t for coverage that exposed this problem, and
I also removed a whole slew of duplicate tests.
2007-03-04 04:18:59 +00:00
Colin Kuskie
1a278fed6c remove some old debug code and cover the caching of user profile fields on user creation 2007-03-04 03:40:25 +00:00
Colin Kuskie
7b97760236 fix a bug in the setting of private object data 2007-03-04 00:14:12 +00:00
Colin Kuskie
e1c69f91d9 fix display of assets in clipboard that cannot be trashed 2007-03-03 22:25:36 +00:00
Colin Kuskie
068f8abd5a fixing bad rendering in time tracker manage projects screen, missing end div tag 2007-03-03 00:42:16 +00:00
Colin Kuskie
be64f0367f add missing SQLForm docs for the super search 2007-03-02 23:02:21 +00:00
Colin Kuskie
ac6116b7a0 Added a dbSlave test to Session.t. It's kind of a hack as it sets up
a slave reference back to the original db from the config.
Bug fixes for the TrashClipboard workflow activity.  The dates were off,
since the interval returns an epoch, and the call to Asset->new didn't
have the session.
2007-03-02 16:51:49 +00:00
Martin Kamerbeek
52ebd6eece Fixed resize bug in fileImport.pl where vertical images would not be resized. 2007-03-02 13:47:26 +00:00
Colin Kuskie
d94ca33474 beginning to document the super search template 2007-03-02 06:26:57 +00:00
Colin Kuskie
6bca733129 props to Isaac from Core Mobility for the ODBC patch 2007-03-02 00:04:37 +00:00
Colin Kuskie
fcaf782f5b ODBC dsns need long lengths like Oracle 2007-03-01 23:27:24 +00:00
Colin Kuskie
83eb765fef add docs for fixing missing thumbnails and add the --help switch to the thumbnailer script 2007-03-01 22:37:25 +00:00
Colin Kuskie
7fb381c646 reworked the thumbnailer for WGBP and added a switch to only thumbnail things without thumbnails 2007-03-01 22:19:45 +00:00
Colin Kuskie
89686f3fd9 set default group to edit events to be the same as group allowed to edit calendar 2007-03-01 22:03:06 +00:00
Colin Kuskie
f800a0d8b0 Data::Dumper clean-up 2007-03-01 00:19:15 +00:00
Colin Kuskie
d32e127e8d remove Data::Dumper 2007-03-01 00:16:44 +00:00
Colin Kuskie
84716b87ed set explicit check for html,head and body tags to useEmptyStyle to keep an eye on the template 2007-02-28 23:17:20 +00:00
Colin Kuskie
211e9bd8a7 fix some bad POD in SQL.pm pertaining to how buildHash* works 2007-02-28 21:26:34 +00:00
Colin Kuskie
3d5763269a Fixed a bug in the Event view where the link to the Calendar Search
was wrong.  Added a new template variable, urlSearch to the Event view
template.  I added a new method to the Calendar to handle this, getUrlSearch.
2007-02-28 20:20:37 +00:00
Roy Johnson
1ed783b2c5 Ready for 7.3.12 dev 2007-02-28 18:01:10 +00:00
Roy Johnson
426516dd35 7.3.11 release 2007-02-28 17:06:11 +00:00
Colin Kuskie
5fb55ba2de and clean-up the original, dead storageId 2007-02-28 05:42:17 +00:00
Colin Kuskie
85ecb2364a fix thumbnailing of uploaded images via the RTE 2007-02-28 05:35:47 +00:00
Colin Kuskie
218415ad27 fix generic package uploading 2007-02-27 19:05:45 +00:00
JT Smith
ff03aebfd3 Tiny MCE--> Relative Absolute URL for Images IE and Firefox different 2007-02-27 18:41:01 +00:00
Colin Kuskie
1b1804fc16 fixing Calendar/Event add/edit privileges 2007-02-26 23:13:36 +00:00
Martin Kamerbeek
21573a54f1 fileImport fixes. 2007-02-26 21:43:53 +00:00
Colin Kuskie
5aa21faaa3 fixed two outdated doc bugs 2007-02-26 17:31:08 +00:00
Martin Kamerbeek
a2b5a14ce3 Readabalize code. Will fix bugs later today. 2007-02-26 10:16:56 +00:00
JT Smith
9cacb28c69 You must now also have Weather::Com::Finder 0.5.1 installed. Do
this before you upgrade.
2007-02-26 06:44:13 +00:00
JT Smith
747e130013 put the coverage db in /tmp 2007-02-25 21:17:48 +00:00
JT Smith
2ae31ce34b - fix: WeatherData asset not displaying properly
- rfe: Weather-Data not only for US-Cities
 - rfe: WeatherData Asset - Convert to International format
2007-02-25 18:55:10 +00:00
Colin Kuskie
4469301092 Based on SVN history, put the behavior of the SQL back and fixed the POD and
the tests.
2007-02-25 06:20:54 +00:00
Colin Kuskie
5a379fe91e Add tests for urlExists and fix bugs in the method. It now handles
placeholders correctly and does exactly what the POD says, assetId
requires that the url be with that assetId, rather than not in that
assetId.
2007-02-25 06:18:15 +00:00
Colin Kuskie
70d7bb2513 Remove some dead code in Group.t
Add more tests for coverage in User.t
2007-02-25 05:57:54 +00:00
JT Smith
5dfb14e982 oops typo 2007-02-25 00:27:30 +00:00
JT Smith
77d287b631 added coverage test option 2007-02-24 17:45:32 +00:00
JT Smith
b4edb251c2 added an option for coverage tests 2007-02-24 17:44:14 +00:00
JT Smith
0b6c500a16 made the options in urlExists a hashref for future expandability 2007-02-24 17:16:18 +00:00
JT Smith
480cb392eb added a urlExists method which is shared between fixUrl() and the fileImport script 2007-02-24 16:56:45 +00:00
Colin Kuskie
128ab06bf6 Built a test for newByEmail and removed the TODO test. 2007-02-24 04:36:11 +00:00