webchick
2ccb0f6c56
Issue #1901546 by Berdir, chx: Fixed Random failures in Drupal\system\Tests\Entity\ConfigEntityQueryTest.
2013-01-29 15:45:27 -08:00
catch
9d276ca5f5
Issue #1892462 by tim.plunkett: EntityManager should use the CacheDecorator.
2013-01-29 13:20:49 +00:00
catch
5f9c8fdec4
Issue #1885796 by sun: Fixed PHP warnings in PhpStorage\FileStorage::save().
2013-01-29 13:08:52 +00:00
catch
e8fb3cea9c
Issue #1892574 by sun: Remove hook_hook_info_alter().
2013-01-28 22:51:01 +00:00
catch
cc93aedb71
Issue #1895984 by sdboyer: Improve new-style controller selection by relying on ContentNegotiation.
2013-01-28 22:40:17 +00:00
catch
f755b6942c
Issue #1846454 by chx, dawehner, amateescu: Add Entity query to Config entities.
2013-01-28 14:08:49 +00:00
catch
a62c75ed68
Issue #1893372 by Crell: Move legacy flag for routes earlier in the process.
2013-01-28 13:47:00 +00:00
webchick
dc28083a7c
Revert "Issue #1894508 by linclark, damiankloip: Update symfony/serializer."
...
Caused a conflict with a higher-priority patch; temporary rollback for now.
This reverts commit ba6d3fb7f5
.
2013-01-25 10:15:12 -08:00
webchick
ba6d3fb7f5
Issue #1894508 by linclark, damiankloip: Update symfony/serializer.
2013-01-25 09:53:54 -08:00
webchick
456bf6dff0
Issue #1896556 by klausi: Fixed Routing AccessManager does not evaluate access checks correctly.
2013-01-24 23:18:07 -08:00
Dries
2c7f56dd70
Issue #1850704 by klausi, damiankloip: available serialization formats.
2013-01-24 13:57:43 -05:00
webchick
0975b1fbf6
Issue #1894910 by sun: Move module_invoke() into ModuleHandler.
2013-01-24 10:46:22 -08:00
webchick
2215dc2ecd
Issue #1877632 by fago, jhodgdon: Improve comments and clean-up code for EntityNG and the TypedData API.
2013-01-24 10:07:44 -08:00
webchick
de7f4baeaf
Issue #1266572 by znerol: Fixed Workaround in UpdateQuery_sqlite() for affected rows count causes certain updates to be suppressed.
2013-01-23 19:41:48 -08:00
webchick
d89a17dc43
Issue #1893800 by Berdir: Alias Symfony's ContainerBuilder in UpdateBundle to prevent conflicts.
2013-01-23 18:58:36 -08:00
webchick
08d2a007cc
Issue #1854874 by alexpott, damiankloip, linclark: Add serializer support for XML.
2013-01-23 09:48:25 -08:00
Dries
2fa3ffe132
Issue #1822458 by tim.plunkett, effulgentsia: Move dynamic parts (view modes, bundles) out of entity_info().
2013-01-23 12:46:47 -05:00
webchick
24448e8d2d
Issue #1894934 by scor, Crell: Update CMF Routing component.
2013-01-22 17:28:37 -08:00
webchick
38a36d4e3d
Issue #1253820 follow-up by plach: Missing a few hook implementations + tests.
2013-01-21 16:31:08 -08:00
catch
10ab47224d
Issue #1331486 by katbailey, chx, sun, beejeebus, amateescu: Move module_invoke_*() and friends to an Extensions class.
2013-01-21 19:21:34 +00:00
catch
2cf9e49ebc
Revert "Issue #1331486 by katbailey, chx, sun, beejeebus, amateescu: Move module_invoke_*() and friends to an Extensions class. Broke core tests after commit."
...
This reverts commit c80c3e18f1
.
2013-01-21 13:53:28 +00:00
catch
c80c3e18f1
Issue #1331486 by katbailey, chx, sun, beejeebus, amateescu: Move module_invoke_*() and friends to an Extensions class.
2013-01-21 11:02:01 +00:00
webchick
79ba7703dc
Issue #1722882 follow-up by Berdir: Fixed CacheDecorator does not clear used cache tags.
2013-01-20 12:03:11 -08:00
webchick
f4d2f16f3d
Issue #1891692 by katbailey: Fixed AliasManagerCacheDecorator won't work correctly with subrequests.
2013-01-19 20:13:58 -08:00
webchick
bc237f9a13
Issue #1831264 by tim.plunkett: Use the Entity manager to create new controller instances.
2013-01-18 20:58:23 -08:00
webchick
0f9489f9fe
Issue #1875632 follow-up by nod_, Wim Leers, effulgentsia: Added wrapper function for JS settings merging behavior, fix tabledrag.
2013-01-18 10:00:29 -08:00
webchick
c27d77eb6c
Revert "Issue #1854874 by damiankloip: Add serializer support for XML."
...
Testbot done did brokeded.
This reverts commit 4aaa725268
.
2013-01-17 16:05:10 -08:00
Dries
1415a436ff
Merge remote-tracking branch 'wscci/1874500-routing-take-2' into 8.x
2013-01-17 17:16:09 -05:00
catch
4aaa725268
Issue #1854874 by damiankloip: Add serializer support for XML.
2013-01-17 21:22:08 +00:00
Larry Garfield
a6b80d6583
Docs improvements and remove unnecessary "use" statements.
2013-01-17 00:11:34 -06:00
Larry Garfield
f5769e0acf
Move routing services to their own utility method for tidiness.
2013-01-16 23:57:25 -06:00
Larry Garfield
ef577f3931
Various minor documentation cleanups.
2013-01-16 23:57:25 -06:00
Larry Garfield
a16eecd307
Small cleanups per reviews.
2013-01-16 23:57:25 -06:00
Larry Garfield
435f48428e
Add an alias-capable UrlGenerator and use that in Drupal.
2013-01-16 23:57:25 -06:00
Larry Garfield
229dde1d9f
Remove workaround in NullGenerator.
2013-01-16 23:57:25 -06:00
Larry Garfield
811bf09c11
Use the new router first, then the legacy router.
2013-01-16 23:57:25 -06:00
Larry Garfield
4feeb0dce4
Explicitly ignore legacy routes that are defined as not used when matching.
2013-01-16 23:57:25 -06:00
Larry Garfield
f2b8e20c57
Correct service tag name.
2013-01-16 23:57:25 -06:00
Larry Garfield
3319584a06
Wire up route filters by tag in the container.
2013-01-16 23:57:24 -06:00
Larry Garfield
b0a1269f6c
Documentation improvements.
2013-01-16 23:57:24 -06:00
Larry Garfield
dcac21ebe8
Remove more now-unused code.
2013-01-16 23:57:24 -06:00
Larry Garfield
6f83335fc6
Convert MimeTypeMatcher into a RouteFilter, not a PartialMatcher.
2013-01-16 23:57:24 -06:00
Larry Garfield
3b03b7207f
Remove now-redundant NestedMatcher-based code.
2013-01-16 23:57:24 -06:00
Larry Garfield
06ad3b5e76
Configure the new routing system in the DIC so that all requests route through it.
2013-01-16 23:57:24 -06:00
Larry Garfield
c864ab6cfb
Merge the Symfony and Drupal route compilers so that we only need to keep track of one. The Drupal compiler now returns a compiled object that contains all of the Symfony information as well.
2013-01-16 23:57:24 -06:00
Larry Garfield
54740be85c
Prefix with a leading /.
2013-01-16 23:57:24 -06:00
Larry Garfield
35230f21ec
Our UrlMatcher has no need for the constructor parameters, so eliminate them entirely to simplify matters.
2013-01-16 23:57:24 -06:00
Larry Garfield
ed9c2a50f5
Make NullGenerator fail gracefully, since we can't yet avoid it being called at all.
2013-01-16 23:57:24 -06:00
Larry Garfield
99e068c486
Configure the legacy matcher together with a null generator to form a legacy router, which can be included in the Chain Router.
2013-01-16 23:57:24 -06:00
Larry Garfield
b3e0af846d
Add a Null Generator implementation.
2013-01-16 23:57:24 -06:00
Larry Garfield
67cf57fde9
Assemble the new router in the DIC.
2013-01-16 23:57:24 -06:00
Larry Garfield
83c95d7c62
Add a Drupal-overriding UrlMatcher Final Matcher.
2013-01-16 23:57:24 -06:00
Larry Garfield
960f926ebe
Add a route provider object, based off of the old PathMatcher.
2013-01-16 23:57:24 -06:00
webchick
d9e12a26cc
Issue #1890762 by nick_schuch: Fixed Update exception message 'Value is no valid entity.'.
2013-01-16 21:08:27 -08:00
webchick
e5e3445021
Revert "Issue #1875948 by chx, fabpot: set sensible default values for Kernel default directories."
...
The 700 directory permissions are breaking Drush. Temporarily rolling back while we figure that out.
This reverts commit 595459b327
.
2013-01-16 20:41:11 -08:00
webchick
62c93ff8d4
Issue #1253820 by yched, zserno, tim.plunkett, xjm, effulgentsia, plach: Fixed It's impossible to submit no value for a field that has a default value.
2013-01-16 09:37:23 -08:00
webchick
dc8fcbafba
Issue #1875504 by fabpot: Add the possibility to use services as controllers.
2013-01-16 09:30:43 -08:00
Dries
248284df26
Issue #1889826 by tim.plunkett: DefaultFactory::getPluginClass() is very useful and should be public and static.
2013-01-16 11:02:59 -05:00
catch
d049222620
Issue #1876942 by damiankloip, dawehner, tim.plunkett: Use direct methods instead of arrayAccess for display handlers.
2013-01-15 16:34:32 +00:00
catch
7be75b4686
Issue #1814496 by Berdir, deviance, Lars Toomre: Make queue a container service.
2013-01-15 15:35:31 +00:00
catch
189108a113
Issue #1833334 by das-peter, plach, Berdir, fago: EntityNG: integrate a dynamic property data table handling.
2013-01-14 11:10:23 +00:00
catch
626a067d86
Issue #1874134 by fabpot: Renamed the resolver service to controller_resolver().
2013-01-11 11:49:26 +00:00
catch
d67ea27089
Issue #1839078 by dasjo, tim.plunkett, fago: Implement the new entity field API for the email field type.
2013-01-11 11:48:04 +00:00
catch
d672d20367
Issue #1825450 by Berdir, znerol: Use lock service in lock().
2013-01-11 11:14:30 +00:00
webchick
f237e58948
Issue #1701014 by disasm, boztek, heyrocker, sun, xjm: Fixed Validate config object names.
2013-01-11 00:39:25 -08:00
webchick
9e4a19df1c
Issue #1885542 by larowlan, tim.plunkett: Fixed DatabaseControllerNG does not rollback failed ::save() operations.
2013-01-11 00:04:34 -08:00
Jennifer Hodgdon
4824c21934
Issue #1317628 by Albert Volkman, Gaelan, disasm, mjonesdinero, xjm: Clean up for API docs in include files starting with n-z
2013-01-10 15:50:55 -08:00
Jennifer Hodgdon
b554832512
Issue #1884840 by pwolanin: Remove mention of md5 hashes from some code comments
2013-01-10 15:46:58 -08:00
catch
f5d69718ee
Issue #1792536 by chx, Berdir, sun, David_Rothstein: Remove the install backend and stop catching exceptions in the default database cache backend.
2013-01-10 12:08:06 +00:00
webchick
cf7cc519f7
Issue #1356170 by ohnobinki, tim.plunkett: Remove all uses of array_merge_recursive(), or document why they are being used instead of NestedArray::mergeDeep().
2013-01-09 15:58:39 -08:00
webchick
d9a727416e
Issue #1867304 by dawehner, damiankloip: Assess newDisplay method on ViewExecutable.
2013-01-09 11:12:46 -08:00
webchick
97c3ee2be9
Issue #1875970 by yched, swentel: Pass EntityDisplay objects to the whole entity_view() callstack.
2013-01-08 11:16:16 -08:00
Dries
595459b327
Issue #1875948 by chx, fabpot: set sensible default values for Kernel default directories.
2013-01-08 11:46:18 -05:00
Dries
b54a659de1
Issue #1880926 by plach: Fixed Fatal error when retrieving ->original on a BC entity.
2013-01-07 21:21:40 -05:00
catch
67ed2eb4b9
Issue #1880830 by fabpot: Fixed Free performance improvement!.
2013-01-07 13:25:36 +00:00
catch
43658a4ed4
Issue #1308054 by jthorson, brianV: Added an abstract DrupalReadOnlyStreamWrapper that other stream wrappers can extend.
2013-01-07 13:12:52 +00:00
catch
1f4c2cf30f
Issue #1833516 by Berdir, chx, catch, webchick: Add $settings for low-level configuration - move things out of .
2013-01-07 11:45:26 +00:00
catch
6e5d1a09ca
Issue #1874300 by Berdir, swentel: Remove $entity_type argument from field.module functions that receive a single $entity.
2013-01-07 11:22:28 +00:00
webchick
a3461cd22e
Issue #1869250 follow-up by fago: Correct function parameters.
2013-01-04 10:35:27 -08:00
webchick
764d77a432
Issue #1872634 by fabpot: Fixed Added some missing synthetic services that were missing.
2013-01-04 09:51:16 -08:00
webchick
0e90e3e0f3
Issue #1874146 by fabpot: Fixed Moved Twig cache to its own directory.
2013-01-04 09:50:13 -08:00
webchick
c5134bd676
Issue #1879444 by fabpot: Fixed Removed an unneeded factory.
2013-01-04 09:49:17 -08:00
Dries
6e7b1219fe
Issue #1535868 by EclipseGc, tim.plunkett, xjm, Jody Lynn, sdboyer, naxoc, tizzo, effulgentsia, dawehner, disasm, beejeebus: Convert all blocks into plugins.
2013-01-04 12:05:13 -05:00
catch
1de5687b56
Issue #1722882 by EclipseGc, aspilicious, tim.plunkett, fubhy, Berdir: Fixed Plugin CacheDecorator caches globally, ignores request context, and does not specify tags for cache items.
2013-01-03 16:11:42 +00:00
webchick
31d4f1b018
Issue #1806178 by tim.plunkett, beejeebus: Remove code duplication for hook_config_import_()*() implementations of config entities.
2013-01-02 17:17:20 -08:00
catch
80e1ff2c0f
Issue #1792380 by theo_: Fixed DatabaseCondition not cloning SelectQuery value object.
2013-01-02 12:09:57 +00:00
catch
81861b40e7
Issue #1869566 by tim.plunkett, dawehner: Allow any collection of plugins to be lazily instantiated.
2013-01-02 11:56:16 +00:00
catch
8b1a049654
Issue #1831184 by sun, chx: Fixed DatabaseExceptionWrapper completely hides *unexpected* errors.
2013-01-02 11:53:49 +00:00
catch
c96966f079
Issue #1869250 by fago, Berdir, das-peter, YesCT, mradcliffe, fubhy: Various EntityNG and TypedData API improvements.
2013-01-02 11:51:19 +00:00
catch
72b297ffb4
Issue #1187726 by effulgentsia: (followup) clean up service persist mechanism
2012-12-31 21:34:14 +00:00
webchick
17766341f8
Issue #1873442 by fabpot: Fixed Refactored core Twig integration.
2012-12-29 00:54:13 -08:00
webchick
c77cee1c14
Issue #1810386 by plach, YesCT, Bojhan, bforchhammer, Gábor Hojtsy, falcon03: Create workflow to setup multilingual for entity types, bundles and fields.
2012-12-29 00:13:54 -08:00
catch
2288314826
Issue #1852966 by yched, Stalski, zuuperman, swentel: Rework entity display settings around EntityDisplay config entity.
2012-12-28 23:03:17 +00:00
catch
53de739800
Revert "Issue #1852966 by yched, swentel: Rework entity display settings around EntityDisplay config entity."
...
This reverts commit 8ad67af2e0
.
2012-12-28 23:02:37 +00:00
catch
bb2b90af3f
Issue #1874694 by damiankloip, chx: DrupalUnitTestBase breaks state().
2012-12-28 22:56:51 +00:00
catch
8ad67af2e0
Issue #1852966 by yched, swentel: Rework entity display settings around EntityDisplay config entity.
2012-12-28 19:05:41 +00:00
catch
adc8b1e725
Issue #1849752 by effulgentsia, Berdir: Abstract non-Drupal-specific parts of AnnotatedClassDiscovery into a Drupal\Component base class.
2012-12-27 22:24:32 +00:00
webchick
c2fb90f953
Issue #1872640 by fabpot: Renamed the dispatcher service to event_dispatcher().
2012-12-26 10:20:15 -08:00
webchick
532ea17f07
Issue #937284 by chx, tim.plunkett, Berdir, Damien Tournoud: Fixed DEADLOCK errors on MergeQuery INSERT due to InnoDB gap locking when condition in SELECT ... FOR UPDATE results in 0 rows.
2012-12-21 21:09:52 -08:00
Dries
3f4d8bc40a
Issue #1826688 by klausi | mitchell: Added REST module: PATCH/update.
2012-12-19 17:17:59 -05:00
Dries
2aa87d3993
Issue #1778478 by dstol, cam8001, Albert Volkman, japicoder, ACF: Convert fast_404 to CMI.
2012-12-17 16:56:35 -05:00
catch
b9be32ec79
Issue #1187726 by beejeebus: remove dead global $conf declaration.
2012-12-17 11:09:56 +00:00
Dries
bc93618d2b
Issue #1629994 by Aron Novak, oadaeh, yurtboy: Fixed Mail functions reference obsolete RFC.
2012-12-14 21:42:57 -05:00
Dries
fec72c2224
Issue #1864360 by oadaeh: Clean up some inconsistencies with @link...@endlink.
2012-12-14 21:26:51 -05:00
catch
3cbb4d38b1
Issue #1853226 by yched, fubhy, tim.plunkett: Fixed Improve performance of CacheDecorator.
2012-12-15 01:07:11 +00:00
catch
bc801aab00
Issue #1187726 by chx, Berdir, Fabianx, sun: Fixed Add caching for configuration / rework config object loading.
2012-12-14 22:30:50 +00:00
Dries
6d29b0ee32
Issue #1846000 by damiankloip, linclark, dawehner: Add serializer support for JSON and AJAX.
2012-12-14 13:29:50 -05:00
Dries
f03337ade5
Issue #1825044 by sun: turn contact form submissions into full-blown Contact Message entities, without storage.
2012-12-14 11:16:41 -05:00
Dries
3250f84ace
Issue #1849570 by das-peter, marcingy: remove file.inc ties and fix unlink while at it in MTimeProtectedFastFileStorage .
2012-12-14 10:20:02 -05:00
catch
6810dfa827
Issue #1864292 by effulgentsia: Fixed Installation in non-English language fails.
2012-12-13 13:04:37 +00:00
catch
380cdbc6f1
Issue #1849792 by damiankloip: Abstract usage of 'config_prefix' on ConfigStorageController into getConfigPrefix method.
2012-12-13 12:14:32 +00:00
catch
5c16622ac2
Issue #1851180 by heyrocker: Add deleteAll() function to Drupal\Core\Config\StorageInterface.
2012-12-13 12:05:46 +00:00
Dries
4db1986446
Issue #1849480 by tim.plunkett, sdboyer: Fixed Allow ConfigEntity classes to control how they are saved.
2012-12-11 13:52:15 -05:00
catch
f101830de6
Issue #1862024 by katbailey: Remove all references to hook_url_inbound_alter() as it is no longer invoked.
2012-12-10 13:51:05 +00:00
webchick
bebb345917
Issue #1848964 by tim.plunkett: EntityManager should process its definitions before altering them.
2012-12-08 15:10:13 -08:00
webchick
936cbb9144
Issue #1804688 by Sutharsan, YesCT, clemens.tolboom, Gábor Hojtsy, webflo, Jose Reyero: Download and import interface translations.
2012-12-07 13:32:32 -05:00
Dries
9a8a42d1a9
Issue #1833440 by scor, klausi, Crell: Added Implement partial matcher based on content negotiation MIME type.
2012-12-07 12:54:51 -05:00
webchick
4b88391c24
Issue #1855204 by g.oechsler, effulgentsia: Fixed RouteBuilder needs to respect route options set in yaml file.
2012-12-05 20:07:47 -05:00
catch
5221886921
Issue #1849700 by katbailey, effulgentsia: Fixed DrupalKernel's container.modules param should contain module filenames, not full namespace paths.
2012-12-03 17:20:24 +00:00
catch
5aa641ae03
Issue #1279680 by tmsimont: Allow NULL as a watchdog() argument while retaining array type hinting.
2012-12-03 13:08:48 +00:00
webchick
5058fa3803
Issue #1447736 by rbayliss, mikeytown2, effulgentsia, kim.pepper, Fabianx, boombatower: Adopt Guzzle library to replace drupal_http_request().
2012-11-29 17:26:33 -08:00
webchick
18902b2d9b
Issue #203955 follow-up by Shawn DeArmond: Fix installation docs and field description to note that database now can be created at install time.
2012-11-29 15:29:15 -08:00
catch
e96e573ce4
Revert "Revert the revert of Issue #1849004 by chx, xjm: One Service Container To Rule Them All. It was innocent after all."
...
This reverts commit a1638b87eb
.
2012-11-29 20:55:21 +00:00
catch
a1638b87eb
Revert "Issue #1849004 by chx, xjm: One Service Container To Rule Them All."
...
This reverts commit 761ac67906
.
2012-11-29 20:41:30 +00:00
catch
761ac67906
Issue #1849004 by chx, xjm: One Service Container To Rule Them All.
2012-11-29 20:26:37 +00:00
webchick
aa676a59dc
Issue #1854274 by jibran: Fixed DateTimePlus uses SELF instead of self; breaks on Windows.
2012-11-29 11:19:04 -08:00
webchick
be694ba944
Issue #1571632 by cosmicdreams, marcingy, justafish, chx, KarenS, aspilicious, disasm, swentel, dawehner, rvilar: Convert regional settings to configuration system.
2012-11-28 23:37:55 -08:00
catch
b09642317a
Issue #1774332 by c960657: Better handling of invalid/expired cache entries.
2012-11-28 21:36:29 +00:00
catch
7e8d99b5b6
Issue #1376778 by c960657 | andypost: Added Consistent 'duplicate key' detection in core.
2012-11-28 11:38:42 +00:00
catch
c99f461d37
Issue #1848968 by Berdir: Fixed Too many checksum tag queries executed by the cache backend.
2012-11-27 20:44:05 +00:00
webchick
d26e8a7d57
Issue #1168246 by sun, mgifford, Manuel Garcia, mbrett5062, ry5n, Everett Zufelt, nod_, aspilicious, deviantintegral, tim.plunkett: Freedom For Fieldsets! Long Live The DETAILS.
2012-11-26 23:07:37 -08:00
webchick
8019e5593c
Issue #1848072 by katbailey, sun: Fixed Path alias manager hardcodes keyvalue.database instead of using the generic factory.
2012-11-26 21:55:40 -08:00
webchick
a23fde58b7
Revert "Issue #1687864 by sun, BarisW, mgifford, sebsebseb123: Bring theme_breadcrumb() up to WCAG 2.0 AA."
...
Note to self: Don't commit from the same install you're testing on. ;)
This reverts commit cf860477f4
.
2012-11-26 10:30:36 -08:00
catch
c37973bb27
Issue #1793520 by disasm, klausi, tnightingale, Crell: Add access control mechanism for new router system.
2012-11-26 18:00:36 +00:00
webchick
cf860477f4
Issue #1687864 by sun, BarisW, mgifford, sebsebseb123: Bring theme_breadcrumb() up to WCAG 2.0 AA.
2012-11-26 09:51:32 -08:00
webchick
fd846046df
Issue #1812866 follow-up by mkadin, effulgentsia, Wim Leers: Fixed Rebuild the server side AJAX API.
2012-11-26 09:07:06 -08:00
catch
3ee3f5ad54
Issue #1764278 by tstoeckler, tim.plunkett, yched: Fixed Run PluginManagerBase::processDefinition() in a ProcessDecorator.
2012-11-26 10:34:46 +00:00
catch
cde72309be
Issue #1846376 by effulgentsia, amateescu | katbailey: Fixed Namespaces for disabled modules are registered during the first request after a module is disabled.
2012-11-26 10:32:47 +00:00
Dries
bb3b4b996a
Issue #1463624 by znerol, marcingy, Rob Loach, cosmicdreams: Move password.inc into DIC.
2012-11-24 09:12:43 +01:00
Dries
3d2c548b41
Issue #1764232 by yched, tim.plunkett: CacheDecorator provides no way to clear cached definitions.
2012-11-23 20:58:38 +01:00
catch
ca820c7ef4
Issue #1842726 by sun: Fixed Transliteration component must not contain drupal_alter().
2012-11-22 11:16:12 +00:00
catch
793974d922
Issue #1795186 by paranojik, marcingy, cweagans, Lars Toomre: Make flood storage pluggable.
2012-11-22 11:07:09 +00:00
catch
e9e8c8f854
Issue #1843084 by effulgentsia, Crell: Convert user/register to Route.
2012-11-22 10:56:57 +00:00
catch
553ed06a17
Issue #1784312 by chx, katbailey, msonnabaum, Fabianx: Stop doing so much pre-kernel bootstrapping.
2012-11-22 10:53:19 +00:00
webchick
8fcd5546ba
Issue #1831444 by das-peter, Berdir, andypost: Added EntityNG: Support for revisions for entity save and delete operations.
2012-11-21 14:07:53 -08:00
webchick
4399ae73b4
Issue #1837118 by chx, Berdir: Fixed UPDATE foo SET bar=(SELECT...) is not supported.
2012-11-21 11:46:23 -08:00
webchick
6ed4e11b7a
Issue #1238484 by mrfelton, ry5n, aspilicious, Bojhan, Xano, nod_, rootatwc, effulgentsia, chx, sun: Ability to mark the form buttons to be of a specific type (so that they can be styled differently).
2012-11-21 11:37:44 -08:00
webchick
581dac09c3
Issue #1696660 by fubhy, xjm, fago, webflo: Added an entity access API for single entity access.
2012-11-21 11:16:38 -08:00
Dries
a231532dff
Issue #120955 by moshe weitzman, Pancho, cburschka, sym, alexpott: Integrate Diff into Core.
2012-11-21 12:56:16 -05:00
Dries
c260589355
Issue #1833440 by scor, Crell, klausi: Implement partial matcher based on content negotiation MIME type.
2012-11-21 12:51:45 -05:00
Dries
e3d863834c
Issue #1269742 by katbailey, beejeebus, pwolanin, g.oechsler, ksenzee: Make path lookup code into an pluggable class.
2012-11-21 10:29:04 -05:00
catch
a5a2ce92f7
Issue #203955 by pdrake, webchick, andrewsl, iflista: Create database at installation time if the db user has appropriate permissions.
2012-11-20 10:57:13 +00:00
Dries
a6e7bf229d
Issue #1830844 by David Strauss: Fixed MTimeProtectedFastFileStorage permissions setting needs to be more liberal.
2012-11-19 21:19:07 -05:00
catch
53656a33e0
Issue #1774388 by sun, chx, tim.plunkett: Unit Tests Remastered™.
2012-11-19 11:39:30 +00:00
Dries
95feb071fb
Issue #1812866 by mkadin, effulgentsia: rebuild the server side AJAX API.
2012-11-16 18:05:11 -08:00
catch
60e3f5c16f
Issue #567832 by jhodgdon, Damien Tournoud, amateescu: Transliteration in core.
2012-11-16 13:44:28 +00:00
webchick
2825cc0ce9
Issue #1763974 follow-up by neclimdul, sun: Put in temporary entity info hook shiv until conversions are complete.
2012-11-15 21:24:19 -08:00
webchick
536a61b890
Issue #1801570 by effulgentsia, klausi, Crell, disasm: DX: Replace hook_route_info() with YAML files and RouteBuildEvent.
2012-11-15 20:03:50 -08:00
catch
f9ce687f55
Revert "Issue #1801570 by effulgentsia, klausi, Crell: DX: Replace hook_route_info() with YAML files and RouteBuildEvent. This unintentionally broke REST module tests."
...
This reverts commit 7bf7eb8343
.
2012-11-14 22:29:17 +00:00
Dries
7bf7eb8343
Issue #1801570 by effulgentsia, klausi, Crell: DX: Replace hook_route_info() with YAML files and RouteBuildEvent.
2012-11-14 13:51:52 -05:00
webchick
af608d7002
Issue #1825466 by justafish, sun, alexpott: Allow NestedArray::mergeDeepArray() to preserve integer keys for the purpose of merging config data.
2012-11-14 02:15:58 -08:00
webchick
e11af74703
Issue #1827424 by EclipseGc, tim.plunkett, Fabianx, dawehner: Fixed Parse annotations recursively.
2012-11-13 20:24:50 -08:00
catch
6f32687e54
Issue #1831350 by chx, sun: Break the circular dependency between bootstrap container and kernel.
2012-11-13 23:23:23 +00:00
Jennifer Hodgdon
85996b000a
Issue #1831702 by miro_dietiker: Correct docs for CacheArray methods and overrides
2012-11-13 08:24:55 -08:00
Jennifer Hodgdon
3040705084
Issue #1831646 by miro_dietiker: Make docs comply with rename of DrupalCacheArray to CacheArray
2012-11-10 07:14:25 -08:00
catch
0ba152a90f
Issue #1831364 by pdrake: Inline drupal_fast_404() function.
2012-11-08 23:03:10 +00:00
webchick
719023ff58
Issue #1832258 by kotnik: Fixed Missing word in EntityManager documentation.
2012-11-07 02:30:02 -08:00
webchick
07030912aa
Issue #1828408 by Amitaibu: Fixed Re-add addTag() and AddMetaData() to EFQ.
2012-11-07 01:16:21 -08:00
webchick
26bd9acba1
Issue #1802278 by KarenS, andypost: Added a Date component to core.
2012-11-06 01:45:17 -08:00
webchick
99bef1de6c
Issue #1814864 by linclark, effulgentsia: Added Provide way to register serialization classes.
2012-11-06 01:18:39 -08:00
webchick
265fe4e751
Issue #1697256 by heyrocker, alexpott, sun, xjm, webchick: Create a UI for importing new configuration.
2012-11-03 21:48:01 -07:00
webchick
12993dd636
Issue #1188388 by plach, peximo, YesCT | Gábor Hojtsy, fago, webchick, Bojhan, podarok, cosmicdreams, Berdir, aspilicious, bforchhammer, penyaskito: Added Entity translation UI in core.
2012-11-03 19:38:49 -07:00
catch
669eaa291e
Issue #1829942 by amateescu: Fixed Cloning an entity query doesn't clone its conditions.
2012-11-03 19:40:52 +00:00
catch
92804b4c46
Issue #1446650 by superspring: After installing module display link to 'install another module'.
2012-11-03 19:15:08 +00:00
Dries
ee2acd68cc
Issue #1696786 by Fabianx, jenlampton, stevector, steveoliver, jwilson3, amateescu, chx: Integrate Twig into core: Implementation issue.
2012-11-03 10:36:10 -07:00
Dries
19ad9669ba
- Issue #1751328 by linclark, Hanspolo: requests for JSON result in fatal error.
2012-11-02 10:25:59 -07:00
webchick
7bd2274ba4
Issue #1811372 by sdboyer: Fixed FileStorage should utilize late static binding for inheritance friendliness.
2012-11-01 23:41:10 -07:00
webchick
a213f3102a
Issue #1816582 by klausi, Crell: Fixed Fatal error in exception handler on 405 HTML responses.
2012-11-01 15:15:56 -07:00
webchick
e76af8e7a0
Issue #1774388 follow-up by tim.plunkett: Fixed broken 8.x tests.
2012-10-31 20:52:43 -07:00
catch
d6075b5f91
Issue #1822150 by sun: Fixed EntityStorageControllerInterface::delete() should accept an array of entities, not IDs.
2012-10-31 23:19:29 +00:00
webchick
76a157fe32
Issue #1763974 by tim.plunkett, EclipseGC, berdir, xjm, neclimdul, FabianX: Convert entity type info into plugins.
2012-10-30 13:37:18 -07:00
webchick
a61f62b4c6
Issue #1798944 by kbasarab, sun, tim.plunkett, andypost: Convert config_test() entity forms to EntityFormController.
2012-10-30 12:05:58 -07:00
catch
0142ce1f40
Issue #1809206 by katbailey, chx, sun, Berdir: Fixed KeyValueFactory hard-codes DatabaseStorage.
2012-10-30 11:00:41 +00:00
catch
b9c4744e02
Issue #1801726 by chx, bojanz, plach: EntityFieldQuery v2.
2012-10-30 10:41:42 +00:00
webchick
3b4548f90a
Issue #1825568 by alexpott, fago, Berdir: Fixed Random test failure in Drupal\system\Tests\Entity\EntityFormTest.
2012-10-29 12:38:10 -07:00
webchick
145044ace8
Issue #1824484 by tim.plunkett: Allow config storage controllers to define their own properties.
2012-10-29 11:57:57 -07:00
catch
b2ca0f4148
Issue #1825568 by alexpott: Fixed Random test failure in Drupal\system\Tests\Entity\EntityFormTest.
2012-10-29 11:57:49 +00:00
webchick
fce50c0bd4
Issue #1716790 by attiks, sun, chx, mcjim: Fixed iOS 4 and Android 2.3 and below (webkit based browsers) return 'Unsupported Media Type' on XML in stock 8.x.
2012-10-28 13:15:50 -07:00
webchick
37241af9eb
Issue #1824400 by gapple, katbailey: Rename the service tag 'kernel.event_subscriber()' to just 'event_subscriber()'.
2012-10-27 15:20:35 -07:00
webchick
a2c97c9b7f
Issue #1824768 by vijaycs85: Convert drupal_test_email_collector() variable to CMI system.
2012-10-27 14:25:45 -07:00
webchick
95ce944803
Issue #1708692 by xjm, effulgentsia, tim.plunkett, fubhy, Berdir, chx: Fixed Bundle services aren't available in the request that enables the module.
2012-10-27 12:20:50 -07:00
webchick
0bba5d0643
Issue #1798222 by Berdir: Fixed Use lock around router rebuild to avoid race condition.
2012-10-26 09:11:19 -07:00
webchick
2205070015
Revert "Issue #1813832 by andypost, xjm, sun: Fixed Entity wrongly checks existence of ID in isNew() method."
...
This reverts commit 453b2517f5
.
This broke testbot. Reverting temporarily.
2012-10-23 21:30:10 -07:00
webchick
453b2517f5
Issue #1813832 by andypost, xjm, sun: Fixed Entity wrongly checks existence of ID in isNew() method.
2012-10-23 19:56:52 -07:00
webchick
f711ad88d8
Issue #1811540 by xjm: Fixed Prevent @endlink from being parsed as an annotation.
2012-10-23 19:52:37 -07:00
webchick
a4d4a17c1c
Issue #1816916 by tim.plunkett: Recursively merge in defaults.
2012-10-23 15:18:36 -07:00
catch
3b667f26cd
Issue #1651206 by pounard, fubhy: Added a cache chain implementation.
2012-10-23 11:22:58 +01:00
Dries
35b78b8cb2
Issue #1818692 by mbrett5062: Improved error message.
2012-10-22 16:55:11 -04:00
Dries
0471b498f5
#1813966 by Sylvain Lecoy: Remove __construct() from interfaces definition.
2012-10-22 16:53:11 -04:00
catch
afc4b89945
Issue #1706064 by chx, katbailey, effulgentsia, podarok et al: Compile the Injection Container to disk.
2012-10-22 10:14:49 +01:00
Jennifer Hodgdon
deab5f5173
Issue #1814904 by kattekrab: Fix up a/an on UUID documentation
2012-10-17 09:40:55 -07:00
webchick
1f37e57598
Revert "Issue #1813832 by andypost: Fixed Allow use '0' as id for entity."
...
This reverts commit f8673ac410
.
Needs more discussion.
2012-10-16 14:17:41 -07:00
Dries
f8673ac410
Issue #1813832 by andypost: Fixed Allow use '0' as id for entity.
2012-10-16 14:23:44 -04:00
Dries
c862b7158a
Issue #1812440 by Sylvain Lecoy: remove __construct() from EntityInterface.
2012-10-16 14:04:38 -04:00
webchick
e9ca778b53
Issue #1026616 by fgm, Berdir, Dave Reid, fago: Implement an entity render controller.
2012-10-13 23:40:03 -07:00
webchick
ca64740b0b
Issue #1723892 by Berdir, Pancho, das-peter, fago: Support for revisions for entity save and delete operations.
2012-10-13 22:44:26 -07:00
webchick
6d3b326484
Issue #843114 by sun, quicksketch, Berdir, c960657, Crell: Fixed DatabaseConnection::__construct() and DatabaseConnection_mysql()::__construct() leaks (Too many connections).
2012-10-13 21:09:36 -07:00
catch
a5313d6a54
Issue #1808112 by sun: Fixed Missing method visibility, bogus phpDoc and coding style in Cache backend classes.
2012-10-11 11:14:07 +01:00
webchick
a964b7aebd
Issue #1803338 by chx, katbailey, jthorson, Crell: Fixed 403 and 404 pages call error_log() cluttering server error logs.
2012-10-10 19:25:09 -07:00
webchick
89cd70d136
Issue #1778942 by yched, tstoeckler, andypost: Fixed Discovery::getDefinition() / getDefinitions() : inconsistent return values for 'no result.
...
git commit -am Issue
2012-10-09 21:21:09 -07:00
webchick
edb9ffa33e
Issue #1805444 by xjm: GarbageCollection followups to TempStore.
2012-10-09 21:05:28 -07:00
webchick
2e6538c3a9
Issue #1717678 by andypost, Berdir, attiks: Fixed Entity::createDuplicate() does not account for uuid property.
2012-10-09 19:43:07 -07:00
webchick
18e0fca320
Issue #1788462 by samhassell: Remove references to 'active store' in comments for configuration system.
2012-10-09 19:28:56 -07:00
catch
9fbe74405a
Issue #1608842 by chx, alexpott, sun, effulgentsia, beejeebus, tim.plunkett et al: Replace list of bootstrap modules, enabled modules, enabled themes, and default theme with config.
2012-10-09 21:40:35 +01:00
catch
c98eebe464
Issue #1807058 by sun: Fixed Config stores a NULL value as an array.
2012-10-09 16:41:59 +01:00
catch
fe77630a7c
Issue #1785560 by sun, alexpott, tim.plunkett, andypost: Remove the sorting of configuration keys.
2012-10-09 16:24:40 +01:00
webchick
93173604f3
Issue #1805776 by psynaptic, Eric_A, rbayliss: Fixed Fatal error: Class 'Drupal\Core\Template\ArrayIterator' not found in core/lib/Drupal/Core/Template/Attribute.php.
2012-10-08 09:29:17 -07:00
webchick
20f5e2b1bd
Issue #1642062 by tim.plunkett, xjm, chx, merlinofchaos, damiankloip, dawehner, Berdir, aspilicious, Fabianx: Add TempStore for persistent, limited-term storage of non-cache data.
2012-10-06 11:22:39 -07:00
Dries
a67e53713b
Issue #1802834 by tim.plunkett: Added Use #type => operations for EntityListController::buildOperations().
2012-10-05 11:58:29 -04:00
Dries
a834496e18
Issue #1804024 by msonnabaum: Added Remove constructor from k/v interface.
2012-10-05 11:47:18 -04:00
Jennifer Hodgdon
2944c1cee2
Issue #1326664 by Lars Toomre, Albert Volkman, sven.lauer, tim.plunkett: API docs cleanup for parts of system module and other files
2012-10-04 08:28:39 -07:00
webchick
08c3dc159d
Issue #1705702 follow-up by tim.plunkett: Instantiate definitions variable to avoid notices.
2012-10-03 23:49:36 -07:00
webchick
83a8f3fe4d
Oh hai. How about ALL THE FILES?
2012-10-03 22:42:38 -07:00
webchick
df56f3fea4
Issue #1705702 by dawehner, damiankloip: Added Provide a way to allow modules alter plugin definitions.
2012-10-03 22:02:44 -07:00
catch
d7fc7b6a0a
Issue #1393392 by c960657, fubhy: Convert prefix cache clears to cache tags, then remove support for them.
2012-10-03 22:06:11 +01:00
Jennifer Hodgdon
6821b3c37d
Issue #1382222 by Albert Volkman: Small docs cleanup regarding PHP chmod
2012-10-02 09:43:24 -07:00
Larry Garfield
bf586d4f33
Add priority support to partial matchers in a nested matcher.
2012-10-01 17:01:21 -07:00
Larry Garfield
854a48bf6b
Remove workarounds for Symfony limitations that have been fixed.
2012-10-01 17:01:21 -07:00
Larry Garfield
e2f99d4ec8
Properly escape SQL table.
2012-10-01 17:01:21 -07:00
Larry Garfield
001c75b25e
Various and sundry documentation formatting fixes.
2012-10-01 17:01:21 -07:00
Larry Garfield
0ea8230787
Split handling of old and new style subrequests to avoid empty or inceptioned pages.
2012-10-01 17:01:21 -07:00
Larry Garfield
126bb1903f
Remove no-longer-needed RouterListener subclass. We can use the Symfony one directly now.
2012-10-01 17:01:20 -07:00
larowlan
0703718bcd
Various documentation and whitespace fixes.
2012-10-01 17:01:20 -07:00
Lin Clark
fdcd2d2a73
Fixed old style subrequests by running through drupal_render_page.
2012-10-01 17:01:19 -07:00
Larry Garfield
e2c30c933b
Adjust ViewSubscriber's subrequest handling again for render API.
2012-10-01 16:57:24 -07:00
Larry Garfield
67fdbebdaf
Don't render subrequest as a full page, just pass them through normal drupal_render().
2012-10-01 16:57:24 -07:00
Larry Garfield
8504d42979
Allow a trailing / to still match as if it weren't there.
2012-10-01 16:57:24 -07:00
Larry Garfield
fa58bbefad
Documentation fixes.
2012-10-01 16:57:24 -07:00
Larry Garfield
ce54838752
Fix handling of default values for placeholders.
...
In order to make default placeholders work, we had to modify the fit and path outline
routines to ignore them. That also necessitated switching back to the original
outline/ancestors logic from Drupal 7, which with a very slight tweak to the masks
and '/'-prefix on paths still works just as it should.
2012-10-01 16:57:24 -07:00
Larry Garfield
fac9b6ed0e
Make use of the compiled regex when filtering routes by path, to account for default values and regex filters on placeholders.
2012-10-01 16:57:23 -07:00
Larry Garfield
a3deb0349d
Properly render legacy subrequests.
2012-10-01 16:57:23 -07:00
Larry Garfield
80bc8856f5
Remove long-dead code.
2012-10-01 16:57:23 -07:00
Larry Garfield
02fd4b2334
Port the regex path matching from Symfony to our CompiledRoute class so that we can match placeholder-using paths.
2012-10-01 16:57:23 -07:00
Larry Garfield
820a633cce
Documentation fixes.
2012-10-01 16:57:23 -07:00
Larry Garfield
867e7707f5
Pass the _content callback as a proper controller through HttpKernel::forward().
2012-10-01 16:57:23 -07:00
Larry Garfield
f6bf963097
Move router rebuilding into an object so we can break it up more easily.
2012-10-01 16:57:22 -07:00
Larry Garfield
404e74e187
Make the new HtmlPageController Container-aware.
2012-10-01 16:57:22 -07:00
Larry Garfield
b9d5689987
Introduce a default controller for pages with a _content request attribute.
2012-10-01 16:57:22 -07:00
Katherine Bailey
c17d7dce9d
Updating some docblocks
2012-10-01 16:57:22 -07:00
Katherine Bailey
f368409fcc
The database service has been added to the DIC in core so ended up being duplicated here
2012-10-01 16:57:22 -07:00
Larry Garfield
c2e1a308de
Flush the dumper after each use, so that we don't end up re-saving old routes.
2012-10-01 16:57:21 -07:00
Larry Garfield
b1fd850de2
Register the MatcherDumper with the DIC.
2012-10-01 16:57:21 -07:00
Larry Garfield
d4641c4a5b
Don't count the leading / as a part when counting the elements in the path.
2012-10-01 16:57:21 -07:00
Larry Garfield
ac10076ccf
Wire the new PartialMatcher and PathMatcher into the routing configuration.
2012-10-01 16:57:21 -07:00
Larry Garfield
a6d59f6d18
Run LegacyUrlMatcher through ChainMatcher. That necessitates making ChainMatcher temporarily context-aware.
2012-10-01 16:57:20 -07:00
Larry Garfield
1bf98066ba
Convert LegacyUrlMatcher to use RequestMatcherInterface rather than UrlMatcherInterface.
2012-10-01 16:57:20 -07:00
Larry Garfield
66a2409303
Add a basic ChainMatcher, modeled on Symfony CMF's ChainRouter.
2012-10-01 16:57:20 -07:00
Larry Garfield
e31cf8274d
Add tests for the path matcher, both outline-based paths and not-found paths.
2012-10-01 16:57:20 -07:00
Larry Garfield
8ae0b323f2
Don't serialize the compiled route object along with the route.
2012-10-01 16:57:20 -07:00
Larry Garfield
f0c3b571e7
Make the mock FinalMatcher a real matcher, since it's useful on its own.
2012-10-01 16:57:19 -07:00
Larry Garfield
7a8d3df9a6
Make the HttpMatcher throw a MethodNotAllowedException if it filters out all possible routes.
2012-10-01 16:57:19 -07:00
Larry Garfield
0e4b90e09b
Add a base class for partial matchers.
2012-10-01 16:57:19 -07:00
Larry Garfield
329fde3f41
Document that PartialMatcherInterface::setCollection() is chainable.
2012-10-01 16:57:18 -07:00
Larry Garfield
a3e002dbe4
Fix documentation to clarify that a FinalMatcher returns attributes, not a Route or RouteCollection.
2012-10-01 16:57:18 -07:00
Larry Garfield
d372d6de99
Complete exact-path matching.
2012-10-01 16:57:18 -07:00
Larry Garfield
40e5531952
Enforce the Drupal RouteCompiler for all routes dumped with our dumper.
2012-10-01 16:57:18 -07:00
Larry Garfield
e9a95aa1fb
Add a skeleton for a Path matcher.
...
The PathMatcher matches against the database table structure generated by the
MatcherDumper. As of this commit the lookup is not yet implemented. It's still
in testing.
2012-10-01 16:57:18 -07:00
Larry Garfield
db11de09c8
Rename UrlMatcherDumper to MatcherDumper, since we use more than just the Url for matching.
2012-10-01 16:57:18 -07:00
Larry Garfield
806ff4acc8
Add a mechanism for a NestedRouter.
...
A Nested router is a series of partial routers, each of which whittle down a RouteCollection
until it is left with a single matching route. That single route is the final route that
matches the request.
2012-10-01 16:57:18 -07:00
Larry Garfield
b0f90a1046
Add a basic framework for stackable partial matching.
2012-10-01 16:57:17 -07:00
Larry Garfield
81c3bf6dff
Make CompiledRoute its own class rather than extending Symfony's CompiledRoute.
2012-10-01 16:57:17 -07:00
Larry Garfield
f14521489a
Add ablity to dump a route collection to the database.
2012-10-01 16:57:17 -07:00
Larry Garfield
2ed208b1e0
Add pattern outline generation to the route compilation.
2012-10-01 16:57:17 -07:00
Larry Garfield
a524a35d1d
Add basic route compilation mechanism.
2012-10-01 16:57:17 -07:00
Larry Garfield
2c79c025d2
Copy in old dumping logic. Still being refactored.
2012-10-01 16:57:17 -07:00
Larry Garfield
eba77ad5c6
Add a basic dumper object.
...
This is not yet complete, but it can have routes added to it and retrieved from it.
2012-10-01 16:57:17 -07:00
catch
2d264b5cbb
Issue #1145080 by David_Rothstein, Noe_, drewish, hosef, bigjim: Fixed SelectQuery::countQuery() incompatible with UNION queries.
2012-10-01 14:14:04 +01:00
webchick
93ce8cb0f1
Issue #1796604 by andypost: Fixed Make constructor parameters consistent.
2012-09-30 20:55:09 -04:00
webchick
4ecc679823
Issue #1781372 by tim.plunkett, xjm, sun, damiankloip, andypost, Jelle_S, Gábor Hojtsy: Change notice: Add an API for listing (configuration) entities.
2012-09-30 16:48:46 -04:00
webchick
92a9506e63
Issue #1798420 by tim.plunkett: Document and consider renaming AbstractStorage.
2012-09-30 13:07:23 -04:00
webchick
e112c456a7
Issue #1798382 by Berdir: Fixed Random Test failures in Entity translation tests.
2012-09-30 12:35:34 -04:00
Dries
6824ba0ed7
Issue #1696640 by fago, effulgentsia, tim.plunkett, dixon_, plach: Add a uniform Entity Property API.
2012-09-28 13:00:24 -04:00
Jennifer Hodgdon
2a68684092
Issue #1793990 by -enzo-, socketwench: Partial cleanup for Config class documentation
2012-09-27 08:38:57 -07:00
catch
f9afde4181
Issue #1796278 by chx: Remove leftover debug.
2012-09-27 11:42:29 +01:00
catch
1f86ba60da
Issue #1785974 by tim.plunkett, alexpott, sun: Move ConfigEntity into a Core component.
2012-09-26 17:44:46 +01:00
Dries
6ef8765849
Issue #1790882 by beejeebus, sun: allow to store value FALSE in the key value store.
2012-09-24 17:00:37 -04:00
catch
8be3d3e2de
Issue #1691952 by plach, Berdir: Make EntityFieldQuery work with multilingual properties.
2012-09-20 10:25:58 +01:00
catch
8337955d48
Issue #1175054 by msonnabaum, chx, sun, tim.plunkett, arlinsandbulte, beejeebus: Add a storage (API) for persistent non-configuration state.
2012-09-20 10:25:24 +01:00
webchick
91c41b3f37
Issue #1738368 by Schnitzel, YesCT, Gábor Hojtsy, c31ck, sun, plach: Fixed Not possible to use the entity getter to retrieve non-translatable field values.
2012-09-19 23:15:55 -07:00
catch
768dfcd9cf
Issue #1774134 by larowlan, amateescu: Remove BC layer for lock API.
2012-09-17 10:49:18 +01:00
webchick
09b998f131
Issue #1777430 by Crell, sun, tim.plunkett: Fixed Allow for ContainerAware controllers.
2012-09-12 23:16:39 -07:00
catch
f556c0b023
Issue #1760786 by sun: Move entity system 'back' into a Drupal\Core component.
2012-09-12 10:18:04 +01:00
catch
31909ee8ae
Issue #1777430 by Crell, sun: Fixed Allow for ContainerAware controllers.
2012-09-11 15:10:24 +01:00
webchick
64d0af8c50
Issue #1658842 by penyaskito, attiks, webflo: Added Introduce a translations:// stream wrapper to access the .po file directory.
2012-09-06 23:26:10 -07:00
webchick
7e97629745
Issue #1768484 by dagmar, sun: Fixed Indentation in YAML files violates Drupal coding standards.
2012-09-04 13:58:37 -07:00
webchick
f1cde31fa5
Issue #1702080 follow-up by sun: PHPDoc fix.
2012-09-04 13:17:40 -07:00
catch
8f785ff8de
Issue #1637478 by alexpott, pounard, catch, fubhy: Fixed Add a PHP array cache backend.
2012-09-04 15:00:37 +01:00
catch
4b5fad5475
Issue #1702080 by sun, chx: Added Introduce canonical FileStorage + (regular) cache.
2012-09-04 14:51:51 +01:00
catch
4f37cf0255
Issue #1700382 by Albert Volkman, cam8001: Replace remaining references to drupal_attributes() with new Attributes().
2012-09-04 14:32:47 +01:00
catch
7e54f17b79
Issue #1713564 by alexpott, sun: Make Config\FileStorage instantiate Yaml\Dumper and Yaml\Parser only once.
2012-09-03 11:56:01 +01:00
webchick
de473408a6
Issue #1742958 by DamienMcKenna, jhodgdon: Fixed All spellings of URI should be uppercase.
2012-09-01 21:50:06 -07:00
webchick
af7a3a8d3e
Issue #1724252 by sun: Replace /sites/all/* with top-level directories.
2012-08-31 18:01:32 -07:00
catch
2d4afa9c50
Issue #1730774 by beejeebus, sun: Untangle Cache\DatabaseBackend from procedural database.inc functions to make it available in early bootstrap.
2012-08-31 13:07:10 +01:00
catch
b65fd7feb6
Issue #1541674 by Berdir, Tor Arne Thune, sun, plach, dixon_, tim.plunkett: Remove the registry.
2012-08-31 11:03:05 +01:00
webchick
a2215bf8b5
Issue #1739808 by Berdir, salvis: Fixed Notice: Undefined index: file in Drupal\Core\Database\Log->findCaller().
2012-08-30 18:53:47 -07:00
webchick
316c1f4a7a
Issue #1468328 by Berdir: Move file entity info, managed file, and file usage functionality into File module.
2012-08-30 18:27:21 -07:00
catch
ca37934863
Issue #1750980 by nlisgo: Fixed use Exception; missing in core/lib/Drupal/Core/Utility/UpdateException.php.
2012-08-28 17:01:14 +01:00
webchick
a642d32c7c
Issue #1759152 by katbailey: Add a database service to the DIC.
2012-08-28 00:48:40 -07:00
catch
ea1b955192
Issue #1748880 by mikeytown2: Only clear the stat cache for the files we care about.
2012-08-27 22:40:39 +01:00
webchick
4a677afc98
Issue #1754142 by Damien Tournoud: Move CACHE_PERMANENT out of bootstrap.inc.
2012-08-26 14:27:30 -07:00
webchick
b7a7795447
Issue #1750228 by Boobaa, corvus_ch: Fixed Adding a new language with empty .po file and locale.module enabled throws a fatal error.
2012-08-26 10:37:19 -07:00
webchick
79b9a36cb0
Issue #1739994 by pp, das-peter, Gábor Hojtsy: Use the Language class universally instead of stdObj instances.
2012-08-26 10:01:29 -07:00
webchick
42d5f0053b
Issue #1668820 by sun, xjm, tim.plunkett, fgm: Concept, base class, and interface for configurable objects.
2012-08-25 01:17:32 +02:00
Dries
de5718848b
- Patch #1279680 by cam8001: watchdog() does not type its array arguments.
2012-08-24 14:48:55 +02:00
webchick
5c8cdca2c4
Issue #1669902 by alexpott, aspilicious, sun: Adjust system.performance configuration for new guidelines.
2012-08-24 06:53:11 +02:00
webchick
4aaeaf521d
Issue #1646580 follow-up by beejeebus: Capitalization fixes.
2012-08-24 05:04:40 +02:00
catch
3d94f559c8
Issue #1637478 by alexpott, pounard, catch: Add a PHP array cache backend.
2012-08-23 15:26:14 +02:00
catch
6e8a671f83
Issue #1675260 by chx, effulgentsia, pwolanin, neclimdul: Implement PHP reading/writing secured against 'leaky' script.
2012-08-23 13:52:46 +02:00
catch
4da938a7c5
Issue #1739900 by alexpott: Added a rename operation to config storage controllers.
2012-08-23 13:16:50 +02:00
catch
2c0893e845
Issue #1739900 by alexpott: Added a rename operation to config storage controllers.
2012-08-22 15:01:32 +02:00
catch
3fe579b233
Issue #1542186 by pp, redcell, rickmanelius: Fixed Illegal string offset warning during install on sqlite.
2012-08-22 09:59:24 +02:00
webchick
7b757ff47e
Issue #1646580 by chx, Jose Reyero, beejeebus: Implement Config Events and Listeners, and storage realms for localized configuration.
2012-08-22 01:22:22 +02:00
webchick
1a3136c1fd
Issue #780304 by Crell, naxoc, zyxware: Fixed HTML encoding of em wrappers for database table names while showing schema errors.
2012-08-19 14:16:25 +02:00
webchick
7e79095a49
Issue #1637348 by vasi1186, attiks, clemens.tolboom, penyaskito: Import Gettext .po files in progressive batches to avoid time limits.
2012-08-19 12:46:48 +02:00
webchick
f85f7eb483
Issue #1726794 by dawehner: Improve the plugin factory exception message.
2012-08-18 14:20:39 +02:00
webchick
3f92626087
Issue #1733746 by penyaskito, sxnc, jsbalsera, Gábor Hojtsy: Fixed D8 installer is broken if selecting a non-English language on installation.
2012-08-18 12:42:31 +02:00
catch
8fcd8e6057
Issue #1722882 by aspilicious: Fixed Plugin CacheDecorator caches globally.
2012-08-15 15:38:34 +01:00
catch
544e17693f
Issue #1671198 by chx, Jose Reyero, sun, xjm, aspilicious: Added Merge $conf overrides only once per instantiated Config object, and move initial setName() into Config constructor.
2012-08-15 15:35:59 +01:00
Dries
0033bac993
- Patch #1683644 by chx, EclipseGc, tim.plunkett, aspilicious, xjm, dawehner, effulgentsia: use Annotations for plugin discovery.
2012-08-11 12:49:44 -04:00
Dries
9f18d6d2b4
- Patch #1722694 by sun: Fixed Kernel::init() overrides Drupal's error handling configuration.
2012-08-11 12:28:03 -04:00
Dries
4b2dfc3a76
- Patch #1719250 by catch: Fixed DatabaseBackend still calling garbageCollection() every request due to minimum cache lifetime.
2012-08-09 16:19:23 -04:00
Dries
9a0367face
- Patch #1719488 by effulgentsia: Rename language_manager() to language() and related cleanup.
2012-08-09 16:17:01 -04:00
Dries
5a43052d93
- Patch #1671080 by sun, no_commit_credit, Gábor Hojtsy, Jose Reyero: remove StorageDispatcher to simplify configuration system.
2012-08-09 16:12:36 -04:00
Dries
4c2e6b41ec
- Patch #1637370 by danielnolde, sun, djdevin, Berdir: Added UUID support to core entity types.
2012-08-07 14:33:39 -04:00
Dries
1f31a38fde
Merge remote-tracking branch 'sandbox/bundles' into 8.x
2012-08-07 14:19:31 -04:00
webchick
f77cdf16d3
Issue #1698108 by chx, effulgentsia, Rob Loach: Update Drupal's dependencies.
2012-08-07 10:05:42 -07:00
Katherine Bailey
790b2e4afc
Pulling in the entire HttpKernel from symfony's FrameworkBundle instead of just part of it
2012-08-06 21:52:14 -07:00
effulgentsia
bc1da650eb
Remove DIC compilation until it can be dumped to disk
2012-08-06 21:52:14 -07:00
Katherine Bailey
842d1217d3
Various coding standards fixes, cleanup and documentation fixes
2012-08-06 21:52:13 -07:00
Katherine Bailey
b979e8aa93
Passing the request object explicitly to the language negotiation methods instead of a vague args parameter
2012-08-06 21:52:13 -07:00
effulgentsia
93e3f5bff2
Issue #1711492 : Improved override of Symfony's ContainerBuilder
2012-08-06 21:52:13 -07:00
Katherine Bailey
768925132d
Adding/modifying some todos
2012-08-06 21:52:13 -07:00
Katherine Bailey
aef0436ebf
Making the language_manager instance variable protected instead of private in FinishResponseSubscriber
2012-08-06 21:52:13 -07:00
Katherine Bailey
0b29221849
Addressing some documentation and code style issues
2012-08-06 21:52:13 -07:00
Katherine Bailey
5d8b06a17f
Making FinishResponseSubscriber dependent on the language_manager service
2012-08-06 21:52:12 -07:00
Larry Garfield
33b5c4b6ef
Whitespace and documentation fixes.
2012-08-06 21:52:12 -07:00
Katherine Bailey
02fec4357d
Fixing up drupal_container() which had some cruft leftover in it and a totally incorrect docblock
2012-08-06 21:52:12 -07:00
Katherine Bailey
e1b4fe97a7
Get rid of the request() wrapper function, plus various other cleanups
2012-08-06 21:52:11 -07:00
Katherine Bailey
d1e52e0089
Various cleanups
2012-08-06 21:52:11 -07:00
Katherine Bailey
faba05fccc
Cleaning up _current_path() and request() related stuff
2012-08-06 21:52:11 -07:00
Katherine Bailey
6d64268e50
Only use the LanguageManager for multilingual environments
2012-08-06 21:52:11 -07:00
Katherine Bailey
1cd28eb4e5
Using the language_manager wrapper function to return a language whether or not we're in the requet scope
2012-08-06 21:52:11 -07:00
Katherine Bailey
2f6b442d2d
Initial steps toward adding the language manager service
2012-08-06 21:52:10 -07:00
Niklas Fiekas
6b231d8f86
Database bootstrap level before booting kernel.
...
Switching to the test database connection only happens when
_drupal_bootstrap_database() runs before executing a first query.
To avoid complicating the boostrap with more fine grained level booting, just
boot the DrupalKernel after DRUPAL_BOOTSTRAP_CODE. Getting rid of those levels
is for a seperate issue.
Additionally mirror the changes in the testing files
core/modules/system/tests/http.php and https.php.
2012-08-06 21:52:09 -07:00
Katherine Bailey
0e9c1150c8
Adding a docblock with an explanation of why need a factory method for the Exception Listener
2012-08-06 21:52:09 -07:00
Katherine Bailey
e665805cce
Various coding standards fixes and other minor changes in response to Crell's latest patch review
2012-08-06 21:52:09 -07:00
Katherine Bailey
f954878ccc
Getting rid of the info array of doom for service definitions
2012-08-06 21:52:09 -07:00
Katherine Bailey
1d1c62b25b
Using a factory method to get an ExceptionListener as it needs to be passed an instantiated ExceptionController
2012-08-06 21:52:09 -07:00
Katherine Bailey
ea2d59c695
Moving stuff around
2012-08-06 21:52:09 -07:00
Katherine Bailey
48ad4e8ecf
Fixing whitespace issues
2012-08-06 21:52:09 -07:00
Katherine Bailey
8b2e986c34
Need to escape the backslash in bundle class names
2012-08-06 21:52:08 -07:00
Katherine Bailey
d7dd619021
Adding the config services to the container and removing the bootstrap_variables call from before the kernel boot, plus other minor adjustments
2012-08-06 21:52:08 -07:00
Katherine Bailey
e54fc07904
Adding the default and slave database connections as services
2012-08-06 21:52:08 -07:00
Katherine Bailey
8122811d2a
Renaming the method that adds language services to the container
2012-08-06 21:52:08 -07:00
Katherine Bailey
f56ccb3b2f
Slight refactoring of the DrupalBundle class
2012-08-06 21:52:08 -07:00
Katherine Bailey
80ab884424
Attempt to deal with registering language-related services to the container
...
Conflicts:
core/includes/bootstrap.inc
2012-08-06 21:52:08 -07:00
Katherine Bailey
47c9feb9e7
Issue #1599108 : first pass at adding bundles
...
Conflicts:
core/lib/Drupal/Core/DependencyInjection/ContainerBuilder.php
2012-08-06 21:52:08 -07:00
Dries
33d4ef886c
- Patch #1290694 by hefox, tlattimore, c4rl, chx, tim.plunkett, tstoeckler, msonnabaum: provide consistency for attributes and classes arrays provided by template_preprocess().
2012-08-03 11:31:18 -04:00
catch
46065f0b2f
Issue #1575790 by greg.1.anderson, sun, tim.plunkett: Fixed Update #7002 fails on postgres - ILIKE operator on bytea not supported.
2012-08-01 18:44:33 +01:00
catch
20ba61fd54
Issue #1061924 by catch, tim.plunkett, sun, Stefan Freudenberg, bfroehle: Fixed system_list() memory usage.
2012-08-01 18:40:47 +01:00
Dries
b5b88e0bd3
- Patch #1704196 by sun: remove Config's dependencies on procedural Drupal code in includes/common.inc.
2012-07-31 22:05:19 -04:00
Dries
b29e244bd3
Merge branch '8.x' of git.drupal.org:project/drupal into 8.x
2012-07-31 22:04:00 -04:00
Dries
c0b07c41ba
- Patch #1031122 by greg.1.anderson, sun: system_update_7055 on postgres: returns error 'Invalid Input Syntax for type Bytea'.
2012-07-29 09:27:53 -04:00
webchick
cd224643ba
Issue #1496458 by swentel, pcambra, n3or, kbasarab, sun, marcingy: Convert maintenance mode settings to configuration system.
2012-07-28 08:39:43 -05:00
Dries
06aa2facb9
- Patch #1189184 by attiks, clemens.tolboom, penyaskito, Gábor Hojtsy, Sutharsan: OOP & PSR-0-ify gettext .po file parsing and generation.
2012-07-26 18:07:25 -04:00
Dries
5a5cdc702c
- Patch #1497366 by neclimdul, effulgentsia, EclipseGc, merlinofchaos: introduce Plugin System to core.
2012-07-14 22:05:46 -04:00
webchick
5789200b3e
Issue #1445224 by Niklas Fiekas, sun, Tor Arne Thune: Add new HTML5 FAPI element: color.
2012-07-07 13:21:18 -07:00
webchick
c1817f9691
Issue #1595146 by Niklas Fiekas, cosmicdreams, Rob Loach, effulgentsia: Added Load the HttpKernel from the DI Container.
2012-07-05 09:08:42 -07:00
webchick
83a9b89aa9
Issue #1609760 by chx, sun: Fixed hook_image_style_()*() is not invoked for image styles upon Image module installation.
2012-07-03 14:03:18 -07:00
webchick
d74c1441ed
Issue #1666632 by sun, chx: Add Config::isNew() to allow code to determine whether a config object already exists.
2012-07-03 11:04:06 -07:00
webchick
4b6bdbb1dd
Issue #1496542 by cosmicdreams, sun, chx, vasi1186, aspilicious, alexpott, nadavoid, Pedro Lozano, disasm, andypost | heyrocker: Convert site information to config system.
2012-07-02 10:20:33 -07:00
webchick
28df3aa644
Issue #1605324 by sun, Jose Reyero, alexpott, chx, Rob Loach | beejeebus: Configuration system cleanup and rearchitecture.
2012-06-29 10:35:06 -07:00
webchick
450135017d
Revert "- Patch #1605324 by sun, Jose Reyero, alexpott, chx, Rob Loach, beejeebus: configuration system cleanup and rearchitecture."
...
This reverts commit 8df23c8a87
. Original commit
was missing some files. Trying again.
2012-06-29 10:34:05 -07:00
Dries
8df23c8a87
- Patch #1605324 by sun, Jose Reyero, alexpott, chx, Rob Loach, beejeebus: configuration system cleanup and rearchitecture.
2012-06-29 12:29:51 -04:00
Dries
48a0b6931d
- Patch #1651010 by pounard: HttpKernel patch introduces ob_flush() related PHP warnings on my environement, potential patch and performance improvement.
2012-06-29 11:45:36 -04:00
Dries
10b4848f6d
- Patch #1643702 by katbailey: incorrect method signatures in ViewSubsriber class.
2012-06-23 16:26:06 -07:00
webchick
f772c1095a
Issue #1641166 by Schnitzel: Fixed Undefined property: Drupal\Core\Language\Language:: in language_list().
2012-06-16 15:12:52 +02:00
webchick
18040223ad
Issue #1471432 by Gábor Hojtsy, vasi1186, tobiasb, kalman.hosszu, Schnitzel, nod_, pixelite, dawehner: Rework language_list(), let people use more special languages.
2012-06-15 19:03:15 +02:00
webchick
a2f971e4c4
Issue #1629858 by aspilicious, amateescu: Convert the theme registry to PSR-0.
2012-06-14 11:07:35 +02:00
Dries
5b8960df6d
- Patch #730060 by beejeebus, catch, Damien Tournoud, moshe weitzman, msonnabaum, oriol_e9g, aspilicious: Fixed Replace CACHE_TEMPORARY, cache_clear_all() (no arguments) and minimum cache lifetime with cache tags support.
2012-06-12 21:37:07 -04:00
catch
fe0e9dd141
Issue #1512308 by August1914, Rob Loach, cosmicdreams: Replace $language_content() with Dependency Injection.
2012-06-12 21:12:53 +09:00
catch
2bfb9b0415
Issue #1615236 by Berdir, aspilicious: Merge entity controller interfaces, document and add default entity class definition.
2012-06-08 22:04:22 +09:00
catch
c1f05ae409
Issue #1541892 by Rob Loach: Convert TableSort to PSR-0.
2012-06-08 21:26:56 +09:00
catch
22cce8af98
Issue #1618072 by Niklas Fiekas: Remove ajax_footer().
2012-06-08 21:17:34 +09:00
catch
92490ed529
Issue #1541684 by Rob Loach, aspilicious: Convert PagerDefault db extender to PSR-0.
2012-06-05 14:42:19 +09:00
Dries
9b29a0dad0
- Patch #1361226 by Berdir, aspilicious, cosmicdreams, fago: make the file entity a classed object.
2012-06-03 07:25:35 -04:00
Dries
c677a96ff7
- Patch #1589174 by sun, marcingy: Fixed Configuration upgrade path is broken.
2012-06-02 15:45:56 -04:00
Larry Garfield
94d877eb94
Merge remote-tracking branch 'upstream/8.x' into remerge
2012-05-31 23:13:29 -05:00
catch
cc8147dde2
Issue #1597888 by Niklas Fiekas, sun: Fixed Cache NullBackend is entirely broken, does not implement CacheBackendInterface.
2012-05-31 13:53:42 +09:00
Jennifer Hodgdon
ca334de861
Issue #1602112 by bgano: Add return docs for Connection::startTransaction()
2012-05-29 13:10:40 -07:00
Mark Sonnabaum
1c442e85f2
Removed unnecessary "use" statements.
2012-05-28 16:25:30 -05:00
Larry Garfield
ab5e316659
Document a follow-up todo.
2012-05-24 01:03:53 -05:00
Larry Garfield
848c134d65
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-05-23 23:55:54 -05:00
effulgentsia
35ef2c97ea
refs #1536844 Clean up bootstrap shivs.
2012-05-23 23:52:03 -05:00
Larry Garfield
f5079ffb1b
Rename UrlMatcher to LegacyUrlMatcher.
...
The current matcher is a temporary legacy shiv to support the old routing system.
Label it as such so that we can reserve the class name for the new and imroved
router.
2012-05-23 23:31:42 -05:00
catch
9e8d1e85dc
Issue #1470824 by alexpott, sun: Fixed XML encoder can only handle a small subset of PHP arrays, so switch to YAML.
2012-05-23 12:48:37 +09:00
effulgentsia
37e72619c1
refs #1593702 Roll back comment tweaks that have already been made in core.
2012-05-22 11:55:29 -05:00
Jennifer Hodgdon
dc151c10ff
Issue #1593696 by effulgentsia: Clean up @todo formatting
2012-05-22 08:18:17 -07:00
catch
abb86f9828
Issue #1394648 by David_Rothstein: Fixed The installer's cache backend no longer overrides all cache-clearing methods, which can lead to fatal errors.
2012-05-21 11:13:13 +09:00
Larry Garfield
807947c9fe
Clean up and document private property overrides.
2012-05-20 18:13:14 -05:00
Larry Garfield
9fdd40f8c9
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-05-19 00:04:26 -05:00
Niklas Fiekas
a069734c04
Remove $response_body parameter from drupal_page_set_cache().
...
b99d11fac6
introduced a $response_body parameter on drupal_page_set_cache(),
but that is no longer used. Remove it.
2012-05-19 00:01:08 -05:00
Niklas Fiekas
3a10d518e3
Clean-up UrlMatcher.php.
2012-05-19 00:01:08 -05:00
Niklas Fiekas
b5d1b095a4
Documentation improvements and cleanup.
2012-05-19 00:01:08 -05:00
Jennifer Hodgdon
467a825239
Issue #1358944 by wulff, Désiré: Fix ingroup/addtogroup syntax
2012-05-17 05:58:49 -07:00
catch
e0ba373d6e
Issue #1500238 by alexpott, sun, chx: Encode/decode data via PHP serialize()/unserialize() for DatabaseStorage (storage controller specific data formats).
2012-05-16 12:02:24 +09:00
Dries
b551b666de
- Patch #1506630 by Alan Evans, David_Rothstein: Fixed Namedspaced code throws and catches 'Exceptions' which don't exist (causing the DB settings form validation to break on install).
2012-05-14 21:31:16 -04:00
Larry Garfield
0993e73bf9
More logically organize methods in the exception controller class.
2012-05-13 12:42:03 -05:00
Larry Garfield
eb8fe490da
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-05-13 12:21:10 -05:00
Larry Garfield
28c6dffaaa
Reset the static menu systme variables before a 404 subrequest, too.
2012-05-13 12:20:28 -05:00
Larry Garfield
3edf21c28f
Reset the static menu system variables before a subrequest.
2012-05-12 00:47:05 -05:00
Larry Garfield
71e0447b50
Only call our legacy init routines for a master request, to avoid it getting called twice.
2012-05-11 22:32:00 -05:00
catch
2a3251a829
Issue #1565972 by c960657: Clean-up of mapConditionOperator().
2012-05-12 12:15:33 +09:00
catch
44c07e9b26
Issue #1545068 by Berdir: Convert Exception in update.inc to PSR-0.
2012-05-12 12:10:23 +09:00
Larry Garfield
d44e497bb0
Port Drupal's default HTTP headers to a response listener.
2012-05-11 21:45:05 -05:00
Niklas Fiekas
171fdb4410
Detailed cleanup of documentation blocks for spacing, language, placement, etc.
2012-05-11 20:54:55 -05:00
catch
bb691f62d7
Issue #1567812 by sun: Remove 'Verified' from configuration class names.
2012-05-10 23:54:04 +09:00
Larry Garfield
270dcd2e88
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-05-10 00:14:31 -05:00
effulgentsia
87979eaad8
Improve system path handling and use the system path to determine if we need to show a custom theme.
2012-05-09 21:11:33 -05:00
Niklas Fiekas
7bf2a1ae4c
Add FinishResponseSubscriber to set extra headers.
...
Handle finished responses to set the X-UA-Compatible and the Content-language
headers.
This fixes CommonDrupalHTTPRequestTestCase.
2012-05-09 20:53:48 -05:00
Pierre Rineau
60ebceebf9
Fixes #1567438 - Wrong transaction type was being catched in a MySQL transaction specific loop when releasing transactions
2012-05-09 22:26:52 +02:00
Bram Goffings
037ac94025
trim trailing slashes in pathListener
2012-05-09 17:52:53 +02:00
Larry Garfield
cc36b421d0
Remove redundant front page handling code.
2012-05-09 01:21:37 -05:00
Larry Garfield
bf41cd2e15
Rename PathListenerAbstract to PathListenerBase to conform to what is likely to soon be the coding standard.
2012-05-09 01:21:37 -05:00
Larry Garfield
e70d9ac810
Improve documentation.
2012-05-09 01:21:37 -05:00
effulgentsia
6275cc5949
#1536844 : Moved language, path, theme, and module initialization from bootstrap to request listeners.
2012-05-09 01:21:37 -05:00
Pierre Rineau
90d204574e
Switched catch statement from DatabaseException to DatabaseExceptionWrapper for better granularity
2012-05-08 22:21:31 +02:00
Pierre Rineau
1bcdb02891
Fixes #1567444 - Wrong exception (PDOException) was in a catch statement instead of DatabaseException - thanks for aspilicious's help
2012-05-08 20:31:28 +02:00
catch
d390816023
Issue #1444620 by dawehner, sun, heyrocker: Remove file signing from configuration system.
2012-05-08 14:04:54 +09:00
Larry Garfield
12e53f92a3
Merge remote-tracking branch 'upstream/8.x' into kernel
...
Resolve conflicts in cron improvements.
Conflicts:
core/INSTALL.txt
core/includes/bootstrap.inc
core/modules/simpletest/drupal_web_test_case.php
core/modules/system/system.install
core/modules/system/system.module
core/modules/system/system.test
core/scripts/cron-curl.sh
core/scripts/cron-lynx.sh
2012-05-06 23:03:57 -05:00
Larry Garfield
71cf6406ad
Automatically urldecode() paths to allow for useful data in path fragments.
2012-05-06 22:48:08 -05:00
Larry Garfield
2ceb9c02a6
Refactor path manipulation code to make it easier to extend.
2012-05-06 22:16:21 -05:00
Larry Garfield
a390ba77a9
Clean up the UrlMatcher now that we don't need to do as much hackery with the path. It's handled elsewhere.
2012-05-04 01:09:46 -05:00
Larry Garfield
ccae6645b6
Documentation improvements.
2012-05-04 00:27:17 -05:00
Larry Garfield
da3a3dec5e
Specify additional classes used in this file.
2012-05-03 23:44:21 -05:00
Dries
b332a85b3c
- Patch #1552744 by Rob Loach, effulgentsia, sun: Fixed Bootstrap for the Dependency Injection Container and make sure SimpleTest abides to it.
2012-05-03 11:13:18 -04:00
Larry Garfield
a8a7cabbf8
Pass in the system path to the UrlMatcher rather than pathInfo().
2012-04-30 23:39:26 -05:00
Larry Garfield
fccf65babc
Move frontpage handling to the PathSubscriber.
2012-04-30 23:39:26 -05:00
Larry Garfield
47e0233492
Switch to a new UrlMatcher and RouterListener so that we can use a full Request object for routing purposes, and look to the attributes for our main routing information.
2012-04-30 23:39:25 -05:00
Larry Garfield
fb620e79b2
Catch DatabaseExceptions in MySQL's sequence emulation rather than PDOException, since we're now always wrapping the latter.
2012-04-30 23:38:39 -05:00
Larry Garfield
57fab3b0c2
Remove last vestiges of ['q'] from the kernel branch.
2012-04-30 22:11:50 -05:00
Larry Garfield
29ec5c929b
Merge remote-tracking branch 'upstream/8.x' into kernel
...
Conflicts:
core/includes/common.inc
core/includes/menu.inc
core/modules/image/image.test
core/modules/system/tests/file.test
2012-04-30 21:29:48 -05:00
Larry Garfield
40817bb3cd
Adjust error handling to account for the new DatabaseWrapperException.
2012-04-28 22:12:09 -05:00
Larry Garfield
7ac8d9ac6e
Add a database wrapping exception for PDOExceptions to carry additional debug information.
2012-04-28 22:12:09 -05:00
Larry Garfield
acf9151af7
Port Drupal's legacy exception handling into the ExceptionController.
2012-04-28 22:12:09 -05:00
Larry Garfield
88be740cdb
Merge remote-tracking branch 'upstream/8.x' into kernel
...
Conflicts:
core/modules/node/node.module
core/modules/overlay/overlay.module
2012-04-27 21:59:33 -05:00
Jennifer Hodgdon
9f59cdf937
Issue #1548038 by Rob Loach: Fix typo in CacheArray.php documentation
2012-04-27 09:42:28 -07:00
catch
b7cae658e0
Issue #1536262 by sun: Fixed entering a site name when installing Drupal 8 has no effect until caches are cleared.
2012-04-24 11:15:56 +09:00
Larry Garfield
9cf81913e9
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-04-22 18:50:18 -05:00
Jennifer Hodgdon
121f7ee093
Issue #1540072 by xjm: American spelling for behavior
2012-04-20 12:51:35 -07:00
Larry Garfield
c96c3fca10
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-04-20 01:07:37 -05:00
Katherine Bailey
223049a02c
Use the getFormat() method on the request object for content type negotiation, and fallback to html in the case of no Accept header.
2012-04-19 22:36:39 -05:00
Dries
3a9a31251d
Merge branch '8.x' of git.drupal.org:project/drupal into 8.x
2012-04-19 07:32:00 -04:00
catch
3aa3e5d1d6
Issue #636454 by tim.plunkett: Follow up for Cache tag support.
2012-04-19 12:28:14 +09:00
Dries
0ca408e1d3
- Patch #1497230 by Rob Loach, pdrake, effulgentsia: Use Dependency Injection to handle object definitions.
2012-04-18 14:31:33 -04:00
Larry Garfield
1a7cf99e5d
Remove unnecessary use statement.
2012-04-16 19:42:41 -05:00
Larry Garfield
1c6379e1db
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-04-15 18:44:08 -05:00
Larry Garfield
fd18c1697a
Execute termination listeners, including the subscriber formerly known as drupal_page_footer() and now represented by this class.
2012-04-15 18:23:15 -05:00
Larry Garfield
a88fc53b0d
Turn the cache subscriber into a termination subscriber, not a response subscriber. Still needs work.
2012-04-15 18:03:25 -05:00
Katherine Bailey
b99d11fac6
Adding a ResponseSubscriber for taking care of end of request tasks, including caching of pages and system paths
2012-04-15 18:03:25 -05:00
catch
fe51314cb8
Issue #1237252 by bfroehle, drewish, Berdir: Fixed DB Case Sensitivity: Allow BINARY attribute in MySQL.
2012-04-13 17:21:35 +09:00
catch
2a30669ab3
Issue #1513970 by Berdir: Convert SearchQuery to PSR-0.
2012-04-13 17:09:54 +09:00
Larry Garfield
a94bb607ed
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-04-13 00:19:25 -05:00
Larry Garfield
9d4d6b05e5
refs #1529868 by cosmiccreams: Minor doc fixes.
2012-04-12 23:05:27 -05:00
Jody Hamilton
6ee384e1f2
include access denied watchdog call in on403Html
2012-04-12 23:00:15 -05:00
catch
969256bd8b
Issue #636454 by catch, carlos8f, msonnabaum, beejeebus, Berdir, moshe weitzman, pillarsdotnet: Added Cache tag support.
2012-04-13 10:49:34 +09:00
Dries
62a39c9a18
- Patch #1503184 by aspilicious, Rob Loach, cweagans: convert Graph.inc to PSR-0.
2012-04-09 14:02:59 -04:00
Nathaniel
7388171b2b
Issue #1477446 by pounard, amateescu: Move lock backend to PSR-0 code.
2012-04-09 12:04:51 +09:00
Larry Garfield
c45a3d572f
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-04-06 16:25:48 -05:00
Larry Garfield
41de04e38f
Merge branch 'kernel-ajax' into kernel
2012-04-06 16:24:27 -05:00
Larry Garfield
85e6a0cd3a
Remove unnecessary variable.
2012-04-06 16:10:09 -05:00
Larry Garfield
169646ae39
Rename variable to be more accurate.
2012-04-06 16:08:23 -05:00
Larry Garfield
df49a0704e
Switch to using the new system path rathe than ['q'].
2012-04-06 16:06:30 -05:00
Niklas Fiekas
ef0a9e627d
Add a MaintenanceModeSubscriber.
2012-04-04 17:32:06 +02:00
catch
837430ffee
Issue #1323124 by amateescu, aspilicious, Berdir: Convert file transfer system to PSR-0. Commit ALL THE files.
2012-04-03 15:12:03 +09:00
catch
e89ce2820d
Revert "Issue #1323124 by amateescu, aspilicious, Berdir: Convert file transfer system to PSR-0."
...
This reverts commit 5abec889ea
.
2012-04-03 15:10:00 +09:00
catch
5abec889ea
Issue #1323124 by amateescu, aspilicious, Berdir: Convert file transfer system to PSR-0.
2012-04-03 14:37:09 +09:00
Niklas Fiekas
12038f71b2
Extend the note about serialized page arguments.
2012-04-02 18:45:13 +02:00
Peter Drake
9a3fd256ea
Fixed file upload handling.
2012-04-02 06:32:41 -07:00
Peter Drake
a63f8a1c01
Merge branch 'kernel' into kernel-ajax
2012-04-02 06:32:33 -07:00
Larry Garfield
b124f325b7
Simplify the UrlMatcher to just deal with Drupal menu items directly. We will likely bypass it and write a wholely new one later for the new routing system, and this better supports existing esoteric routes.
2012-04-01 14:51:26 -05:00
Larry Garfield
e6e4bc1a80
Merge branch 'kernel' into kernel-ajax
2012-03-31 19:41:42 -05:00
Larry Garfield
7b12ed6f8b
Switch to the new JsonResponse object in the View subscriber, too.
2012-03-31 19:36:54 -05:00
Larry Garfield
c522dad503
Merge branch 'kernel' into kernel-ajax
2012-03-31 19:34:19 -05:00
Larry Garfield
da00dcc3e6
Switch to the new JsonResponse object from Symfony.
2012-03-31 18:44:36 -05:00
Larry Garfield
edcc5bd57e
Add and improve documentation.
2012-03-31 18:41:36 -05:00
Larry Garfield
020d18696e
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-03-31 18:19:48 -05:00
Peter Drake
08c2cddea2
Add onAjax and onIframeUpload handlers to ViewSubscriber. Add x-requested-with header to AJAX tests.
2012-03-28 22:16:31 -04:00
catch
4b3298eb97
Issue #1171866 by sun: Fixed Enforced fetching of fields/columns in lowercase breaks third-party integration.
2012-03-28 13:34:43 +09:00
catch
7385e0536e
Issue #1497020 by Damien Tournoud: Fixed SQLite broken after PSR-0.
2012-03-27 16:00:04 +09:00
webchick
57a156ef96
Issue #692366 by underq, bradweikel, willmoy, kid_icarus | foripepe: Fixed Stop forcing language/mirror for PHP manual links.
2012-03-24 00:14:35 -06:00
Dries
c16a978c2a
- Patch #1497088 by acrollet: Fixed Empty configuration values should return an empty string instead of an empty array.
2012-03-23 16:21:49 -06:00
Andrew Berry
148815527a
Fix setting the destination for custom 403 pages.
2012-03-23 16:02:39 -06:00
Andrew Berry
c25fb80dcc
Fix missing this.
2012-03-23 15:47:25 -06:00
Andrew Berry
1c96f11407
Remove old kernel instantiation.
2012-03-23 15:46:50 -06:00
Andrew Berry
c030577c5f
Merge branch 'add-kernel-param' into 403-404-testbot
...
Conflicts:
core/lib/Drupal/Core/ExceptionController.php
2012-03-23 15:45:34 -06:00
Andrew Berry
44fd52cecb
Add a reference to the kernel in ExceptionController.
2012-03-23 15:44:36 -06:00
Dries
d2f1b2560f
- Patch #1484690 by Pol, jhedstrom, beejeebus: implement overrides in the configuration system.
2012-03-23 15:35:53 -06:00
Andrew Berry
9462303bb3
Fix wrong variable for the request.
2012-03-23 15:24:22 -06:00
Andrew Berry
63df91d237
Pass the destination parameter to 403 forms.
2012-03-23 15:09:13 -06:00
Andrew Berry
d25d54e31d
Add support for default and custom 403 pages.
2012-03-23 15:07:37 -06:00
Andrew Berry
675744982b
Fix page arguments not being unserialized.
2012-03-23 15:05:09 -06:00
Andrew Berry
12810fe34c
Fix unserializing page arguments.
2012-03-23 15:03:37 -06:00
Andrew Berry
3a2ab9d5f9
Fix sending the wrong URL for custom 404 pages.
2012-03-23 15:03:36 -06:00
Andrew Berry
08d5e2850d
Documentation and TODO updates.
2012-03-23 14:56:51 -06:00
Larry Garfield
9152debf7f
Convert View listeners to a single view subscriber.
2012-03-23 15:34:46 -05:00
Larry Garfield
d25fcbae70
Convert exception handling from multiple listeners to a single subscriber class for all response types.
2012-03-23 15:20:37 -05:00
Larry Garfield
849e5bf3b9
Better edge case handling of missing variables.
2012-03-23 14:20:55 -05:00
Larry Garfield
ed25afbdbf
Move all code to the kernel constructor, not handle method.
2012-03-23 12:58:05 -05:00
Larry Garfield
0876971e2c
Refactor DrupalKernel to extend HttpKernel.
2012-03-23 12:49:37 -05:00
Larry Garfield
d64072f2b2
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-03-23 12:11:42 -05:00
catch
1198964079
Issue #1015946 by pillarsdotnet, catch, bfroehle, Jej, jose.guevara, Damien Tournoud: Fixed Eliminate $user->cache and {session}.cache in favor of $_SESSION['cache_expiration()'][].
2012-03-23 16:52:50 +09:00
catch
2178d43211
Issue #1491526 by c960657: Fixed Cannot install Drupal on PostgreSQL.
2012-03-23 16:51:01 +09:00
Larry Garfield
ad5fd1a16f
Merge branch 'kernel' into kernel-real-responses
2012-03-16 20:46:44 -05:00
Larry Garfield
cdb2494a36
Remove broken BC shiv.
2012-03-16 20:40:51 -05:00
Larry Garfield
a4a7217164
Create a new Request object, don't try to clone the previous one.
2012-03-16 20:11:33 -05:00
Larry Garfield
2e9f36b4f9
Further work on HTML 404 handling. Still untested.
2012-03-16 19:25:25 -05:00
Larry Garfield
a2b9b60d76
Send the correct HTTP response for unsupported mimetype.
2012-03-16 18:59:27 -05:00
Larry Garfield
d38d298699
Merge remote branch 'upstream/8.x' into kernel
2012-03-16 18:47:52 -05:00
Larry Garfield
1afec3a95e
Add */* as a fallback for HTML for the test bot.
2012-03-16 18:45:58 -05:00
Larry Garfield
f078c8c38d
Copy the old 404 code into the new location. Still need to futz with it.
2012-03-15 23:55:14 -05:00
Dries
e2b2a3e0dd
- Patch #1473600 by amateescu, Berdir: Convert archiver.inc to PSR-0.
2012-03-15 12:38:32 -04:00
Larry Garfield
da5fba747f
Push HTML listeners even later.
2012-03-14 23:45:24 -05:00
Larry Garfield
6673e6ca0b
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-03-14 23:42:15 -05:00
Larry Garfield
b32d677292
Make HTML the default output format. That is, make HTML the last format to catch output events and apply it to the catch-all accept header.
2012-03-14 23:37:15 -05:00
catch
1de01b0025
Issue #1471364 by amateescu: Move mail system classes from system.mail.inc to PSR-0 classes in Drupal\Core.
2012-03-14 17:54:05 +09:00
Larry Garfield
7c2cb51ee2
Merge branch 'kernel-damz' into kernel
2012-03-13 02:37:25 -05:00
Larry Garfield
d52c2d9587
Add a JSON response subscriber. This is largely the same as the HTML one, but forces the appropriate mime type for responses.
2012-03-13 02:37:11 -05:00
Larry Garfield
dd2bfb73c3
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-03-12 23:45:46 -05:00
Larry Garfield
1f40e076e1
Merge remote-tracking branch 'upstream/8.x' into kernel-damz
2012-03-12 23:45:34 -05:00
Damien Tournoud
afbe808773
Properly use menu_get_item().
2012-03-12 18:03:12 +01:00
Larry Garfield
f9686b7af9
Add BC shiv to keep old-style Dirty URLs working. This should be a temporary fix only, and be removed later.
2012-03-11 23:58:04 -05:00
catch
9e43704ae6
Issue #1468244 by amateescu, aspilicious: Convert DrupalQueue system to PSR-0.
2012-03-12 12:07:39 +09:00
Larry Garfield
dab4c21f3c
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-03-11 03:16:01 -05:00
webchick
368cf30de0
Issue #1471376 by amateescu: Convert updater.inc to PSR-0.
2012-03-10 16:23:05 -08:00
Larry Garfield
7e25089756
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-03-10 16:46:47 -06:00
webchick
b27e9069ed
Issue #1475020 by amateescu: Convert stream_wrappers().inc to PSR-0.
2012-03-10 12:17:14 -08:00
webchick
65f25dc9fe
Revert "Committing missing files to #1475020 . I think. I hope."
...
This reverts commit 2d6fdda1f0
.
2012-03-10 12:16:01 -08:00
webchick
2d6fdda1f0
Committing missing files to #1475020 . I think. I hope.
2012-03-10 11:53:53 -08:00
Larry Garfield
693641b2c9
Documentation correction.
2012-03-10 11:14:15 -06:00
Larry Garfield
63ec801e03
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-03-10 11:08:52 -06:00
catch
f48225b06c
Issue #1323120 by webchick, David_Rothstein, kotnik, amateescu: Documentation follow-ups for convert cache system to PSR-0.
2012-03-09 13:32:23 +09:00
catch
982087f210
Issue #1471368 by amateescu: Convert uuid.inc to PSR-0.
2012-03-09 13:28:33 +09:00
catch
79f43572fc
Issue #1469826 by andremolnar: Convert DrupalCacheArray and SchemaCache to PSR-0.
2012-03-09 00:20:35 +09:00
webchick
f9c539aa21
Issue #1414412 by pillarsdotnet, MrHaroldA, droplet: Fixed Skip #conjunction key in __clone() method of core/includes/database/query.inc.
2012-03-07 10:34:16 -08:00
Larry Garfield
c5ce534988
Add a new kernel subscriber to wrap old-style controllers in a closure to avoid dynamic argument issues. This is a BC shim only.
2012-03-06 01:47:43 -06:00
Larry Garfield
ef737088b4
Correct bug that throws notices when no router item found.
2012-03-06 01:47:43 -06:00
Larry Garfield
b68927a276
Merge remote-tracking branch 'upstream/8.x' into kernel
2012-03-05 21:41:14 -06:00
Larry Garfield
a4e0f0ec17
Rename DrupalApp back to DrupalKernel, since it implements HttpKernelInterface.
2012-03-05 21:27:20 -06:00
Larry Garfield
d9b452b92e
Merge branch '8.x' into kernel
2012-03-01 23:32:55 -06:00
Larry Garfield
60017f4579
Merge branch 'eclipse-kernel' into kernel
2012-03-01 23:30:36 -06:00
Kris
210a9c19f8
initial commit of working dynamic menu items
2012-03-01 16:39:50 -06:00
Greg Dunlap
1bc549de8f
Merge remote-tracking branch 'origin/8.x' into 8.x-file-config
2012-02-29 19:47:35 -08:00
Nathaniel
bdb71c6fa7
Merge remote branch 'crell/dbtngtng' into 8.x
2012-03-01 12:22:48 +09:00
Larry Garfield
2d52eeeee2
Move DrupalApp back to being a kernel implementation, since, really, that's what it is.
2012-02-28 20:43:33 -06:00
Larry Garfield
2dec350acd
Add a listener to handle path resolution. For now we hack ['q'] still so that legacy code still works, but that will go away soon.
2012-02-26 15:24:46 -06:00
Larry Garfield
aa62145650
More useful generic exception message.
2012-02-26 13:41:54 -06:00
Larry Garfield
1c91c1fe0c
Add an access listener that should throw a 403 exception if the menu router's access check failed. This is totally not the right way to do this long term, but it works for our current codebase.
2012-02-24 00:20:58 -06:00
Larry Garfield
3a79e7535a
Proper type hint.
2012-02-23 23:57:18 -06:00
Larry Garfield
251d38bd84
Lots of documentation and cleanup.
2012-02-23 23:00:05 -06:00
Larry Garfield
de96603ccb
Add an HTML listener for 403 errors.
2012-02-23 22:48:31 -06:00
Larry Garfield
298240393a
Convert the matcher into a RouterListener, which in turn handles the error handling to return the right kind of exception at the right time on a 404.
2012-02-23 22:33:05 -06:00
Larry Garfield
16dbf2ec4b
Refactor DrupalApp into a series of building methods rather than one long method.
2012-02-23 01:06:03 -06:00
Larry Garfield
fd02c84604
Move the HTML request type handling to a subscriber class so that it's nicely encapsulated.
2012-02-23 00:58:41 -06:00
Larry Garfield
501f6d5af6
Clean up debug code.
2012-02-23 00:34:08 -06:00
Larry Garfield
fdbc8a2404
Convert DrupalKernel into simply a DrupalApp class, since all of the kernel-y stuff is happening in HttpKernel anyway.
2012-02-23 00:33:14 -06:00
Larry Garfield
87e5aede35
Convert all exception handling to be part of the event dispatcher, for consistency.
2012-02-23 00:28:54 -06:00
Greg Dunlap
a9cabde4e3
Cleaning up some todos
2012-02-22 21:28:37 -08:00
Larry Garfield
f9fe640f78
Move the new routing logic into a DrupalKernel object.
2012-02-22 22:53:15 -06:00
Greg Dunlap
13db511a47
Stramlined read code slightly
2012-02-22 12:02:03 -08:00
Greg Dunlap
e666688a1f
Exceptions now successfully being caught when db is missing
2012-02-22 12:01:25 -08:00
Greg Dunlap
cc3d5edc53
Removed throw_exception because apparently that's not the problem after all
2012-02-22 10:55:30 -08:00
Greg Dunlap
612c29cff6
Added an exception handler to config->get() which handles situations where the db is not in place, allowing us to remove a call to db_table_exists() which should improve cached performance a bit
2012-02-22 01:07:21 -08:00
Larry Garfield
5ee04f81cb
Handle page callback files that need to be lazy-loaded.
2012-02-21 08:44:56 -06:00
Larry Garfield
3b8be7dfa9
Fix typo.
2012-02-21 08:44:36 -06:00
Larry Garfield
56654ae8db
Fix front page handling.
2012-02-21 08:44:22 -06:00
Greg Dunlap
b537f79f47
Docblock for clear()
2012-02-17 14:17:29 -08:00
Greg Dunlap
eb6ea697b8
Renamed unset back to clear because unset is a reserved word which is the whole reason I didn't name it unset in the first place
2012-02-17 14:15:16 -08:00
Greg Dunlap
c256f64104
Renamed clear() to unset()
2012-02-17 14:09:59 -08:00
Greg Dunlap
aa0e17824b
Added docblock for castValue
2012-02-17 14:08:21 -08:00
sun
208af9fec5
Chainable config()->set().
2012-02-16 14:28:51 -08:00
Greg Dunlap
112afc273a
Removing extra blank lines
2012-02-16 13:17:07 -08:00
sun
4f0f3c876f
Fixed missing type casting for configuration values.
2012-02-14 12:25:52 -08:00
sun
40cc21c89d
Fixed Image module tests. Added many critical todos:
...
- Config values are not casted to strings (despite promised).
- Config keys are not casted to strings (although promised, too).
- XML can be invalid and not parse-able for many reasons.
- Config keys are not validated/sanitized.
- config()->clear() should really be ->unset().
- Configuration must not be additionally cached by a module in any way (static cache / database cache).
- Some modules invoke drupal_alter() on configuration (e.g., image styles).
- Need a way to list config object names/suffixes _after_ a specified prefix.
- Need a way to determine whether a config object exists.
- Some modules might have a valid use-case for retrieving/listing config objects using a wildcard within the name (instead of only searching by prefix).
- The key of a retrieved value is unknown; since you only get the value. Configuration values (or sub-values) may be passed forward to another function/callback, and thus, that function no longer knows about the key of the value. (unless the key is contained in the value, which is a very very wonky duplication)
- Config keys must not contain periods (within a specific key).
2012-02-14 12:25:39 -08:00
sun
64eb1643d0
Fixed coding style.
2012-02-14 12:19:43 -08:00
sun
3e65c6d1a1
Added @todo for $config->name property.
2012-02-14 12:16:43 -08:00
sun
598cb86d2d
Added DrupalConfigStorageInterface::writeToFile().
...
write() called into copyToFile() previously, which needlessly re-loaded the configuration data from the active storage, whereas the data is already available.
2012-02-14 12:13:10 -08:00
sun
b068ec4031
Instantiate SignedFileStorage object only once per config object.
2012-02-14 12:10:10 -08:00
James Gilliland
cf096e698a
Stash the Drupal menu item
...
This will bubble down to the request and since that will be passed around, make
a lot of integration with Symfony and transitioning easier.
2012-02-13 11:05:42 -05:00
James Gilliland
3ef99f9000
Convert to our own UrlMatcher
...
This is a transitional implementation but by using the UrlMatcherInterface
we can embed our matching logic directly into Symfony's routing logic.
2012-02-13 10:00:50 -05:00
Greg Dunlap
00e4f78537
Expanded the comment on ->get() to be more explicit about string conversions
2012-02-13 14:15:40 -05:00
Greg Dunlap
0810f57d8a
Merge branch '8.x-file-config' of git.drupal.org:sandbox/heyrocker/1145636 into 8.x-file-config
2012-02-13 13:56:57 -05:00
Greg Dunlap
9485cf0ce8
Adding ability to return NULL if a value is not found
2012-02-13 13:02:02 -05:00
sun
f71138695f
Fixed configuration file directory not setup for tests.
2012-02-13 18:53:07 +01:00
justinrandell
9689b0be06
Fully qualify path to PHP's Exception in our namespaced code.
2012-02-11 23:23:54 -05:00
Greg Dunlap
a8df28f40d
Made config->delete() also blank out the internal data array to prevent people retrieving the data after deletion
2012-02-13 10:30:12 -05:00
Greg Dunlap
5674c60a31
Removed getData() function since this is now replicated in get()
2012-02-13 09:42:41 -05:00
Greg Dunlap
c0d37effeb
Removed todo that no longer applies
2012-02-12 14:00:59 -05:00
Greg Dunlap
79c10d633d
Converting config system to PSR-0
2012-02-12 11:17:29 -05:00
Larry Garfield
b9131de629
Clean up exception naming with a new interface.
2012-02-02 23:17:31 -06:00
Greg Dunlap
a7c6328d17
Merge remote-tracking branch 'core/8.x' into 8.x-file-config
2012-02-01 14:02:58 +01:00
catch
037faa8fbf
Issue #1400748 by Crell, jbrown, plach: Proposal for unified namespace organization.
2012-02-01 12:23:30 +09:00
Larry Garfield
49839784e7
Add file docblocks to new DB files.
2012-01-28 18:27:11 -06:00
Larry Garfield
5a5c830761
Rename transaction use statement.
2012-01-28 17:54:14 -06:00
Larry Garfield
e9453d8b04
Merge branch '1400748-namespaces' into dbtngtng
2012-01-28 17:51:18 -06:00
Larry Garfield
24390d5857
Add empty stub files for Postgres.
2012-01-28 17:43:54 -06:00
Larry Garfield
03bd99a28b
Update documentation blocks for fully qualified class names.
2012-01-28 17:40:14 -06:00
Larry Garfield
a6b6fa5b91
Fix logic in Logger backtrace scanning now that the code is not in the includes directory anymore.
2012-01-28 16:44:35 -06:00
Larry Garfield
a731ac1df9
Merge branch '1400748-namespaces' into dbtngtng
2012-01-26 23:48:06 -06:00
Larry Garfield
808c88bd82
Add new readme file for the lib directory itself that specifies PSR-0.
2012-01-25 09:01:39 -06:00
Larry Garfield
fc73713158
Minor language tweaks.
2012-01-25 09:01:12 -06:00
Larry Garfield
f4a58c3f3a
Move Postgres code to PSR-0.
2012-01-23 21:16:26 -06:00
Larry Garfield
92286713d5
Move database files to the new lib directory and update code accordingly.
2012-01-22 23:56:07 -06:00
Larry Garfield
8b8c2a9463
refs #1400748 by Crell: Update docblocks and the installer for the new namespaces.
2012-01-22 22:25:13 -06:00
Larry Garfield
8b0adb6e1e
refs #1400748 by Crell: Add README files to document the purpose of various core directories.
2012-01-22 21:24:00 -06:00
Larry Garfield
7048b2195f
refs #1400748 by Crell: Move Cache subsystem to the Core namespace.
2012-01-22 21:05:01 -06:00
Larry Garfield
0cb703be45
refs #1400748 by Crell: Move Drupal and Symfony code to core/lib and core/vendor respectively.
2012-01-22 20:56:35 -06:00