Commit Graph

8097 Commits

Author SHA1 Message Date
Daniel Stolt
d892dee699 Added XML comments to IDateFormatter. 2014-08-02 18:23:31 +02:00
Daniel Stolt
3175a280ac Did initial draft rewrite of DefaultDateLocalizationServices. 2014-08-02 03:19:34 +02:00
Daniel Stolt
5d10ed1007 Added date/time formatting (the last piece of the puzzle) to DefaultDateFormatter, and unit tests. 2014-07-30 23:17:56 +02:00
Daniel Stolt
98311645cd Merged from 1.x. 2014-07-30 18:39:37 +02:00
Sipke Schoorstra
b20aa9c52f Adding content type filter hint. 2014-07-29 17:36:53 -07:00
Sipke Schoorstra
dff819ae04 Improving content event presentation. 2014-07-29 17:22:11 -07:00
Sipke Schoorstra
07f036d365 Merge branch '1.x' of https://git01.codeplex.com/orchard into feature/audittrail 2014-07-29 16:45:57 -07:00
Daniel Stolt
cee531c073 Implemented DefaultDateFormatter.FormatTime() and unit tests. 2014-07-29 21:03:08 +02:00
Daniel Stolt
9f4e91f75f Optimized performance of DefaultDateFormatter by marking certain static Regex patterns for pre-compilation. Increased the Regex cache size to 1024 in DefaultDateFormatterTests setup code. 2014-07-29 20:05:01 +02:00
Daniel Stolt
387425deb9 Fixed the last remaining failing test cases having to do with genitive month names. Turned out to be a bug in the .NET Framework that the test code now accomodates for. 2014-07-29 19:30:00 +02:00
Daniel Stolt
943d0f0e1b Fixed all failing date formatting test cases except the ones caused by "magic" choice between genitive and non-genitive month names for some cultures. 2014-07-29 18:00:42 +02:00
Piotr Szmyd
6605eeb34d #20839: Fixing issue with tabs in Dashboard not appearing after recent nav changes. They show up again.
Work Item: 20839
2014-07-29 16:06:31 +02:00
Daniel Stolt
51dc062e04 Fixing styling of <strong> text in admin theme, making it visible on Chrome. 2014-07-29 15:44:06 +02:00
Daniel Stolt
4466e88924 Fixed whitespace handling in audit trail table display. 2014-07-29 15:38:44 +02:00
Sipke Schoorstra
02441b2520 Making content item titles, content types and content parts clickable. 2014-07-28 19:12:51 -07:00
Sipke Schoorstra
703390de47 Merge branch '1.x' of https://git01.codeplex.com/orchard into feature/audittrail 2014-07-28 18:21:52 -07:00
Sipke Schoorstra
e50c2e1d39 Adding ShowSaveWarning option. 2014-07-28 18:13:28 -07:00
Sipke Schoorstra
658aa8384d Bugfixing.
The "showSaveMsg" function needs to be there regardless of the "promptOnNavigate" value.
2014-07-28 17:58:31 -07:00
Sipke Schoorstra
5a633330eb Adding PromptOnNavigate option. 2014-07-28 17:17:32 -07:00
Sipke Schoorstra
6e4fcd6a2a Consistifying line endings. 2014-07-28 15:40:30 -07:00
Sipke Schoorstra
3d284eece8 Implementing reusable MediaLibraryPicker shape. 2014-07-28 15:39:56 -07:00
Daniel Stolt
c02f09d900 Changed from IEnumerable<string> to string[] on some of the properties on IDateTimeFormatProvider because they are naturally accessed by index. Incremental work on formatting implementation in DefaultDateFormatter. 2014-07-28 19:30:41 +02:00
Daniel Stolt
e48cdc7bff Added support for the year/month and month/day date patterns to CultureDateTimeFormatProvider and DefaultDateFormatter. ALL standard formats are now fully supported - yaaay! 2014-07-28 17:52:05 +02:00
Daniel Stolt
adf900fb09 Added negative tests for DefaultDateFormatter. Corrected some namespaces. 2014-07-28 17:30:40 +02:00
Daniel Stolt
3afae3d538 Cleaned up regex used for literals matching and replacement. Changed literal patterns to use non-capturing groups for performance. 2014-07-28 17:12:25 +02:00
Daniel Stolt
4a10352ba6 Fixed remaining bugs in DefaultDateFormatter. Reached 100% verified correctness! Yaaay! 2014-07-28 05:54:09 +02:00
Daniel Stolt
28d02a503b Add code in DefaultDateFormatterTests to analyze the tested format string to determine which parts we might reasonably expect back from parsing.
Fixed a number of bugs in DefaultDateFormatter.
Improved test code in DefaultDateFormatterTests.
Added genitive month name support to IDateTimeFormatProvider and its implementations.
Added support to DefaultDateFormatter for considering both genitive and non-genitive month names during parsing.
2014-07-28 03:44:00 +02:00
Daniel Stolt
5ab19a0ea8 Added another TODO item. 2014-07-27 18:00:23 +02:00
Daniel Stolt
a09ab71c27 Added format-specific overloads to IDateFormatter and DefaultDateFormatter for performance optimization. 2014-07-27 17:55:03 +02:00
Daniel Stolt
b6cdebb58d Extended CultureDateTimeFormatProvider to take the configured calendar into consideration if it is one of the optional calendars for the configured culture, to get the correct formats.
Added ToString() overrides to the model classes.
Extended DefaultDateFormatter to try parsing with all supported formats provided by IDateTimeFormatProvider.
Extended DefaultDateFormatter with support for month names and abbreviated month names, in addition to month numbers.
Exterded DefaultDateFormatter with support for 12-hour time notation with AM/PM designator.
Fixed various parsing bugs in DefaultDateFormatter.
Added more extensive unit tests for DefaultDateFormatter.
2014-07-27 17:29:43 +02:00
Daniel Stolt
d4dc61038f Updated TODO list. 2014-07-27 12:18:44 +02:00
Daniel Stolt
6e74d40b2d Refactored the IDateFormatter abstraction and its implementation. 2014-07-27 04:55:27 +02:00
Daniel Stolt
f622d48f43 Added a few more members to the IDateTimeFormatProvider abstraction and its implementations. Removed the hard coded assumption of concatenating the short date pattern and short time pattern together to form the full date time pattern, and replaced it with proper information supplied by CultureInto. 2014-07-27 02:41:53 +02:00
Daniel Stolt
a80240b9f1 Improved RegEx construction to account for empty 13th month name. Excluded testing for Upper Sorbian (hsb) culture on Windows 8 and later. 2014-07-26 01:07:33 +02:00
Daniel Stolt
5bee0705c2 Parse months and day names and abbreviations. 2014-07-26 00:53:00 +02:00
Daniel Stolt
9a2b277aba Cleaned up some unused code. 2014-07-25 23:26:35 +02:00
Daniel Stolt
2b37a6ed6e Added IDependency as base interface of IDateFormatter. 2014-07-25 23:11:02 +02:00
Daniel Stolt
ac7641ea84 Incremental work on IDateLocalizationServices. 2014-07-25 17:45:11 +02:00
Daniel Stolt
5bb0543478 Fixed incorrect file name. 2014-07-25 17:09:32 +02:00
Daniel Stolt
702a780c6e Added design notes for reference during development. 2014-07-25 17:07:56 +02:00
Daniel Stolt
7d62d40a69 Integrated the IDateFormatter abstraction and a first draft implementation and unit tests. 2014-07-25 16:51:29 +02:00
Daniel Stolt
53c449e20f Renamed IDateServices to IDateLocalizationServices. 2014-07-25 14:07:47 +02:00
Sipke Schoorstra
4ba6bcdbc0 Removing unused script. 2014-07-24 21:18:08 -07:00
Sipke Schoorstra
be37ee54dc Reversing breaking fix and using OuterXML as content to include any attributes as well as element contents. 2014-07-24 12:02:04 -07:00
Sipke Schoorstra
192e57c739 #203: Setting default audit trail part settings. 2014-07-24 00:53:17 -07:00
Sipke Schoorstra
e894497016 #197: Show audit trail event comment only in read only view. 2014-07-24 00:48:54 -07:00
Sipke Schoorstra
799bd79d20 More content event bug fixing. 2014-07-24 00:12:26 -07:00
Sipke Schoorstra
d2d0c477a3 #196: Bugfixing and rendering content item type and title. 2014-07-24 00:00:22 -07:00
Sipke Schoorstra
dd8212e2b7 Handling addition case for attribute as well as element nodes. 2014-07-23 23:59:17 -07:00
Sipke Schoorstra
bc13e3671a #198: Getting rid of buggy jquery driven placeholder text in favor of browser supported placeholder attribute. 2014-07-23 23:31:17 -07:00