Changeset 1687
- Timestamp:
- 07/25/08 14:14:24 (6 months ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/admin/Form.py (modified) (1 diff)
- cherokee/trunk/admin/PageVServer.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r1686 r1687 1 1 2008-07-25 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * admin/Form.py (FormHelper.ApplyChangesDirectly): Adds a new 4 method for accessing the configuration directly. 5 6 * admin/PageVServer.py (PageVServer._op_handler): Fixes a 7 bug. 'Final' checkboxes were deselected when submitting any other 8 information from the Virtual Server configuration page. 2 9 3 10 * admin/server.py (Handler.handle_request): Implements support for cherokee/trunk/admin/Form.py
r1514 r1687 382 382 del (self._cfg[confkey]) 383 383 else: 384 self._cfg[confkey] = value 384 self._cfg[confkey] = value 385 386 def ApplyChangesDirectly (self, post): 387 for confkey in post: 388 if not '!' in confkey: 389 continue 390 391 if confkey in self.errors: 392 continue 393 394 value = post[confkey][0] 395 if not value: 396 del (self._cfg[confkey]) 397 else: 398 self._cfg[confkey] = value 385 399 386 400 def ApplyChangesPrefix (self, prefix, checkboxes, post, validation=None): cherokee/trunk/admin/PageVServer.py
r1640 r1687 101 101 return "ok" 102 102 103 self. _op_apply_changes (host, uri,post)103 self.ApplyChangesDirectly (post) 104 104 return 'ok' 105 105