Commit 7fec10a
committed
Update as of 8/1/2012
* Refactored ACL for the backend
* ACL resources
* Strict configuration format, validated by XSD schema
* ACL configuration relocation from `app/code/<pool>/<namespace>/<module>/etc/adminhtml.xml` to `app/code/<pool>/<namespace>/<module>/etc/adminhtml/acl.xml`
* Renamed ACL resource identifiers according to the format `<namespace>_<module>::<resource>` throughout the system
* Backend menu configuration requires to specify ACL resource identifier in the new format
* Explicit declaration of ACL resources in `app/code/<pool>/<namespace>/<module>/etc/system.xml` instead of implicit relation by XPath
* Migration tool `dev/tools/migration/acl.php` to convert ACL configuration from 1.x to 2.x
* Declaration of ACL resource/role/rule loaders through the area configuration
* Module `Mage_Backend` declares loader for ACL resources in backend area
* Module `Mage_User` declares loaders for ACL roles and rules (relations between roles and resources) in backend area
* Implemented integrity and legacy tests for ACL
* Fixed issues:
* Losing qty and visibility information when importing products
* Impossibility to reload captcha on backend
* Temporary excluded from execution integration test `Mage_Review_Model_Resource_Review_Product_CollectionTest::testGetResultingIds()` and corresponding fixture script, which cause occasional `segmentation fault` (exit code 139)
* Refactored methods with high cyclomatic complexity:
* `Mage_Adminhtml_Block_System_Store_Edit_Form::_prepareForm()`
* `Mage_Adminhtml_Block_System_Config_Form::initForm()`
* `Mage_Adminhtml_Block_System_Config_Form::initFields()`
* GitHub requests:
* [#32](#32) -- fixed declaration of localization CSV files
* [#35](#35) -- removed non-used `Mage_Core_Block_Flush` block
* [#41](#41) -- implemented ability to extends `app/etc/local.xml` by specifying additional config file via `MAGE_LOCAL_CONFIG` environment variable1 parent a27835b commit 7fec10a
File tree
428 files changed
+9597
-4140
lines changed- app/code
- community/Phoenix/Moneybookers/etc
- adminhtml
- core/Mage
- AdminNotification/etc
- adminhtml
- Adminhtml
- Block
- Cache
- Catalog/Product
- Edit
- Tab
- Cms
- Page
- Edit/Tab
- Customer
- Edit
- Online
- Notification
- Sales
- Creditmemo
- Invoice
- Items
- Order
- Creditmemo
- Invoice
- Create
- Shipment
- View
- Tab
- Shipment
- Transactions
- System
- Config
- Store
- Edit
- Form
- Controller/Sales
- controllers
- Api
- Catalog
- Product
- Action
- Checkout
- Cms
- Wysiwyg
- Customer
- Cart/Product/Composite
- Wishlist/Product/Composite
- Media
- Newsletter
- Poll
- Promo
- Report
- Sales
- Billing
- Order
- System
- Convert
- Email
- Tax
- Class
- etc
- adminhtml
- view/adminhtml
- page
- system/config
- Admin/Model
- Resource
- Api2
- Block/Adminhtml
- Attribute
- Roles
- controllers/Adminhtml/Api2
- etc
- adminhtml
- Api/etc
- adminhtml
- Backend
- Block
- Menu
- Widget/Form
- Model
- Acl
- Config
- Reader
- Loader
- Auth
- Menu
- Builder/Command
- Config
- Item
- etc
- Backup
- Helper
- etc/adminhtml
- Captcha
- Block/Captcha
- etc
- CatalogInventory/etc
- adminhtml
- CatalogRule/etc
- adminhtml
- CatalogSearch/etc/adminhtml
- Catalog/etc
- adminhtml
- Centinel/etc
- Checkout/etc
- adminhtml
- Cms
- Model/Wysiwyg
- etc
- adminhtml
- Connect
- controllers/Adminhtml/Extension
- etc
- adminhtml
- Contacts/etc
- adminhtml
- Core
- Model
- Acl
- etc
- CurrencySymbol
- controllers/Adminhtml/System
- etc
- adminhtml
- Customer/etc
- adminhtml
- Dataflow/etc
- DesignEditor
- controllers/Adminhtml/System/Design
- etc/adminhtml
- Directory/etc
- Downloadable
- controllers/Adminhtml/Downloadable
- etc
- adminhtml
- Eav/Model/Entity
- GoogleAnalytics/etc
- adminhtml
- GoogleCheckout/etc
- adminhtml
- GoogleOptimizer/Block/Adminhtml/Cms/Page/Edit/Tab
- GoogleShopping
- controllers/Adminhtml/Googleshopping
- etc
- adminhtml
- ImportExport
- Model/Import/Entity
- Product/Type
- controllers/Adminhtml
- etc
- adminhtml
- Index
- Block/Adminhtml
- controllers/Adminhtml
- etc/adminhtml
- Newsletter/etc
- adminhtml
- Oauth
- Block/Adminhtml/Oauth
- AuthorizedTokens
- Consumer
- controllers/Adminhtml/Oauth
- Admin
- etc
- adminhtml
- Ogone/etc
- PageCache
- Block/Adminhtml/Cache
- controllers/Adminhtml
- etc/adminhtml
- Payment/etc
- adminhtml
- Paypal
- controllers/Adminhtml/Paypal
- etc
- adminhtml
- Persistent/etc
- adminhtml
- Poll/etc/adminhtml
- Rating/etc
- adminhtml
- Reports/etc
- adminhtml
- Review/etc
- adminhtml
- Rss
- controllers
- etc
- adminhtml
- SalesRule/etc/adminhtml
- Sales
- Block/Adminhtml
- Billing/Agreement
- Recurring/Profile/View/Tab
- Model
- etc
- adminhtml
- Sendfriend/etc
- Shipping/etc
- adminhtml
- Sitemap/etc
- adminhtml
- Tag/etc
- adminhtml
- Tax/etc
- adminhtml
- User
- Block/Role/Tab
- Model
- Acl
- Loader
- Role
- Resource
- controllers/Adminhtml
- User
- data/user_setup
- etc
- adminhtml
- sql/user_setup
- Weee/etc
- Widget
- controllers/Adminhtml/Widget
- etc/adminhtml
- Wishlist/etc
- adminhtml
- XmlConnect
- controllers/Adminhtml
- etc
- adminhtml
- dev
- tests
- integration
- framework/Magento/Test
- testsuite
- Mage
- Adminhtml/Block/System
- Config
- Store
- Edit/Form
- Backend/Model
- Captcha/Block/Captcha
- Core
- Block
- Model
- _files/local_config
- local_config_custom_config
- custom
- local_config_no_custom_config
- no_local_config_custom_config
- custom
- no_local_config_no_custom_config
- Newsletter/Model
- Review
- Model/Resource/Review/Product
- _files
- User
- Block/Role/Tab
- Model
- integrity/modular
- performance
- framework
- Magento
- tests/unit/testsuite/Magento
- testsuite/_samples
- static/testsuite
- Legacy
- _files
- Php/_files/whitelist
- unit/testsuite
- Magento
- Acl/Loader
- Config/_files/dom
- Mage
- Admin/Model
- _files
- Backend/Model
- Acl
- Config
- Loader
- Menu
- Builder/Command
- Item
- _files
- Core/Model/Acl
- Eav/Model/Entity
- User/Model/Acl/Loader
- tools/migration/Acl
- Menu
- _files
- app/code
- community/Namespace/Module/etc
- adminhtml
- core
- Enterprise/Module/etc
- adminhtml
- Mage/Module/etc
- adminhtml
- local/Namespace/Module/etc
- adminhtml
- remove
- save
- tools/migration
- Acl
- Menu
- log
- downloader/Maged/Model
- lib/Magento
- Acl
- Loader
- Role
- Config
- pub
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
428 files changed
+9597
-4140
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
1 | 28 | | |
2 | 29 | | |
3 | 30 | | |
| |||
Lines changed: 7 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
46 | 38 | | |
47 | 39 | | |
48 | 40 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | 112 | | |
328 | 113 | | |
329 | 114 | | |
| |||
0 commit comments