Commit Graph
100 Commits
Author SHA1 Message Date
Daniel Stolt 920819544a Merge branch 'feature/outputcache' into 1.9-int 2015-04-10 23:04:47 +02:00
Daniel Stolt 8b1f00e31c Disabled ASP.NET OutputCacheModule in Web.config. 2015-04-10 22:35:47 +02:00
Daniel Stolt 8fbc1e41f3 Improved debug log message for ignored child actions. 2015-03-22 14:44:40 +01:00
Daniel Stolt c80c961513 #20879: Fixed handling of child actions in OutputCache and SecureSocketsLayer.
Work Item: 20879
2015-03-22 14:41:02 +01:00
Daniel Stolt bdc64df4eb #21277: Fixed possible cache key collisions in output cache.
The cache keys of action method parameters are now prefixed with "PARAM:" to avoid collisions with built-in keys such as "theme". Similar to the "HEADER:" prefixing done for headers.

Work Item: 21277
2015-03-21 14:32:23 +01:00
Daniel Stolt ca6eee88db Made output cache lock management more robust. 2015-03-19 21:15:25 +01:00
Daniel Stolt adf8ba85da Changed output cache storage from string to byte[] to fix encoding issues with binary content. 2015-03-19 21:03:00 +01:00
Daniel Stolt fbf39acac6 Added preservation of original response encoding. 2015-03-19 12:53:02 +01:00
Daniel Stolt 017a101069 Deferred insertion of CaptureStream to improve memory performance. 2015-03-19 12:46:50 +01:00
Daniel Stolt c9cfb8639c #20881: Changed capture mechanism in Orchard.OutputCache to support any result type.
Instead of using a custom writer for the Response.Output property, the OutputCacheFilter now uses a specialized Stream class for the Response.Filter property, which captures anything written to it. This seems to work with any type of result, including FileContentResult.

Work Item: 20881
2015-03-18 23:10:36 +01:00
Daniel Stolt 0d2afe3206 Added a post-build binding to TypeScript gulp task for Task Runner Explorer. 2015-03-18 12:54:10 +01:00
Daniel Stolt 2d4c1c817d #21249: Removed build dependency on TypeScript.
Instead added a gulpfile to enable compilation of TypeScript files when needed.

Work Item: 21249
2015-03-18 12:34:29 +01:00
Daniel Stolt 0f7d385350 Made casing of Web.config file names consistent. 2015-03-04 02:33:18 +01:00
Daniel Stolt 78901ba095 Suppressed warning CS0436 in Orchard.Framework. 2015-03-04 02:26:54 +01:00
Daniel Stolt 8e81de333f Removed more source map files and disabled source map generation for TypeScript. 2015-03-04 02:22:19 +01:00
Daniel Stolt 1a8ebf2548 Fixed version conflict build warnings and cleaned up all Web.config files. 2015-03-04 02:06:09 +01:00
Daniel Stolt d32accb089 #21213: Improved layout popup keyboard handling.
Work Item: 21213

Fixed space key issue when popup input field has focus. Also added ESC as a keyboard shortcut to close the popup. Also set focus to the first input when popup is opened.
2015-02-24 12:47:57 +01:00
Daniel Stolt caa50ad440 Updated TypeScript to version 1.4.
Download from here: https://visualstudiogallery.msdn.microsoft.com/2d42d8dc-e085-45eb-a30b-3f7d50d55304
2015-02-23 15:23:15 +01:00
Daniel Stolt cc4fe86d83 Fixed JS language service errors in Orchard.Layouts. 2015-02-20 12:53:17 +01:00
Daniel Stolt 8911365242 Removed some residual JS source map references. 2015-02-20 12:46:18 +01:00
Daniel Stolt 4b11d08ccd Merged 'feature/layouteditor' into 1.x. 2015-02-19 22:14:55 +01:00
Daniel Stolt d5c3a0e59f Fixed an error while publishing via MSBuild (outside of VS).
When running the Publish target using MSBuild (rather than VS) the error MSB3030 occurs because the manifest file Orchard.exe.manifest cannot be found. This fixes that error, making it possible to automate publishing outside VS, for example using PowerShell.
2015-02-19 19:03:16 +01:00
Daniel Stolt 2515f943f6 Moved xmldiffpatch dependency to root lib folder. 2015-02-11 23:55:54 +01:00
Daniel Stolt da6aa02672 Updated osFamily to 4 in cloud service project to make it compatible with .NET Framework 4.5.1. 2015-02-11 23:38:52 +01:00
Daniel Stolt d8a80558e9 Removed faulty reference from solution file. 2015-02-11 23:37:12 +01:00
Daniel Stolt 0986784d72 Revert "Made private members protected in OutputCacheFilter."
This reverts commit 0ba6b1d788.
2015-02-11 15:58:14 +01:00
Daniel Stolt 0ba6b1d788 Made private members protected in OutputCacheFilter. 2015-02-10 12:37:09 +01:00
Daniel Stolt 7ea43cb89f Improved logging of unhandled API exceptions. 2015-02-10 12:35:10 +01:00
Daniel Stolt 3d5b26ebd0 Fixed another incorrect exception logging in Orchard.Redis. 2015-02-09 18:01:33 +01:00
Daniel Stolt a446ebdb3e Made xmldiffpatch reference private in Orchard.AuditTrail. 2015-02-07 15:58:23 +01:00
Daniel Stolt 8406a08bf6 Fixed a weird bug in Markdown that caused <h1> elements to be nested in <p> elements. 2015-02-04 16:27:17 +01:00
Daniel Stolt 99072faf14 Fixed LINQ exception in Orchard.MessageBus. 2015-02-04 15:49:13 +01:00
Daniel Stolt dd2fb47cdb Fixed exception logging in Orchard.MessageBus. 2015-02-04 15:48:27 +01:00
Daniel Stolt 73bc34a93e Disabled generation of source map files. 2015-01-30 01:26:35 +01:00
Daniel Stolt 53dbd4954d Removed all (existing and missing) JS source map files. 2015-01-30 01:24:24 +01:00
Daniel Stolt 4dab32dea2 Updated jQuery UI in Orchard.jQuery from 1.9.2 to 1.11.2. 2015-01-27 14:11:34 +01:00
Daniel Stolt b359dc9f29 Clarified feature names and descriptions in Orchard.Localization. 2014-12-31 13:27:52 +01:00
Daniel Stolt bcb720f659 Changed incorrect Arabic letters to correct Farsi counterparts. 2014-12-30 20:03:48 +01:00
Daniel Stolt 6340e504bc Various improvements to OutputCache module.
- Added synchronization of multiple concurrent content regeneration on cache miss.
- Added support for grace time, configurable per route.
- Refactored and cleaned up code and comments througout the module.
- Made many members "protected virtual" on OutputCacheFilter for easier substitution.
- Made various usability improvements in admin UI.
- Added support for "vary by authentication state".
2014-12-04 19:41:05 +08:00
Daniel Stolt 004caf387f Added missing projects to Orchard.Azure.sln. Retargeted Orchard.Azure.Web.csproj to .NET Framework 4.5.1. 2014-11-17 02:46:39 +01:00
Daniel Stolt 4a18247588 Moved IMachineNameProvider into Orchard.Framework. 2014-11-17 02:30:25 +01:00
Daniel Stolt 9855914af2 Removed IDependency from AzureBlobShellSettingsManager and AzureMachineNameProvider to prevent them from being registered as part of the default feature of the Orchard.Azure module. IShellSettingsManager and IMachineNameProvider implementations should always be registered using Host.config. 2014-11-17 00:01:44 +01:00
Daniel Stolt ffe6a733ea Various TinyMCE improvements:
- Removed png image for toolbar buttons in mediapicker and medialibrary plugins and replaced with vector icon to harmonize with other toolbar buttons.
- Fixed styling of menu items and enabled menu bar and status bar.
- Improved toolbar button ordering.
- Enabled more features.
- Added styling of pre and code elements in editor.
- Cleaned up JavaScript formatting.
2014-11-16 19:46:32 +01:00
Daniel Stolt 005ec51115 Prevented IIS site from being started for Orchard.Azure.MediaServices when running from VS. 2014-10-26 16:29:23 +01:00
Daniel Stolt 5965f02b02 Added support for custom encoding presets to Orchard.Azure.MediaServices. 2014-09-08 19:07:23 +02:00
Daniel Stolt 6bdf4a0348 Adding missing display of client IP address on inline audit trail, and removing conditional display of historically logged client IP addresses. Improving some UI language. 2014-08-20 01:53:11 +02:00
Daniel Stolt 4b0c05c73d Fixed bug i CalendarsPicker localization logic where the picker would always use the configured culture formats rather than the IDateTimeFormatProvider abstraction. 2014-08-20 01:20:48 +02:00
Daniel Stolt 4ebc946282 Merge branch '1.x' of https://git01.codeplex.com/orchard 2014-08-16 01:01:09 +02:00
Daniel Stolt 2f4ab2e272 Ädded remaining customized date/time formats for Persian calendar, and extracted them into a separate class. 2014-08-16 01:00:43 +02:00
Daniel Stolt 2e334baa37 Fixed a DST-related time zone conversion bug and added 3 unit tests to verify. 2014-08-08 02:43:10 +02:00
Daniel Stolt 6cc6ffc252 Merge branch '1.x' into feature/datelocalization 2014-08-07 04:46:01 +02:00
Daniel Stolt 56141a7549 Fixed another rounding bug with fraction formatting of millisecond, and added unit tests to cover this once and for all. 2014-08-07 04:44:47 +02:00
Daniel Stolt 58efe9c5b2 Fixed a bug with fraction formatting of millisecond component. 2014-08-07 03:46:45 +02:00
Daniel Stolt af587e4cab Added correct formatting and parsing of milliseconds using the fraction specifiers, and updated unit tests to cover it. 2014-08-07 02:46:47 +02:00
Daniel Stolt 060b17a0d0 Added unit tests for calendar conversion. 2014-08-07 01:31:09 +02:00
Daniel Stolt 9b9251016c Removed TODO item. 2014-08-06 01:23:32 +02:00
Daniel Stolt 9bcd8bec68 Added specific month name overrides for the combination of the fa-IR culture and the Persian calendar. 2014-08-06 01:22:03 +02:00
Daniel Stolt e2bc40305c Made time zone conversion more rubust. 2014-08-04 02:41:33 +02:00
Daniel Stolt ef5ccaadfe Added 15 unit tests to cover time zone conversion, and fixed a bug that the new tests revealed. 2014-08-04 01:57:37 +02:00
Daniel Stolt 2bf89df915 Added formatting and parsing support for time zone and offset information (the "K", "zzz", "zz" and "z" custom format specifiers) and unit tests to cover it. 2014-08-03 16:41:41 +02:00
Daniel Stolt 3951fb79d1 Fixed a couple of calendar conversion bugs. 2014-08-03 02:16:04 +02:00
Daniel Stolt 3cdfd6848b Cleaned up a few uses of the DateTime shape. 2014-08-03 01:21:42 +02:00
Daniel Stolt 2dbf6f9b2b Improved DateTimeField (bypass time zone conversion if date-only, store/retrieve only the relevant components from the repository, surface the display mode as a property on the field). 2014-08-03 00:20:48 +02:00
Daniel Stolt f019392a93 Changed implementation of DateTokens to use localization abstractions. Added more tokens. Beefed up unit tests to cover all tokens. 2014-08-02 21:49:41 +02:00
Daniel Stolt dc21e33294 Minor formatting changes. 2014-08-02 19:11:12 +02:00
Daniel Stolt b7314cf7fe Merge branch '1.x' into feature/datelocalization 2014-08-02 18:49:26 +02:00
Daniel Stolt 755e21abc1 Fixed three failing unit tests. 2014-08-02 18:44:47 +02:00
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 fb42acb5ad Fixed more exceptions when rendering audit trail events for deleted content items. 2014-07-31 01:53:43 +02:00
Daniel Stolt ed8eb3f4c0 Fixed exceptions when rendering audit trail records for content items which have been deleted. 2014-07-31 01:25:49 +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 f9bd4f7c75 Removed incorrectly merged publishing profile. 2014-07-30 18:43:15 +02:00
Daniel Stolt 98311645cd Merged from 1.x. 2014-07-30 18:39:37 +02:00
Daniel Stolt 15e95d4e14 Fixing null reference exception is Azure output cache provider when one or more cache client configuration properties are left empty. 2014-07-30 16:44:45 +02: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
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
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