kikito
756c07c180
hides the admin checkboxes in annotator when editing an existing annotation
2015-12-18 16:31:30 +01:00
kikito
60e78e58fa
Rename ability
2015-12-16 18:44:27 +01:00
kikito
cf04b48d4e
Allow anyone to search and read annotations
2015-12-16 18:10:17 +01:00
kikito
c98360fa87
Return a permissions hash with all the annotations
2015-12-16 18:10:02 +01:00
kikito
fc8a1fc84b
allows not-logged-in users to read existing annotations
2015-12-16 16:26:59 +01:00
rgarcia
60d6f1c41b
annotates legislations instead of proposals
2015-12-16 11:45:47 +01:00
rgarcia
9c3fda076d
adds legislation permissions
2015-12-16 11:45:47 +01:00
rgarcia
996e87cb13
adds legislations
2015-12-16 11:45:46 +01:00
Abigail Sosa
bb5da1af7f
Se agrega usuario autor a cada anotacion
2015-12-16 11:45:46 +01:00
Abigail Sosa
189a6426b1
Se agregan anotaciones a propuestas existentes
2015-12-16 11:45:46 +01:00
Jakub
e4b31cfe29
Move automatic official_level assignment to the controller.
2015-12-01 23:18:23 +01:00
Jakub
ea9a2b3be6
Better names for the official email methods
2015-11-30 21:52:48 +01:00
Jakub
da490a4661
Officials level 1 is auto-assigned on email confirmation. Settings option is now optional. Also working on subdomains
2015-11-30 20:48:12 +01:00
Jakub
b4be4259b7
Level 1 officials are now auto-assigned. Rake user:check_email_domains created.
2015-11-29 00:55:15 +01:00
rgarcia
3f68c6726a
maintains responsible name when user is erased
2015-11-23 19:12:57 +01:00
rgarcia
44f2b49647
adds consistency between debates and proposals
2015-11-23 13:40:31 +01:00
rgarcia
a44242b82a
orders results after search
2015-11-23 13:40:05 +01:00
rgarcia
1429728368
improves search order
2015-11-18 21:30:12 +01:00
rgarcia
c212aa3afd
fixes specs
2015-11-18 21:04:16 +01:00
rgarcia
8b22c59bec
removes trigram search algorithm
2015-11-18 20:04:19 +01:00
rgarcia
f63500b0c8
breaks down method into smaller ones
2015-11-18 17:57:57 +01:00
rgarcia
8188b29e10
adds consistent indentation to hash
2015-11-18 17:57:57 +01:00
kikito
c7bf31c588
Make search cache order aware & accept values instead of column names
2015-11-18 17:57:57 +01:00
rgarcia
1de91658c7
extracts cached tsvector to concern
2015-11-18 17:57:56 +01:00
rgarcia
fa83e196ca
adds tags to tsvector
2015-11-18 17:57:56 +01:00
rgarcia
25184666a5
uses tsvector column to search
2015-11-18 17:57:56 +01:00
Juanjo Bazán
c258a4f3b4
adds scope for only normal user comments
2015-11-12 12:15:36 +01:00
Juanjo Bazán
7f1fe034a3
adds user's public show page
2015-11-03 19:29:35 +01:00
kikito
73c306a673
Adds 3 orders for comments: most_voted, newest, oldest
2015-11-02 14:01:55 +01:00
kikito
2fab210ac8
merges with master and fixes conflicts
2015-10-31 17:09:52 +01:00
rgarcia
ebf44c8777
temporarily using old search for debates
2015-10-30 21:54:15 +01:00
rgarcia
9132406569
bringing back standard pg_search configuration for debates
2015-10-30 21:53:58 +01:00
rgarcia
640bea39c5
removes tsearch for debates
2015-10-30 21:35:16 +01:00
rgarcia
3eb9fb41aa
increasing trigram threshold for debates
2015-10-30 21:32:16 +01:00
rgarcia
57b9266675
removes dictionary from debate search
2015-10-30 21:24:46 +01:00
kikito
0cf592af71
Fixes two issues in comment_tree
...
* The descendants list for a comment was not being built correctly
* The root comments must be ordered “newest first”, but their
descendants must be ordered “newest last”
2015-10-30 20:06:36 +01:00
rgarcia
f523205586
includes physical votes in score calculations
2015-10-30 19:26:45 +01:00
rgarcia
5223ec664c
adds physical_votes to vote counter
2015-10-30 19:26:25 +01:00
rgarcia
55acc5d3d1
adds pg_search to proposals
2015-10-29 14:26:20 +01:00
rgarcia
196bc04901
adds pg_search to debates
2015-10-29 14:26:20 +01:00
kikito
a7daf0108b
sorts comments by creation date after sorting by confidence_score
2015-10-28 17:34:02 +01:00
kikito
f5d9ea4357
adds confidence_score capacity to the comment model
2015-10-28 16:25:35 +01:00
Juanjo Bazán
cf4f9945e8
checks letter verification code as integers
2015-10-27 19:15:01 +01:00
Juanjo Bazán
bd4168ef75
changes generation of letter verification code
...
to keep generating six digit numbers but avoid starting with zero because can led to errors when sent to users.
2015-10-27 13:32:38 +01:00
rgarcia
c71bf4c876
tracks visits from different email templates
2015-10-22 12:23:15 +02:00
Juanjo Bazán
c896fc3eef
adds ability for featured_votes of proposals
2015-10-22 11:53:32 +02:00
Enrique García
a8d98c5426
Merge pull request #630 from AyuntamientoMadrid/fix-erase
...
Fix erase
2015-10-21 15:31:45 +02:00
kikito
6c5d1faa90
Uses the new field, erased_at, for erased users
2015-10-21 14:28:21 +02:00
kikito
f08cf591b6
fixes an issue where users which requested a letter did not get the verification code set up
2015-10-21 12:08:56 +02:00
Enrique García
3897af6b71
Merge pull request #627 from AyuntamientoMadrid/refactor-votes-spec
...
refactors votes_spec
2015-10-20 19:51:21 +02:00