Jeremy Mikola
5113886f34
[Security] Copy token attributes when auth providers create a new token from another
...
PreAuthenticatedAuthenticationProvider and UserAuthenticationProvider tend to copy a token instead of modifying it during their authenticate() methods, which is probably a good idea if the token might be immutable. Ensure that the token's attributes get copied along with everything else.
2011-02-23 16:03:01 -05:00
Igor Wiedler
bcca989c41
[Locale] refactor and simplify some parts of StubIntlDateFormatter
2011-02-23 19:09:48 +01:00
Bernhard Schussek
4af27bd590
[Locale] Added stubs for \Collator and \IntlDateFormatter
2011-02-23 14:46:27 +01:00
Bernhard Schussek
33e70673c2
[Locale] Fixed failing StubNumberFormatterTest when intl extension is not loaded
2011-02-23 14:38:05 +01:00
Igor Wiedler
71c99422f3
[Locale] convenience createStubFormatter method for StubIntlDateFormatter tests
2011-02-23 14:20:47 +01:00
Igor Wiedler
ee5bc36c55
[Locale] add docblocks to StubIntlDateFormatter and adjust some things to be more like StubNumberFormatter
2011-02-23 14:20:47 +01:00
Igor Wiedler
5fdf68a08a
[Locale] add license docblock to LocaleTestCase
2011-02-23 14:20:47 +01:00
Igor Wiedler
7b2b025ebd
[Locale] add @author tag to StubCollator
2011-02-23 14:20:46 +01:00
Igor Wiedler
30ea2bae32
[Locale] add @author tag to StubIntlDateFormatter
2011-02-23 14:20:46 +01:00
Igor Wiedler
31313f183a
[Locale] use is64Bit helper for StubIntlDateFormatterTest
2011-02-23 14:20:46 +01:00
Igor Wiedler
17e2d4e24c
[Locale] StubCollator: asort with initial tests
2011-02-23 14:20:46 +01:00
Igor Wiedler
96b7c8ff73
[Locale] initial stub of StubCollator with class constants
2011-02-23 14:20:45 +01:00
Igor Wiedler
3cc60f7cb4
[Locale] throw NotImplementedException on unimplemented chars
2011-02-23 14:20:45 +01:00
Igor Wiedler
d555049342
[Locale] only test BC era if on 64bit
2011-02-23 14:20:45 +01:00
Igor Wiedler
4fb79b715a
[Locale] split another StubIntlDateFormatter test into two
2011-02-23 14:20:45 +01:00
Igor Wiedler
577dd30927
[Locale] remove setLocale from StubIntlDateFormatter
2011-02-23 14:20:45 +01:00
Igor Wiedler
53839f9235
[Locale] refactor tests, make use of specialized exception
2011-02-23 14:20:45 +01:00
Igor Wiedler
77258223f1
[Locale] re-order StubIntlDateFormatter methods, rename timezoneId to timeZoneId, add setLenient method
2011-02-23 14:20:44 +01:00
Igor Wiedler
1191ab4b56
[Locale] add remaining IntlDateFormatter methods with tests
2011-02-23 14:20:44 +01:00
Igor Wiedler
69b38faff7
[Locale] refactoring and some more tests
2011-02-23 14:20:44 +01:00
Igor Wiedler
e95df5d2a7
[Locale] fix failing test case
2011-02-23 14:20:44 +01:00
Igor Wiedler
8dab760160
[Locale] use eriksens intl test helpers
2011-02-23 14:20:43 +01:00
Igor Wiedler
1f248652cc
[Locale] minor naming change
2011-02-23 14:20:43 +01:00
Jordi Boggiano
bfbc8f63fa
[Locale] Fixed implementation of quote parsing and replacement
2011-02-23 14:20:43 +01:00
Jordi Boggiano
47c1110166
[Locale] Fixed two tests
2011-02-23 14:20:43 +01:00
Igor Wiedler
e962c4a633
[Locale] add another failing escape test case
2011-02-23 14:20:42 +01:00
Igor Wiedler
c7380fbb4c
[Locale] support standard date and time types if no format is set, refactoring and more tests
2011-02-23 14:20:42 +01:00
Igor Wiedler
d3a63d35d4
[Locale] slightly adjust regex for matching quotes
2011-02-23 14:20:42 +01:00
Igor Wiedler
85e6c5e426
[Locale] add some more test cases with escaping
2011-02-23 14:20:42 +01:00
Igor Wiedler
632ded5c96
[Locale] use UTC if timezone is unsupported
2011-02-23 14:20:42 +01:00
Igor Wiedler
a883a3f62a
[Locale] adjust to new quoting format, some tests failing
2011-02-23 14:20:42 +01:00
Igor Wiedler
cc6f996334
[Locale] add a list of unimplemented date format keywords
2011-02-23 14:20:41 +01:00
Igor Wiedler
cbfaaef76e
[Locale] support for z (timezone offset from GMT)
2011-02-23 14:20:41 +01:00
Igor Wiedler
d68c5fa7fd
[Locale] refactor to use DateTime and DateTimeZone, adding timezone support
2011-02-23 14:20:41 +01:00
Igor Wiedler
7efe476693
[Locale] support for s (second)
2011-02-23 14:20:41 +01:00
Igor Wiedler
87d3547679
[Locale] support for m (minute of hour)
2011-02-23 14:20:40 +01:00
Igor Wiedler
6b26f8296d
[Locale] support for K (12-hour (0-11))
2011-02-23 14:20:40 +01:00
Igor Wiedler
5a767045b6
[Locale] implement k (24-hour (1-24)
2011-02-23 14:20:40 +01:00
Igor Wiedler
42a652ce3d
[Locale] refactor IntlDateFormatter::format to build regExp dynamically
2011-02-23 14:20:40 +01:00
Igor Wiedler
bfc7e55692
[Locale] support for H (24 hour)
2011-02-23 14:20:39 +01:00
Igor Wiedler
71e3c97358
[Locale] support for a (AM/PM)
2011-02-23 14:20:39 +01:00
Igor Wiedler
49752f104b
[Locale] support for E (day of week)
2011-02-23 14:20:39 +01:00
Igor Wiedler
d4c1357f11
[Locale] support for D (day of year)
2011-02-23 14:20:39 +01:00
Igor Wiedler
5ffce2d6a2
[Locale] add support for h
2011-02-23 14:20:39 +01:00
Igor Wiedler
3b9f52ae9a
[Locale] use assertSame instead of assertEquals
2011-02-23 14:20:39 +01:00
Igor Wiedler
ae3ee5d896
[Locale] add support for L, which is the same as M
2011-02-23 14:20:38 +01:00
Igor Wiedler
b702ce86b5
[Locale] support for G and Q placeholders in StubIntlDateFormatter::format
2011-02-23 14:20:38 +01:00
Igor Wiedler
69f56dbbd9
[Locale] move intl bugs to skipped tests
2011-02-23 14:20:38 +01:00
Igor Wiedler
8c1146974f
[Locale] add support for escaping, give specifics on implementation used in tests
2011-02-23 14:20:38 +01:00
Igor Wiedler
55ac407458
[Locale] first implementation of StubIntlDateFormatter
2011-02-23 14:20:37 +01:00