Skip to content

Commit

Permalink
Merge branch 'release-1.3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Mar 27, 2017
2 parents 6eaa40b + cf45b18 commit f50421f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,28 @@

## Unreleased

## [Release 1.3.0](https://github.com/QutBioacoustics/baw-server/releases/tag/1.3.0)

- 2017-03-16
- Fixed feature tests for permissions page
See [fd0316d](https://github.com/QutBioacoustics/baw-server/commit/fd0316dc04cf2ed5d8a9fb111dcbb30ea69da6e3)
- Reorders columns for small layout scenarios
See [fab0709](https://github.com/QutBioacoustics/baw-server/commit/fab0709481400656fcc97b416da2872b77b3bc8c)
- Adds alphabetical paging to permissions page
See [b32494a](https://github.com/QutBioacoustics/baw-server/commit/b32494a61c3c1e43f5b13fc82346f7e8865dc721)
- Created an alphabetical pager
See [cdcdd3d](https://github.com/QutBioacoustics/baw-server/commit/cdcdd3d0aa31e625cfca077ad8c539026524fe29)
- Standardizes project card rendering
See [52f17c8](https://github.com/QutBioacoustics/baw-server/commit/52f17c8f04944d635b1c3a3ff15133702bc99a51)
- Added ability to render simplified markdown
See [1c778d0](https://github.com/QutBioacoustics/baw-server/commit/1c778d05e5165cb89505c30b8272c47380926346)
- Added instance template for home page
See [eb7d20a](https://github.com/QutBioacoustics/baw-server/commit/eb7d20a02ac42bc6957eaddd61d646ed65e0350b)
- General cleanup of view code
See [7af8cad](https://github.com/QutBioacoustics/baw-server/commit/7af8cadea71d0e45bc374c5161760ec253a6add7)
- Adds owner user to project show and permissions pages
See [e26a8e4](https://github.com/QutBioacoustics/baw-server/commit/e26a8e463ea607e00cdc46f018c6cf5329f34c66)

## [Release 1.2.2](https://github.com/QutBioacoustics/baw-server/releases/tag/1.2.2)

- 2017-02-24
Expand Down
4 changes: 2 additions & 2 deletions app/models/settings.rb
Expand Up @@ -44,8 +44,8 @@ def version_info
# see http://nvie.com/posts/a-successful-git-branching-model/
{
major: 1,
minor: 2,
patch: 2,
minor: 3,
patch: 0,
pre: 0,
build: ''
}
Expand Down
9 changes: 8 additions & 1 deletion spec/features/permissions_spec.rb
Expand Up @@ -19,7 +19,14 @@
expect(page).to have_link(owner_user.user_name, user_account_path(owner_user))
end

def page_to_user(user)
initial = user.user_name[0]
visit project_permissions_path(project, {page: initial + '-' + initial})
end

def check_row(user, level)
page_to_user(user)

overall_selector = "tr[data-user-id='#{user.id}'] .overall-permission"
overall = find(overall_selector)

Expand Down Expand Up @@ -134,7 +141,7 @@ def change_project_permission(permission_type, new_level)
end

it 'updates project permissions for a user' do
visit project_permissions_path(project)
page_to_user(no_access_user)

# set other user to writer
change_permission(no_access_user, :writer)
Expand Down

0 comments on commit f50421f

Please sign in to comment.