Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 10:33:40 +0200] rev 5607
skip flymake junk when reloading
this avoids nasty ex aequo scores in selectors in dev. mode
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 10:18:02 +0200] rev 5606
merge back to stable some changes made on site for a customer.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 10:06:07 +0000] rev 5605
[win32 SQLServer] connection lost detection
The pyodbc driver when connected to SQLServer 2005 reports lost connections in
a quite strange way, raising a pyodbc.Error exception with a specific exc.args value.
This patch catches these and reconnect properly.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 10:03:50 +0000] rev 5604
ldap: reset cache when a user is deleted
When a user is deleted from ldap, reset both caches used by the source
otherwise the search is not performed again and exceptions such as
UnknownEid: No entity with eid 74078 in the repository
will occur
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 09:58:23 +0000] rev 5603
ldap source logging
Added some extra logging statement to understand what happens in the ldap source.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 09:57:02 +0000] rev 5602
forbid looping tasks with an interval of 0
This severly harm the server, and generally are the result of a
baaad configuration file. We want to stop the server asap when
this is detected to give people a chance to fix the configuration.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 09:54:07 +0000] rev 5601
/siteinfo page: display information about the names of the running threads
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Sat, 29 May 2010 09:52:31 +0000] rev 5600
[win32 service] activate logging to the configured file as soon as possible
since we don't always have access to the system events of the computer running CW
it is important to get as much information as possible in the log file, especially
startup failure messages.
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 28 May 2010 08:05:17 +0200] rev 5599
[bfss] Rename filenames according to their metadata on entity update.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 18:32:27 +0200] rev 5598
[form] missing return...
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 18:17:29 +0200] rev 5597
[adapters] fix NameError introduced by adapters refactoring
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 17:19:44 +0200] rev 5596
[security] fix security insertion on DISTINCT queries
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 15:49:48 +0200] rev 5595
[adapters] fix bad copy and past....
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 15:46:27 +0200] rev 5594
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 15:45:22 +0200] rev 5593
[rql2sql] properly compute scope for variable from temporary tables
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 14:59:05 +0200] rev 5592
[form] fix bw compat issue introduced by 5588:377c9adfe81e
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 14:37:32 +0200] rev 5591
[web] update to 3.9 Entity api
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 12:33:48 +0200] rev 5590
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 12:31:45 +0200] rev 5589
[migration] force 3.8.3 migration, and fix it (same_as not necessarily there, missing group change for max-post-length)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 12:31:43 +0200] rev 5588
[forms] refactor action handling to ease overriding while keeping action overrideable by instance (closes #969167)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 12:31:40 +0200] rev 5587
[web] dont attempt to update last login time on ldap users, avoiding spurious tb in logs (closes #914464)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 12:31:39 +0200] rev 5586
[c-c] use logilab.database, not lgc.db
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 12:31:37 +0200] rev 5585
[sqlite] fix crash on db-create with sqlite abd unexistent database due to missing paren in logical expression (closes #909604)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 12:31:34 +0200] rev 5584
[web] disallow authenticated users to access to the login form (closes #914873)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 11:01:50 +0200] rev 5583
[reledit] #894131: use "<`attribute` unset>" instead of generic "<not specified>" when an attribute or relation has no value
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 26 May 2010 10:28:48 +0200] rev 5582
[rql2sql] follow rql 0.26.1 changes: NOT nodes normalization, allowing simplification of sql generation, and fix #XXX
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 May 2010 12:21:17 +0200] rev 5581
[repo] ensure thread is alive before calling .join. Closes #963580
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 May 2010 12:20:26 +0200] rev 5580
[migration] add migration file commands to follow option group changes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 May 2010 11:56:16 +0200] rev 5579
fix 978144: exception with view send-email if empty subject
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 May 2010 11:51:48 +0200] rev 5578
[test] fix test broken by introduction of adapters
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 May 2010 10:55:57 +0200] rev 5577
[schema] fix same_as cardinality and bump Bookmark.path max length to approximative max url size
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 May 2010 09:50:20 +0200] rev 5576
[deprecation] fix 3.9 deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 25 May 2010 09:50:12 +0200] rev 5575
no more Image type w/ cw 3.9
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 18:40:26 +0200] rev 5574
[fti] fix name conflict introduced by the new IFTIAdapter
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 18:39:40 +0200] rev 5573
[entity] clearing adapters cache in clear_relations_cache avoid weird caching issue, notably on repository session's user
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:06:29 +0200] rev 5572
[vreg] should raise exception on select ambiguity when running in test mode
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:05:44 +0200] rev 5571
[adapters compat] make implements_adapter_compat selector compatible with attributes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:04:56 +0200] rev 5570
[test] no more Image type w/ cw 3.9
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:04:29 +0200] rev 5569
[adapters] refactoring fixes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:02:56 +0200] rev 5568
[selectors] ensure selector return an int
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:02:42 +0200] rev 5567
[selectors] adaptable selector should not accept None in rset
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:02:14 +0200] rev 5566
[selectors] lltrace appobject_selectable selector
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:01:46 +0200] rev 5565
[selectors] allow to override `accept_none` value of EClassSelector / EntitySelector based selector by specifying a value in selection context
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 15:00:01 +0200] rev 5564
[selectors] move lltrace decorator and traced_selection cm to appobject module so we can apply lltrace to And/Or/Not selectors, fixing #662565
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 13:35:08 +0200] rev 5563
with cw 3.9, no more Image type
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 13:34:52 +0200] rev 5562
[vreg] on registration completed, don't crash if an object depends on an unexistant registry, simply kick the object out
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 13:34:03 +0200] rev 5561
[selectors] ensure adaptable('IDownloadable') takes precedence over implements('Any')
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 08:45:25 +0200] rev 5560
[primary view] fix name error on dispctrl w/ pre 3.5 box definition
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 21 May 2010 07:56:39 +0200] rev 5559
[entity] fix access to attribute which has been renamed two revisions ago
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 20:50:03 +0200] rev 5558
[schema migration] make some stuff to ease file 1.9 migration : we want to kill the Image entity so that existing image are turned into (existing entity type) File entities
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 20:50:00 +0200] rev 5557
[entity] continue cleanup of Entity/AnyEntity namespace
* prefix by cw_ or _cw all '2nd zone' attributes / methods, other
most commonly used will be done later (some methods used by client
are made private anyway when they are for internal purpose anyway)
* kill set_eid, use direct affectation instead
* kill the auto-transmutation feature (pre_add_hook), hence releasing
3.9 will require releasing file cube as well
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 20:47:55 +0200] rev 5556
[entity] introduce a new 'adapters' registry
This changeset introduces the notion in adapters (as in Zope Component Architecture)
in a cubicweb way, eg using a specific registry of appobjects.
This allows nicer code structure, by avoid clutering entity classes and moving
code usually specific to a place of the ui (or something else) together with the
code that use the interface.
We don't use actual interface anymore, they are implied by adapters (which
may be abstract), whose reg id is an interface name.
Appobjects that used to 'implements(IFace)' should now be rewritten by:
* coding an IFaceAdapter(EntityAdapter) defining (implementing if desired)
the interface, usually with __regid__ = 'IFace'
* use "adaptable('IFace')" as selector instead
Also, the implements_adapter_compat decorator eases backward compatibility
with adapter's methods that may still be found on entities implementing
the interface.
Notice that unlike ZCA, we don't support automatic adapters chain (yagni?).
All interfaces defined in cubicweb have been turned into adapters, also
some new ones have been introduced to cleanup Entity / AnyEntity classes
namespace. At the end, the pluggable mixins mecanism should disappear in
favor of adapters as well.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 20:47:13 +0200] rev 5555
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 20:45:28 +0200] rev 5554
[config] move web specific config to the web section of the configuration file
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 20:45:21 +0200] rev 5553
* * *
[server] move daemonize code to lgc.daemon. Fix on the way pb w/closed standard output on repository config
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 10:55:33 +0200] rev 5552
typo
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 10:41:36 +0200] rev 5551
[migration] fix storage_change migraction to avoid exhausting the server's memory
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 10:40:57 +0200] rev 5550
[repo] set log methods on the actually desired class
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 20 May 2010 10:40:33 +0200] rev 5549
[bfss] ensure base name doesn't contain path separator
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 20 May 2010 10:40:55 +0200] rev 5548
merge
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Thu, 20 May 2010 10:40:29 +0200] rev 5547
[web] remove dead code
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 20 May 2010 10:04:45 +0200] rev 5546
[forms] consider __action_xxx field if passed to JSonController.validate_form
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 May 2010 18:18:08 +0200] rev 5545
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 May 2010 18:15:42 +0200] rev 5544
Added tag cubicweb-debian-version-3.8.2-1 for changeset 2b962bb9eee8
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 May 2010 18:15:42 +0200] rev 5543
Added tag cubicweb-version-3.8.2 for changeset ef2e37d34013
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 May 2010 16:49:41 +0200] rev 5542
[test] absolute sqlite database names in source initialization, avoid pb when cwd is changed later
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 May 2010 16:49:00 +0200] rev 5541
clenup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 May 2010 15:06:09 +0200] rev 5540
3.8.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 May 2010 14:56:41 +0200] rev 5539
[wdoc] update users changelog
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 May 2010 14:28:44 +0200] rev 5538
[integrity] keep ordering for schema integrity checks
set_operation gained a new containercls argument, so one can choose
to use list or set (by default). Use this when registering schema
integrity check operation.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 May 2010 14:26:19 +0200] rev 5537
[i18ncube] do not crash if cube has nothing to translate
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 May 2010 14:25:37 +0200] rev 5536
[skel] enable wdoc support in new cubes
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 May 2010 14:24:04 +0200] rev 5535
[preferences] support dot (.) in registry id of configurable appobjects
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 May 2010 10:30:34 +0200] rev 5534
[i18ncube] we must load site_cubicweb file before calling set_schema, else we may miss some options or other initialization stuff necessary to appobject loading
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 18 May 2010 10:28:50 +0200] rev 5533
[dtd] add unselimg attribute use by widget for HasRelationFacet
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 May 2010 17:31:45 +0200] rev 5532
remove 3.7 deprecation warning
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 May 2010 17:31:29 +0200] rev 5531
catch unauthorized when executing rql to check an rql expression. Fix #968824
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 May 2010 17:30:52 +0200] rev 5530
[startup view] sort startup views by alphabetical order
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 May 2010 17:30:28 +0200] rev 5529
[table view] should use __regid__ instead of hard-coded 'table' view identifier
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 May 2010 17:29:54 +0200] rev 5528
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 May 2010 11:05:37 +0200] rev 5527
backport stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 17 May 2010 11:04:52 +0200] rev 5526
[facet] control i18nization of values on AttributeFacet
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Sun, 16 May 2010 19:00:07 +0200] rev 5525
[views] tab schema image renamed to schema diagram
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 May 2010 17:07:07 +0200] rev 5524
[uicfg] fix handling of 'order' in the primaryview_display_ctrl rtag: consider by default only schema order, not order of appearance of rules
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 May 2010 15:25:17 +0200] rev 5523
[db-check] RQLConstraint is not a 'unique' constraint
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 May 2010 13:12:03 +0200] rev 5522
[entity] avoid getting w in cw_extra_kwargs when calling .view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 May 2010 12:36:39 +0200] rev 5521
[actions box] enhance add related menu generation: don't propose to add relation of single cardinality where entity already have the relation set
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 May 2010 12:20:47 +0200] rev 5520
[primary view] allow new 'subvid' parameter in primaryview_display_ctrl
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 May 2010 12:19:41 +0200] rev 5519
[primary view] give dispctrl to side box views as for relations section
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 May 2010 12:18:48 +0200] rev 5518
[web] unify list views call arguments: use subvid to specify the view to use for each item
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 May 2010 12:17:46 +0200] rev 5517
[web] refactor side box to use autolimited view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 May 2010 12:16:41 +0200] rev 5516
[req] avoid getting w in cw_extra_kwargs when calling .view
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 12 May 2010 09:29:53 +0200] rev 5515
[config] rename remaining inputlevel to level in option definitions, as expected by lgc >= 0.50
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 May 2010 16:58:35 +0200] rev 5514
[fti] simplify UpdateFTIHook code
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 May 2010 16:48:26 +0200] rev 5513
[twisted] we must set response code before starting to write the answer, else it's ignored
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 May 2010 16:26:29 +0200] rev 5512
cleanup
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 May 2010 08:29:15 +0200] rev 5511
[web data] remove files not used by the framework
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 May 2010 18:06:51 +0200] rev 5510
[css] keep old css according to a configuration variable (true by default)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 May 2010 17:49:42 +0200] rev 5509
[3.8 execute] remove deprecation warnings
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 May 2010 16:59:32 +0200] rev 5508
backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 10 May 2010 15:20:54 +0200] rev 5507
[dbapi] missing import
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 May 2010 15:16:37 +0200] rev 5506
[ajax] missing html heads processing in reloadComponent (sic\!)
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 May 2010 15:15:06 +0200] rev 5505
[deprecation] missing version number to old warning message
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 May 2010 15:14:47 +0200] rev 5504
[table view] we should call the cell view using the table rset, not one rebuilded for a specific entity
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 10 May 2010 15:14:13 +0200] rev 5503
[table view] take care to None label
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 May 2010 20:07:54 +0200] rev 5502
[selectors] new logged_user_in_rset selector
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Fri, 07 May 2010 16:50:09 +0200] rev 5501
merge
egazoni [Fri, 07 May 2010 15:25:09 +0200] rev 5500
replaced hardcoded 'web/view' by os.path.join('web', 'view') so views path is also valid under windows
egazoni [Fri, 07 May 2010 15:03:03 +0200] rev 5499
fixed bug of non-normalized path under Windows, that broke the reload mechanism
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 07 May 2010 14:42:18 +0200] rev 5498
[c-c list] configuration pb cubes directly hold version number now, avoid crash when reporting errors
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 06 May 2010 16:23:39 +0000] rev 5497
Handle new way of reporting unmodified FileFields
when a FileField has not been modified, value is an empty string.
Handle this is raise UnmodifiedField accordingly.
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 06 May 2010 14:48:44 +0200] rev 5496
merge
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 06 May 2010 14:46:58 +0200] rev 5495
attempt to port windows service to 3.8.1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 May 2010 14:26:47 +0200] rev 5494
[web session] fix potential key error on logout (occurs once the session has been transparently reconnected, hence session.sessionid and session.cnx.sessionid differs)
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 06 May 2010 14:29:07 +0200] rev 5493
[css] update print css
Katia Saurfelt <katia.saurfelt@logilab.fr> [Thu, 06 May 2010 14:29:05 +0200] rev 5492
[doc] cleanup
Alexandre Fayolle <alexandre.fayolle@logilab.fr> [Thu, 06 May 2010 14:27:57 +0200] rev 5491
[python2.6] do not import simplejson directly
use indirect import through cubicweb.web
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 May 2010 12:57:49 +0200] rev 5490
[selectors] fix no_cnx selector's prototype
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 May 2010 11:30:46 +0200] rev 5489
[web config] set default uiprops on web config class to avoid error on commands such as i18n instance
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 06 May 2010 08:25:02 +0200] rev 5488
backport stable