- Refactor
settings
andadmin
sections - Add
publishedAt
to severallaw
s inlib/fixtures
. Closes #289 - Add missing keys to
ca.json
locale translation file. Requires translation - Added Catalonian translation file
- Fix feedback initialization with new header. Fixes #290
- Update citizen middlewares for client. Improve login/logout
- Fix unexpected bug on filtering voted laws
- Fix snapper with new header
- Fix to re-fetch laws after login
- Fix sort in
sorts
to usepublishedAt
field instead ofcreatedAt
. Closes #287 - Change state to loading while fetching tags
- Refetch laws after save/delete law from
admin
pages - Change state to loading while fetching laws
- Re-fetch laws after save/remove from
admin
pages - Updated staff client middleware. Closes #286
- Add public/private status update and delete law with confirmation. Closes #242 #280
- Add
publish
,unpublish
anddelete
API endpoints. #242 - Update queries to only display undeleted laws
- Bump bootstrap to 3.1.1
- Fix site reload on login. Closes #283
- Update endpoint to serve only public laws unless user is staff
- Add
publishedAt
anddeletedAt
fields. Remove unuseddeleted
field - Update images to global international naming
- Update tag image url source from
tag-images
collection - Add
tagImages
as a global var for templates - Remove moved tag images from component.json
- Update form to allow image selection for tags. Closes #278
- Update force tags section as part of
List
at sidebar - Add image key of tag for laws all population
- Provide image key from tag API endpoint #278
- Add image key to model tag #278
- Refactor collection of
tag
images as a module - Fix sidebar not being sensitive to citizen logout. Closes #274
- Add translations for admin sections. Closes #281 #279 #277 #276 #275
- Add force list section on sidebar for law edit view
- Add summary field to form and fix tabindex and options selected query
- Add common styles for admin sections
- Update
README.md
with team categories - Add confirmation dialog styles
- Update pre-delete clause modal message and dont focus on cancel
- Add basic confirmation alert before deleting a clause
- Update styles for list view for admin lists
- Refactor logout to use a middleware. Closes #273
- Add redirect to
/signin
after logout #273 - Refactor logout to use new
logout
component #273 - Add
logout
component #273 - Update list view. Add remove clause method and mechanics.
- Add remove clause endpoint
- Update method .update to properly update 1 by 1 law clauses with new content
- Parse clauses input names before sending on POST request
- Refactor header into independent component. Closes #265
- Add simple clauses creation mechanics
- Add clause API endpoint method to create/update law clauses
- Update
CONTRIBUTING.md
with contribution workflow. Thanks @maraoz! - Add unescaped summary to display law with line breaks. Closes #196
- Add form disabling when posting signin data. Closes #199
- Remove normalize module dependencies from tag model. Closes #264
- Add tag hash normalization when creating a new tag. For existing tags, hash should not be changed as it is used to fetch their image #264
- Add normalize function to utils and rename old normalize function to sanitaze #264
- Remove deprecated functions #264
- Add utils to tag model #264
- Add create and edit tag server side endpoints #264
- Add tag create and edit client endpoints
- Add form-view and template to edit/create a tag #264
- Add tags admin to list existing tags #264
- Add tags list rendering inside content #264
- Add tag list and create options #264
- Add new method
.update(id, data, fn)
todb-api
forlaw
- Add restrict and staff middlewares for /law/:id POST endpoint
- Add /law/create and /law/:id POST endpoints for admin law edition
- Add /tag/all endpoint
- Add self binding for middleware usage
- Update middleware build check
- Update sections with placeholder for new sections format. #240
- Update client routing to match chained sections of admin pages. #240
- Add
staff
config key from environment. Closes #241 - Add staff middleware check for
/law/create
. #241 - Add
isStaff
middleware check #241 - Add
staff
virtual property to modelcitizen
#241 - Add
staff
prop to sample.json. #241 - Add administration module
- Fix component build process - exit on error
- Fix use
package.json
version for bin/dos
- Fix handling of component build errors
- Refactor i18n for 'comments' to 'arguments'. Closes #263
- Fix click on home logo. Closes #262
- Refactor
laws-filter
forsidebar
#219 - Add check to voted laws in sidebar list. Closes #226
- Fix some typos reported by users
- Fix i18n for 'or' in 'login required' messages
- Add count numbers to status filters. Closes #238
- Update 'Hide voted' translation
- Add i18n for release #255
- Fix styles for release #255
- Rename
sidebar-list
tosidebar
and inner component files - Add styles for #220 and #218
- Add hide-voted checkbox functionality to filter view. Closes #220
- Add warning for no IE 9- support
- Finish open/closed filter for #220
- Fix typo on a translation message
- Fix input fields tabindex attribute
- Add translations to link to signup from /signin page. Closes #248
- Add link to signup #248
- Add
firstName
andlastName
translations and remove the ones forfullName
- Refactor
fullname
into two separate fields (firstName
andlastName
) - Refactor
sidebar-view
into subviewslist-container
andfilter-container
- Rename
list-block.jade
tosidebar.jade
- Add store server support routes to
boot
- Add new local storage component
store
- Add styles file for #218 and #220
- Fix translation key
- Add use of new
laws
local component forsiderbar-list
- Add new
laws
collection component - Fix translations for #218 and #220
- Add basic UI (no styles) for #218 and #220
- Add toggle button group for #218 and #220
- Add support for inheritance locals merge at render
- Bump merge-util version
- Remove json build script forgotten require
- Improve
build
logging - Remove deprecated
json.js
builder plugin - Improve
jade
build script - Add toggle/hide signin/signup links on header. Closes #136
- Add logs using
utils.pluck
helper method.
- Restore participants ids on law article view
- Apply exposure function to filter content delivered to client by API endpoints
- Fix random bug on responses without body for
comments-view
- Rename
utils.map
toutils.expose
- Deprecate
utils.merge
in favor ofmerge-util
- Fix dependency override of
component/delegate
bycomponent/tip
. Closes #233
- Bump
component/events
to 1.0.5
- Update
utils.restrict
function middleware - Remove
/citizen/all
API endpoint. Closes #236 - Add reject no
application/json
requests fromdelegation
,comment
,tag
,proposal
,law
,citizen
API endpoints. Closes #237 - Add
accepts
new module - Remove path '/auth/facebook' from page's routes at
boot
- Fix error on vote click while unlogged
- Update to component/events@f445d
- Pin all component dependencies. Closes #231
- Bump
component-builder
andcomponent
- Update
config
logs and avoid exposing configuration settings to output - Update Makefile
- Update dependency 't-component' to 1.0.0
- Fix upvote/downvote comments at
law
article view - Remove
border
styles from header's user nav dropdown - Fix profile name input validations and rules. Fixes #221
- Bump mongoose-gravatar to 0.2.1
- Add default values for gravatar at
citizen
- Bump mongoose-gravatar to 0.2.0
- Profile uses citizen.gravatar instead of .avatar
- Disable changing email via
settings-profile
. Fixes #223 - Add missing translations at
settings
page. Closes #214 - Fix style for active selection in
settings
nav-bar. Closes #201 - Update translations for
settings
page. Closes #202 - Add a map of JSON response at
citizen
API endpoint - Add a map of values for delivered API documents at
law
API endpoint - Update all uses of old
citizen.avatar
to use newcitizen.gravatar
- Add
mongoose-gravatar
forcitizen
model to handle dynamically gravatar.com urls - Add
pluck
,map
,get
andnormalize
atutils
- Remove all tokens of same scope when creating new one at
db-api:token
- Add log on error if citizen not found by email and return false at
db-api:citizen
- Add link to change avatar at
settings
page. Close #201 - Update
settings
page's render handle to improve performance - Update
settings
page styles and elements - Update dependencies and pin versions at
package.json
- Add config module to retrieve
mongoUrl
in all modules requiring it - Remove
express.router
fromsetup
- Remove unnecesary application settings at
setup
- Move all API modules to
boot
instead ofindex.js
for coherent application booting - Update code style in some modules to embrace our own standard. Needs more work
- Update application config settings load. Moved to new
setup
module - Update
laws.json
fixtures - Fix bug with scroll at section
#content
- Update settings page to handle separately
profile
andpassword
edits
- Pin deps to avoid installation crashes
- Add basic account information update form.
- Add law time scope and results after close.
- Add basic commands like:
fixture load
,db-dump
, and more... - Add I18n for client and server.
- Add IE8 basic support.
- Add support via UserVoice.
- Add tag filtering.
- Add flag as spam for comments.
- Add upvoting/Downvoting comments.
- Add comments for laws.
- Add voting for laws.
- Add social sharing for Twitter, Facebook and Google+.
- Add responsive design.
- Add password reset.
- Add account email confirmation.
- Add local Signin/Signup.
- Add basic application layout.