Commit Graph

7961 Commits

Author SHA1 Message Date
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
688b355ba4 Fixing typo. 2014-07-22 15:04:15 -07:00
Piotr Szmyd
d08aa1883e Fixing matching logic when looking for a menu item to select.
Items with route values (eg. ContentMenuItem) were omitted and not selected when viewing their child pages, non-existent in the menu.
Eg. item pointing to a blog was not selected when one entered one of the blog posts (provided the blog post was not on a menu).
2014-07-22 21:52:32 +02:00
Piotr Szmyd
0d03ad2ca6 Implemented level-based alternates for MenuItem and MenuItemLink. 2014-07-22 21:04:24 +02:00
Sipke Schoorstra
313dc0015f Fixing namespace. 2014-07-22 11:08:56 -07:00
Nicholas Mayne
4d7d79f320 Updating Markdown libraries to latest 2014-07-19 19:28:49 +01:00
Nicholas Mayne
e0eff15fc5 Updating additional files in TinyMce 2014-07-19 19:11:24 +01:00
Nicholas Mayne
8f30a943b4 Updating TinyMce to 4.1.2 2014-07-19 19:07:15 +01:00
Nicholas Mayne
63308f207e #20250: Allowing user to change the text of the submit button on custom forms.
Work Item: 20250
2014-07-19 19:02:33 +01:00
Lombiq
f131b60149 Orchard.Templates: updating Web.configs according to recent changes and a little cleanup in the project 2014-07-18 16:23:28 +02:00
Sipke Schoorstra
b364137bc1 Assigning the view to the view context. 2014-07-16 19:16:28 -07:00
Sipke Schoorstra
8b4e3e2314 Groups are case insensitive. 2014-07-16 17:21:04 -07:00
Lombiq
ab2af43f60 #20808: Fixing that if SessionConfigurationCache was disabled ShellDescriptorCache couldn't be disabled
Work Item: 20808
2014-07-16 15:52:48 +02:00
Zoltán Lehóczky
86c8999e2f Merge branch '1.8.x' into 1.x 2014-07-16 12:39:58 +02:00
Nicholas Mayne
6847f6d7eb Fixing comparison where either side can be null 2014-07-15 21:13:40 +01:00
Piotr Szmyd
7cb97fdd7c Revert "Fixing build warnings. Added binding redirects for JSON.NET 6.0"
It's a tooling issue, not Orchard - warnings are caused by Azure VS Tools 2.3 (http://connect.microsoft.com/VisualStudio/feedback/details/850425/windows-azure-vs-tools-breaking-msbuild-for-web-projects)
2014-07-15 21:57:59 +02:00
Nicholas Mayne
0b7ce57bf7 Stop calling driver on update if group is not the same 2014-07-15 19:22:05 +01:00
Piotr Szmyd
eb38abcc31 Fixing build warnings. Added binding redirects for JSON.NET 6.0 2014-07-15 14:23:43 +02:00
Sipke Schoorstra
4c1985098a Improving admin filter.
Taking into account any sub menu items that match the query.
2014-07-14 00:18:50 -07:00
Sipke Schoorstra
e410555577 Adding case-insensitivity to admin filter and implementing enter key to navigate to the first result. 2014-07-14 00:13:16 -07:00
Sipke Schoorstra
3ee53e1565 Implementing and applying reusable flavor picker. 2014-07-13 15:54:27 -07:00
Sipke Schoorstra
3a0a040cf0 Fixing autofocus on content types / content parts screens. 2014-07-13 11:07:09 -07:00
Nicholas Mayne
0891ef5fbe Updating Tinymce to version 4.1.1 from 4.1.0 2014-07-13 12:17:10 +01:00
Lombiq
2843333fc1 Fixing that Orchard.Workflows.Timer didn't have a name in the module manifest 2014-07-12 01:05:47 +02:00
Daniel Stolt
4a899e489b Removed orphan file reference in Orchard.Azure.MediaServices.csproj. 2014-07-09 12:45:41 +02:00
Sipke Schoorstra
cc6efa3ad9 Adding admin menu filter. 2014-07-08 20:26:20 -07:00
Lombiq
2e9f9afdb9 Making extensions lists on tenant edit screens collapsible
Signed-off-by: Zoltán Lehóczky <lehoczky_zoltan@pyrocenter.hu>
2014-07-03 11:03:24 +02:00
Lombiq
aa397faa17 #20397: Exceptions are not used for flow control anymore in some storage services
Work Item: 20397

Signed-off-by: Zoltán Lehóczky <lehoczky_zoltan@pyrocenter.hu>
2014-07-03 11:02:53 +02:00
Daniel Stolt
300ef6f71b #20761: Improved media upload experience in Orchard.Azure.MediaServices (added ability for user to control the name of the uploaded file).
Work Item: 20761
2014-06-28 17:55:07 +02:00
Lombiq
a884048709 Orchard.Packaging: fixing typo in Views/Gallery/Themes.cshtml 2014-06-24 12:23:44 +02:00
Nicholas Mayne
1936743ca0 #20277: Don't validate password inputs on Change Password
Work Item: 20277
2014-06-23 22:34:58 +01:00