Ben Kurtovic
c772f382d4
Actually pick new IDs for subsequent cases.
12 vuotta sitten
Ben Kurtovic
c0302dc800
cursor.executemany(), not cursor.execute().
12 vuotta sitten
Ben Kurtovic
b2285130f6
Add a bunch of fields to the case saver/updater that I missed.
12 vuotta sitten
Ben Kurtovic
1687857c61
Rename all tables to plural forms, and fix another bug.
12 vuotta sitten
Ben Kurtovic
0a88f16411
A bit of an evil hack to get around a limitation in oursql?
12 vuotta sitten
Ben Kurtovic
8dbebf8a63
Rename `case` table to `cases`.
12 vuotta sitten
Ben Kurtovic
641eb5bd8c
Tuple, not string.
12 vuotta sitten
Ben Kurtovic
3e2739c26c
Ironing out some bugs.
12 vuotta sitten
Ben Kurtovic
88d4a7be46
Fix a bunch of bugs; mainly typos.
12 vuotta sitten
Ben Kurtovic
ddd75c3c37
Set a proper index for the volunteer table.
12 vuotta sitten
Ben Kurtovic
70c284bca9
Hopefully, smarter handling of closed/resolved cases.
12 vuotta sitten
Ben Kurtovic
8c4f77d55e
Remove 'archive' status; simply do the necessary actions.
12 vuotta sitten
Ben Kurtovic
ec525dc96c
Some cleanup and fixes.
12 vuotta sitten
Ben Kurtovic
18d451974d
Store time data as actual datetime objects instead of UNIX time.
12 vuotta sitten
Ben Kurtovic
80bc2c527d
Implement chart feature.
12 vuotta sitten
Ben Kurtovic
87d862bdab
Get rid of talk notices.
12 vuotta sitten
Ben Kurtovic
d32e074089
Support case title param for the stale notice.
12 vuotta sitten
Ben Kurtovic
baed0c7861
Merge branch 'feature/drn_clerkbot' into develop
12 vuotta sitten
Ben Kurtovic
205ae4b7a6
Implement read_signatures().
12 vuotta sitten
Ben Kurtovic
01d72171e3
Implement notify_parties().
12 vuotta sitten
Ben Kurtovic
ff93105c3c
Finish implementing clerk_review_case().
12 vuotta sitten
Ben Kurtovic
d086f03c2c
Implement last_volunteer_size.
12 vuotta sitten
Ben Kurtovic
8713607df3
Implement get_signatures_from_db().
12 vuotta sitten
Ben Kurtovic
64b9b77cf4
Implement storing signatures in the database.
12 vuotta sitten
Ben Kurtovic
ab1fe9926a
Split up that one huge function into three.
12 vuotta sitten
Ben Kurtovic
eb729fd933
Implement storing updates in database and applying updates to case.
12 vuotta sitten
Ben Kurtovic
d2b4379ebf
Implementing some more; adding TODO notes in margins.
Will finish in morning.
12 vuotta sitten
Ben Kurtovic
ec0a95d66a
Implementing more things.
12 vuotta sitten
Ben Kurtovic
cdee43eb06
Implement some more clerking cases.
12 vuotta sitten
Ben Kurtovic
de5fc95c83
Cleanup function signatures a bit; some more work.
12 vuotta sitten
Ben Kurtovic
5d99c7e1a7
More of a framework for the clerking function.
12 vuotta sitten
Ben Kurtovic
ca6f386802
TODO list for clerk_case().
12 vuotta sitten
Ben Kurtovic
2703d0eed9
Implement database synchronization with volunteer list.
12 vuotta sitten
Ben Kurtovic
d2b82b60d9
Implementing more code for dealing with the volunteer list.
12 vuotta sitten
Ben Kurtovic
ef4c7a187a
update_case_title()
12 vuotta sitten
Ben Kurtovic
c589d16ede
Support for sending notices.
12 vuotta sitten
Ben Kurtovic
015eb44a89
A bunch of updates.
12 vuotta sitten
Ben Kurtovic
93228d5b08
Read cases from the database too.
12 vuotta sitten
Ben Kurtovic
e2dcc9d50b
Add status parsing, plus start schema for the SQL table.
12 vuotta sitten
Ben Kurtovic
8c8b497d63
Starting work
12 vuotta sitten
Ben Kurtovic
ad0dd972cb
data.command, not self.command!
12 vuotta sitten
Ben Kurtovic
7d52d4558a
Some updates to !lag.
12 vuotta sitten
Ben Kurtovic
33aa1d6744
Collapse extra newlines to avoid distorting trigrams.
12 vuotta sitten
Ben Kurtovic
96c815df35
Removing task that doesn't need to be run anymore.
12 vuotta sitten
Ben Kurtovic
3ed6c709c2
Oops!
12 vuotta sitten
Ben Kurtovic
14e2114acd
Made this a bit cleaner.
Will revise all permissions code eventually when adopting the
permissions.db system.
12 vuotta sitten
Ben Kurtovic
b62e0d5140
Merge pull request #33 from Yulli/develop
Allow a normal user to devoice and deop themselves
12 vuotta sitten
Justin Yulli Kim
86639a977c
A normal user can devoice and deop themselves
12 vuotta sitten
Ben Kurtovic
c19a1bde2e
Determine which cookies apply to which domains better.
12 vuotta sitten
Ben Kurtovic
3f1737717c
More accurate handling when using get_site(lang, project).
Some wikis (like frwiki), set their projects to localized forms of
the expected (so "wikipedia" becomes "wikipédia"). An additional
search by URL in _get_site_name_from_sitesdb() fixes this.
12 vuotta sitten