Notify Hipchat for builds :)
Filter Meta Bar

Summary:
* adds "Add to Set" and "Export" buttons to filter meta bar

Fixes T1096

Test Plan: * confirm buttons and test responsive views

Reviewers: shadowhand

Reviewed By: shadowhand

Subscribers: brandonrosage, spaudanjo, sebm90, digitalafrican, srutto, dkobia, rjmackay

Maniphest Tasks: T1096

Differential Revision: https://phabricator.ushahidi.com/D501
New Post Details Page

Summary:
* adds `post-detail-tabs` directive

* adds `post.detail` translations

* abstracts and renames post-view-tabs ---> view-tabs

* post detail markup and styles

* removes private, public, published, unpublished specific badges.
  * badges mixin is still present and usable

Fixes T1066

Test Plan:
This diff is a combination of M46/175 and the current new client Post Details page. A few on the fly decisions were made by @brandonrosage and @seth, but the necessary info is conveyed

* review page layout
* resize for responsive views
* is the appropriate information conveyed?
* are all requirements met?

Reviewers: brandonrosage, rjmackay, shadowhand

Reviewed By: shadowhand

Subscribers: brandonrosage, spaudanjo, sebm90, digitalafrican, srutto, dkobia

Maniphest Tasks: T1066

Differential Revision: https://phabricator.ushahidi.com/D508
Show active states on main tabs

Summary:
store path on $root and update tabs when it changes, fixes T1098

delint

Test Plan: try out the tabs, run the tests

Reviewers: rjmackay, vladimir, seth, shadowhand

Reviewed By: shadowhand

Maniphest Tasks: T1098

Differential Revision: https://phabricator.ushahidi.com/D509
z-index bug fix

Summary:
* a quick attempt to fix z-index issues

Fixes T1121

Test Plan:
* click the following to check for proper z-index:
  * top bar user info
  * global filter
  * leaflet map
  * off canvas drawer
  * all dropdown buttons

Reviewers: rjmackay, shadowhand

Reviewed By: shadowhand

Subscribers: brandonrosage, spaudanjo, sebm90, digitalafrican, srutto, dkobia

Maniphest Tasks: T1121

Differential Revision: https://phabricator.ushahidi.com/D515
Implement basic post create, refs T1064

Summary:
- clean up routing
- add route for `/posts/create`
- add controller, view
- add new services for Forms and Form Attributes
- implement form chooser
- implement basic post title, content validation
- implement basic custom form types

Test Plan: //todo, add e2e tests//

Reviewers: rjmackay

Subscribers: seth, spaudanjo, aMoniker

Maniphest Tasks: T1064

Differential Revision: https://phabricator.ushahidi.com/D514
Oops, fix test for homepage URL, refs T1064
better separation of off canvas menu_fixes T1122

Summary: when the off canvas menu is activated the body dims to black while the top bar remains visible

Test Plan:
activate the off canvas menu
confirm background dim to black

Reviewers: rjmackay, shadowhand

Reviewed By: shadowhand

Subscribers: brandonrosage, spaudanjo, sebm90, digitalafrican, srutto, dkobia

Differential Revision: https://phabricator.ushahidi.com/D516
did not realize it was "last url part" not "url path", refs T1064

aka do not attempt fixing tests just before beg
Apply attribute fixes from backend revert, refs T1064
reduce pagination translations

Summary: convert phrasing for individual resource pagination to common translation, fixes T1012

Test Plan: check out pagination, run tests

Reviewers: seth, rjmackay, vladimir, shadowhand

Maniphest Tasks: T1012

Differential Revision: https://phabricator.ushahidi.com/D510
Doh, this too, refs T1064
Attribute URL was supposed to be reset too, refs T1064
Fix broken layout of right top navigation for Chrome (T1107)

Summary:
* the issue was:
  * under certain circumstances the right top navigation layout were broken
    * the user menu button wasn't in the same line as the rest of the menu, instead below
* this happened when:
  * using Chrome (Version 38.0.2125.104, 64-bit; on Ubuntu)
  * you are still signed in form an earlier session
  * opened / refresh the page
* it didn't occur when:
  * using Firefox
  * or when opening the page while you're not signed in (or just sign out) and THEN sign in

* this commit removes the directives for the user-menu and the signin-button and instead moves their html directly inline to the index.html template
  * so it seems that the issue was somehow ng directive related
    * because the markup is the same in both cases
  * this solution is not nice in the long term, since ng directives help you with structuring your app/templates
    * (in particular, directives should work properly at least in Google's own browser :-))

Test Plan:
  * check if top navigation looks good again, especially when
    * you are using Chrome
    * and you are still signed in
    * and you reload the page

Reviewers: seth, shadowhand

Reviewed By: shadowhand

Subscribers: aMoniker, rjmackay

Projects: #ushahidi_client

Maniphest Tasks: T1107

Differential Revision: https://phabricator.ushahidi.com/D502
Change posts to module-based file organization

Summary:
* I would like to transfer features like tags and config as well
* moves all things related to posts to `app/posts/`

Test Plan:
* test if everyhing works as before
* test if you like the module based file organization ;)

Reviewers: rjmackay, shadowhand

Reviewed By: shadowhand

Subscribers: rjmackay, aMoniker, seth

Maniphest Tasks: T926

Differential Revision: https://phabricator.ushahidi.com/D482
Sync the mocked attributes with current backend API

Summary:
* API endpoint: api/v2/attributes
  * remove old mocked endpoints (forms/:id/attributes)
* use the data of the application/tests/behat.yml of the current backend

Test Plan:
* on the 'Create post' page (/posts/create) after selecting a form
  * check if the form settings of the mocked attributes resource are shown correctly

Reviewers: shadowhand

Reviewed By: shadowhand

Subscribers: aMoniker, rjmackay

Differential Revision: https://phabricator.ushahidi.com/D524
Hook up the Settings page

Summary:
- underscore.js
- useful ignores for ack users (will stack with your ~/.ackrc)
- add Util service
- combine constants
- improve module formatting
- add gulp-notify
- consolidate config endpoints
- hook up config form

Test Plan: try out the settings page (and other pages), run the tests

Reviewers: seth, rjmackay, vladimir, shadowhand

Reviewed By: shadowhand

Maniphest Tasks: T1065

Differential Revision: https://phabricator.ushahidi.com/D522
fix the tests

Summary: fix the broken tests

Test Plan: run the tests

Reviewers: shadowhand

Subscribers: rjmackay

Differential Revision: https://phabricator.ushahidi.com/D526
post detail fixes

Summary:
* fixes post detail width

* adds background color to meta info for better visual separation

Test Plan:
load post detail page
check the width of meta info and main content on large screens

Reviewers: brandonrosage, shadowhand

Reviewed By: shadowhand

Subscribers: spaudanjo, sebm90, digitalafrican, srutto, dkobia, rjmackay

Differential Revision: https://phabricator.ushahidi.com/D532
Fix bad URL generation, refs T1065