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