Merge lp:~mikel-martin/openobject-server/6.1-fix-dbfilter-ignored-in-config-file into lp:openobject-server/6.1

Proposed by mikel
Status: Needs review
Proposed branch: lp:~mikel-martin/openobject-server/6.1-fix-dbfilter-ignored-in-config-file
Merge into: lp:openobject-server/6.1
Diff against target: 11 lines (+1/-1)
1 file modified
openerp/tools/config.py (+1/-1)
To merge this branch: bzr merge lp:~mikel-martin/openobject-server/6.1-fix-dbfilter-ignored-in-config-file
Reviewer Review Type Date Requested Status
Amit Parik (community) Approve
OpenERP Core Team Pending
Review via email: mp+100366@code.launchpad.net

Description of the change

dbfilter in configuration file is ignored

https://bugs.launchpad.net/openobject-server/+bug/940439

To post a comment you must log in.
Revision history for this message
Amit Parik (amit-parik) wrote :

It seems good and working fine.

review: Approve
4133. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4134. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4135. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4136. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4137. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4138. By Olivier Dony (Odoo)

[FIX] res.partner.address: name_search must treat limit=0|None as unlimited

4139. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4140. By Xavier (Open ERP)

[FIX] name search should return results when the limit is False or 0

4141. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4142. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4143. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4144. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4145. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4146. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4147. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4148. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4149. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4150. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4151. By Olivier Dony (Odoo)

[FIX] config: log-handler option was not working if defined in config file

It is now possible to define the log-handler in the config
file. It should be done in the same manner as the addons_path,
i.e. a comma-separated list of strings.
There is no need to pass the default :INFO handler, as this
will be automatically added by the system.
As an example, you can have:
log_handler = werkzeug:CRITICAL,openerp.netsvc.rpc.response:DEBUG

4152. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4153. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4154. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4155. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4156. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4157. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4158. By Xavier ALT

[MERGE] OPW 573086: win32: also package vs2008 runtime under win32 so that service start correctly

4159. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4160. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4161. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4162. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4163. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4164. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4165. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4166. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4167. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4168. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4169. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4170. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4171. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4172. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4173. By Olivier Dony (Odoo)

[FIX] ir.attachments: allow filtering personal attachments by naming the filter

4174. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4175. By Olivier Dony (Odoo)

[FIX] tools.cache: typo preventing caching when @skiparg!=2

4176. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4177. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4178. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4179. By Olivier Dony (Odoo)

[FIX] wsgi.core: typo - gunicorn's post_request() has no argument

4180. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4181. By Xavier ALT

[MERGE] OPW 574830: config: when assigning new value, ensure that value are correctly type checked

4182. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4183. By Xavier ALT

[MERGE] OPW 574830: config: only type check known options

4184. By Xavier ALT

[MERGE] cron: use multi-process signaling + add openerp-cron-worker helper script

4185. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4186. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4187. By Antony Lesuisse (OpenERP)

[MERGE] opw info

4188. By Antony Lesuisse (OpenERP)

[MERGE] opw-573716 translation of avg

4189. By Antony Lesuisse (OpenERP)

[MERGE] opw 573692 wordless rml pager

4190. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4191. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4192. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4193. By Olivier Dony (Odoo)

[MERGE] OPW 575395: orm: don't defer function fields computation during creation of parent records (inheritS)

4194. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4195. By Christophe Simonis (OpenERP)

[FIX] opw: catch invalid results from opw server

4196. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4197. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4198. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4199. By Xavier (Open ERP)

[FIX] creation of action ir_values

4200. By Olivier Dony (Odoo)

[FIX] export_data: avoid access error while auto-generating external IDs during export

4201. By Olivier Dony (Odoo)

[FIX] read_group: remove prohibitive n^2 operations, could freeze the server on large group_by results

This patch replaces two O(n^2) operations, one
filter and one sort, with O(n) or better operations.
It takes slightly more memory due to the use of
one extra data copy, but takes virtually no time
to process even with 600k result lines, whereas
the previous code would just freeze the server
for a long time.

4202. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4203. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4204. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4205. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4206. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4207. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4208. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4209. By Olivier Dony (Odoo)

[FIX] read_group: empty `groupby` case broken by last read_group patch

Revision 4201 broke the case where groupby == []
by mistake.
r.4201 = rev-id <email address hidden>

4210. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4211. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4212. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4213. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4214. By Olivier Dony (Odoo)

[MERGE] fields.many2many: always respect destination table order

4215. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4216. By Olivier Dony (Odoo)

[MERGE] orm: make sure all *Model classes define _auto,_register,_transient

This is required to avoid strange mro() pitfalls
where an AbstractModel is inherited by a Model,
and the _auto=False of AbstractModel ends up
first in the mro() because Model does not explicitly
define it, and the BaseModel default _auto is farther
in the mro().

4217. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4218. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4219. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4220. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4221. By Olivier Dony (Odoo)

[MERGE] OPW 574360: yaml_import: properly handle x2m default values

4222. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4223. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4224. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4225. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4226. By Olivier Dony (Odoo)

[MERGE] OPW 572856: translate: attempt to auto-detect user's language preferences when no context is available

4227. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4228. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4229. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4230. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4231. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4232. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4233. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4234. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4235. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4236. By Vo Minh Thu

[MERGE] merged fix on column._domain.

4237. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4238. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4239. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4240. By Xavier ALT

[MERGE] OPW 51167: report: fix header pageCount always zero + add automatic per-story pageCount (v6.0 forward-port)

4241. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4242. By nel

[FIX] base: remove size from signature field definition

4243. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4244. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4245. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4246. By Olivier Dony (Odoo)

[MERGE] tools.email_send: never close the request's cursor

4247. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4248. By Olivier Dony (Odoo)

[MERGE] OPW 577359: encoding issues when fetching mails with inconsistent encodings

By giving control on the error handling in
tool.ustr(), we let the caller decide what
should happen with invalid characters.
e.g. with errors="replace", all invalid
characters will be replaced by the UTF-8
question-mark character U+FFFD.

4249. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4250. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4251. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4252. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4253. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4254. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4255. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4256. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4257. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4258. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4259. By Olivier Dony (Odoo)

[MERGE] OPW 576295: ir_attachment: fix regression/typo introduced in r.4069

count is explicitly set to False in order to
filter the results coming from upstream before
doing the actual count

4260. By root <root@s16068895>

mikel 2012-02-26 [FIX] dbfilter in configuration file is ignored

4261. By root <root@s16068895>

[sync]

Unmerged revisions

4261. By root <root@s16068895>

[sync]

4260. By root <root@s16068895>

mikel 2012-02-26 [FIX] dbfilter in configuration file is ignored

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'openerp/tools/config.py'
2--- openerp/tools/config.py 2012-05-30 06:42:37 +0000
3+++ openerp/tools/config.py 2012-10-30 13:22:26 +0000
4@@ -153,7 +153,7 @@
5 # WEB
6 # TODO move to web addons after MetaOption merge
7 group = optparse.OptionGroup(parser, "Web interface Configuration")
8- group.add_option("--db-filter", dest="dbfilter", default='.*',
9+ group.add_option("--db-filter", dest="dbfilter", my_default='.*',
10 help="Filter listed database", metavar="REGEXP")
11 parser.add_option_group(group)
12