[db] Ensure lowercase where case-insensitive
Bug #401320 reported by
Stefano Rivera
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ibid |
Fix Released
|
Low
|
Stefano Rivera |
Bug Description
Whenever we do this
.filter(
we are bypassing our indexes and having to write ugly code.
Let's just get the stuff right in the first place.
The ORM object can ensure that things are stored in the correct case.
Related branches
lp:~stefanor/ibid/db-case-401320
Rejected
for merging
into
lp:~ibid-core/ibid/old-trunk-pack-0.92
- Michael Gorven: Needs Fixing
-
Diff: 632 lines9 files modifiedibid/core.py (+4/-2)
ibid/models.py (+40/-11)
ibid/plugins/auth.py (+7/-7)
ibid/plugins/feeds.py (+10/-10)
ibid/plugins/identity.py (+36/-27)
ibid/plugins/karma.py (+16/-6)
ibid/plugins/memo.py (+6/-9)
ibid/plugins/seen.py (+13/-7)
scripts/ibid_import (+2/-3)
lp:~stefanor/ibid/db-case-insensitive-401320
- Michael Gorven: Approve
- Jonathan Hitchcock: Approve
-
Diff: 2585 lines (+976/-689)20 files modifiedibid/auth.py (+7/-6)
ibid/core.py (+7/-6)
ibid/db/__init__.py (+18/-0)
ibid/db/models.py (+96/-478)
ibid/db/types.py (+62/-0)
ibid/db/versioned_schema.py (+515/-0)
ibid/plugins/auth.py (+4/-6)
ibid/plugins/factoid.py (+48/-29)
ibid/plugins/feeds.py (+38/-26)
ibid/plugins/identity.py (+23/-24)
ibid/plugins/karma.py (+33/-20)
ibid/plugins/memo.py (+61/-43)
ibid/plugins/seen.py (+28/-18)
ibid/plugins/url.py (+12/-6)
ibid/source/irc.py (+5/-3)
scripts/ibid-db (+5/-3)
scripts/ibid-factpack (+6/-9)
scripts/ibid-plugin (+1/-1)
scripts/ibid-setup (+3/-2)
scripts/ibid_import (+4/-9)
Changed in ibid: | |
assignee: | nobody → Stefano Rivera (stefanor) |
status: | New → In Progress |
Changed in ibid: | |
status: | In Progress → Fix Released |
To post a comment you must log in.