Skip to content

Commit

Permalink
rebased by standing at my rails-4.2 branch (#266)
Browse files Browse the repository at this point in the history
* changed reporters for progress bars (publiclab#2123)

* Implement style guide (publiclab#2124)

* Lock paperclip to required version

* Exclude critical files

* Disable magic comment

* Safe navigate on params

* Move Style/FrozenStringLiteralComment to .rubocop.yml

* Rubocop autofix

* Error posting an answer publiclab#1938 (publiclab#1945)

* form http request changes to post

* Tests for long answer using POST request

* Commented test for GET request

* Uncommented the test for large answers

* Update "read more" link on tag pages to "learn more on the wiki page" (fixes publiclab#2112) (publiclab#2130)

* Add people tab to /spam page for moderators(Fixes publiclab#2079) (publiclab#2109)

* Fixes #publiclab#2079

Fixes publiclab#2079
This commit adds active user tab to publiclab.org/spam.

* Add people tab to /spam page for moderators(Fixes publiclab#2079)

* Stats on profile page (publiclab#2131)

* Added links to the profile page

* Stats display

* Delete sunspot.yml.bkp

* PR to disable Turbolinks just in case. (publiclab#2133)

* Update show.html.erb (publiclab#2135)

* Update _sidebar.html.erb for tab display (publiclab#2134)

* Update _sidebar.html.erb

* Update I18n_test.rb

* minor tweaks (publiclab#2126)

* questions in full text search + show 15 results (publiclab#2136)

* Update typeahead_service.rb

* Update typeahead_service.rb

* Update restful_typeahead.js

* Update revision.rb

* Fixed Rubocop offences (publiclab#2127)

* added link to "title suggestion" in comment editor (publiclab#2155)

closes publiclab#2154

* Redundant method fixture (publiclab#2163)

* [wip] publiclab#1951 Add "Join" button to people lists  (publiclab#1954)

* chg: added button to join the powertag group's tag

* add: added check to see if current_user is available before showing the button

* fix: added defined? to check if the curre_user variable is defined

* fix: added defined? check to see if the current_user variable is defined

* chg: modified redirection for the create action

* chg: added button for when the user is not currently logged in

* add: added current_user as a parameter

* fix: added defined? to check if the curre_user variable is defined

* chg: added button for when the user is not currently logged in

* text tweaks

* tweak

* Update user_tags_controller_test.rb

* Update wiki_controller_test.rb

* Update node_shared.rb

* Update application_helper.rb

* Hopefully fix test failures

* Update application_helper.rb

* Dropdown for recently used tag look corrected (publiclab#2145)

* Add map of people to publiclab.org/people publiclab#1940 (publiclab#2158)

* Added maps

* API made for people maps

* Added API url for People map

* Made helper function for People Map API

* Updated self.people_map

* Created _peopleLeaflet.html.erb

* Drupal_user removed

* Indentation done

* search Recent People functionality

* search Recent People helper

* Add Relationship validations and fix tests (No issue opened) (publiclab#2078)

* Refactor code for user's social links

* Fix Relationship tests

* Add validations to Relationship model

* Contributors for wildcards (publiclab#2176)

*  Make tags visible to other users (fixes publiclab#2138) (publiclab#2147)

*  Make tags visible to other users (fixes publiclab#2138)

 publiclab#2138

 The profile tags are currently only visible to the user themselves or
 to admins. The tags should be visible to everyone, while the "add tags" input should maintain its current visibility status (owner or administrator).

* Add a parent param to the tag/tagging partial.

This cleverly hides the input but only if it is rendered inside the
profile view.

* Improve the condition

* If parent is unset, set parent to nil

* Add ruby-2.3.4 alert to README.md (publiclab#2159)

* Add ruby-2.3.0 alert to README.md

* made it as a small note

* change from 2.3.0 to 2.3.4

* small change

* Changed bundle install statement

* RSS feed on tagged content for author pages (publiclab#2161)

* RSS feed

* Added changes

* Added "comment" and "barnstar" headings to profile nav (publiclab#2166)

* Add "comment" and "barnstar" headings to profile nav

fixes publiclab#2165

* minor changes

* User must be logged out to access /login page (publiclab#2171)

* User must be logged out to access /login page

* Update user_sessions_controller.rb

* Some modification to user dropdown menu on navbar (publiclab#2175)

* Some modification to user dropdown menu on navbar

* Added tests

* Remove redundant require of searchform.js in application.js (publiclab#2183)

* Image added (publiclab#2162)

* Header html nesting fixes (publiclab#2199)

* tweak to location:blurred code for profile tags (publiclab#2202)

* List activities for subscriptions/digest (publiclab#2058)

* Function changed

* test changed

* digest page showing all nodes for now

* Query worked

* unit test added

* view updated

* small change

* small change

* functional test added

* Error messages in flash resolved publiclab#2141 (publiclab#2142)

* added >> to 'add research note' button  (publiclab#2195)

* Add &raquo to line 7 for button

* Attempt to fix failing tests

* Fix test failures

* Redundant node_id removed (publiclab#2192)

* update drupal_user.rb to update status of User record (publiclab#2157)

* update drupal_user.rb to update user.status

fixes publiclab#2156

* minor changes

* minor changes

* minor changes

* changes

* added tests

* fixed spam button in notes partial (publiclab#2200)

* Change heading of Weekly Digest page (publiclab#2205)

* Function changed

* test changed

* digest page showing all nodes for now

* Query worked

* unit test added

* view updated

* small change

* small change

* functional test added

* heading change

* migration fix (publiclab#2208)

* fix for migration (publiclab#2210)

* fix for migration

* Update drupal_user.rb

* Update rss.rss.builder (publiclab#2221)

* Update rss.rss.builder

* Update rss.rss.builder

* Update rss.rss.builder

* fixed issue no. 2204 (publiclab#2211)

* Order by subscription fix (publiclab#2139)

* completed function

* sort by subscription added

* Correction

* fix for current_user

* Headings as links

* Blank Map loaded with call to API (Part 2 of publiclab#1934) (publiclab#2044)

* Markers loaded from API

* self.notes_map updated

* API url updated

* https instead of http

* MORE THAN 1 MAP ON A PAGE

* Url generalised

* Indentation done

* Indentation 2

* Typos corrected (publiclab#2218)

* Update README.md (publiclab#2233)

* barnstar tag commenting (publiclab#2223)

* Add tweet button to suscription share button (publiclab#2217)

* Basic/Normal User not able to delete own wiki page (publiclab#2030)

* if condition changed

* condition added

* functional test added

* changes done

* small changes

* test correction

* small changes in test

* indentation improve

* Even treatment of heading on /wiki (publiclab#2232)

* Added non empty validation for search form Closes publiclab#2181 (publiclab#2182)

* Fix subscription error (publiclab#2225)

* Date of promoted comment to answer adjusted (publiclab#2229)

* time change , mailer remove and test update

* comments addition in test

* comments on profile page fixed (publiclab#2197)

* comments on profile page fixed

fixes publiclab#2196

* minor changes

* written tests

* Added tests (publiclab#2207)

* Redundant getting started removed (publiclab#2235)

* RSS for Tag show with image correction (publiclab#2213)

* RSS for Tag with image correction

* Image links updated

* Updated rss

* Not to show marker on profile page map if tag blurred:true exists . publiclab#2230 (publiclab#2245)

* Indentation + blurred:true tag

Removes marker if the blurred:true tag exists .

* remove marker feature

* fixes to Dangerfile (puts vs. fail) (publiclab#2255)

* Fixes to markdown templates (publiclab#2240)

* Update first-timers-issue-template.md

* Update first-timers-issue-template.md

* Update questions_controller.rb (publiclab#2266)

* Profile tags corrected (publiclab#2270)

* Fixed the bug where profile is not shown on small screens (publiclab#2269)

* Link text modified (publiclab#2249)

* Added pagination for questions (publiclab#2244)

* routes changed (publiclab#2236)

* Change default time zone of RSS for event calendar (publiclab#2279)

* Unnecessary hr removed (publiclab#2283)

* Question error message duplicacy removed (publiclab#2273)

* Update PULL_REQUEST_TEMPLATE.md

* Include mysql configuration file (supersedes publiclab#1428) (publiclab#2320)

* add glyphicons to question-page (publiclab#2319)

* added link to questions on home page (publiclab#2222)

* added link to questions on home page

closes publiclab#2188

* minor changes

* Update home.html.erb

* removed _list partial and unwanted code [issue publiclab#2300] (publiclab#2311)

* removed _list partial and unwanted code

* re-added list partial

* Update CONTRIBUTING.md

* add a feature block to signup form (publiclab#2267)

* Center People Map coordiates (publiclab#2268)

* Tool Tips : regular edit pencil-Edit this wiki page , Delete -Delete this wiki page ,etherpad -practice in a real time doc , revisions-View previous versions  (publiclab#2212)

* Update _header.html.erb

added 
1 .Tool tip for regular edit pencil
2 .Tool tip for delete wiki page
3.Tool tip for revisions

* Update _header.html.erb

* Update _header.html.erb

* Update _header.html.erb

* adding  "delete this wiki page" tooltip

* fixed issue#2324 problem in display of gliphicons (publiclab#2325)

* added up/down arrow icons on sortable headers on tags page (publiclab#2338)

* add missing glyphicons (publiclab#2316)

* Improve readibility of tags page by removing sidebar and set it to full-width (publiclab#2344)

* added count of research notes and comments on profile page (publiclab#2263)

* added count of research notes and comments on profile page

fixes publiclab#2262

* minor changes

* align read more button to the center (publiclab#2317)

* Redundant gemfile.new deleted (publiclab#2349)

* Chat should hover on hovering (publiclab#2342)

* fixed positioning of social media buttons in wiki page (publiclab#2329)

* Edit home action in home controller (publiclab#2327)

* Remove duplicate ids in signin and signup page (publiclab#2238)

* Update show.html.erb

* Digest optimization to exclude tag additions  (publiclab#2351)

* proper digest

* test optimization

* query update

* Draft creation for nodes  (publiclab#2308)

* Status method

* controller changed

* test added for access

* update rubocop file

* fixing test affected by new fixture

* update en.yml

* Updated the social media icons to use  to increase compatibility with all browsers. (publiclab#2348)

* Added functional test for subscribing to a tag. (publiclab#2286)

* fix autolinking of comments (publiclab#2359)

* Added scroll to top in footer (publiclab#2251)

* banned users are visible to /people page for admin (publiclab#2247)

* banned users are visible to /people page for admin

fixes publiclab#2246

* test fixes

* Update wiki_controller.rb (publiclab#2362)

Resolves issue publiclab#2310

* added links for location privacy help page publiclab#2346 (publiclab#2360)

* added links in appropriate places for new location privacy help page

* fixed indentations

* removed gemfile.lock put in git ignore

* fixed gemlock file

* fixed dangling <p> tag removed gemfile.lock from .gitignore [WIP] how do i remove gemfile.lock from the PR

* removed gemfile.lock from local

* changes to gemfile.lcok

* added new lines to the end of changed files

* fixed search error (publiclab#2288)

* Update show.html.erb

* Wiki pages with CRUD as title should not be published (publiclab#2323)

* Wiki pages with CRUD as title should not be published

* Tests refactored

* research and dashboard corrected (publiclab#2302)

* Add warning message re wildcard search (publiclab#2180)

* combined changes by @ina-mastabba

* re-add missing section

* Added initial check for valid email on password reset (publiclab#2315)

* Added initial check through jquery

* Made the code more object oriented

* Modified the code according to ES6 rules

* Changes tag follow popover z-index (publiclab#2253)

* Change /questions page layout (publiclab#2358)

The /questions page was displaying too much information. Now the
page has a clean layout.

* Migration for changing comment status (publiclab#2373)

* migration for comments

* schema.db.example changed

* version updated

* Comment spam moderation Part 2 (publiclab#2305)

* Controller and model method for marking

* Publish comment method added

* test for marking comment

* tests for publish comment

* Small changes

* controller changed

* updated test as per new comment system

* Update DATA_MODEL.md

* Update rss.rss.builder

* Shows Autocomplete drop-down (publiclab#2384)

* ga fixes (publiclab#2390)

* add tab buttons to tag_pages (publiclab#2385)

* Delete location_tags.js (publiclab#2391)

* Delete location_tags.js

* Update application.js

* Update _like.html.erb

* Update per instructions (publiclab#2403)

publiclab#2402

* Adding feature to allow raw HTML pages (publiclab#2406)

* Update show.html.erb

* Update revision.rb

* Update node.rb

* Added omniauth gem (publiclab#2381)

* Pagination and sorting of digest by recency (publiclab#2374)

* paginate and sort

* paginated for 100 items

* Delete README.rdoc (publiclab#2386)

* Replace spaces with hyphens (list of suggested tags and query submitted in the form) (publiclab#2380)

* fix issue publiclab#2335

Fix issue publiclab#2335, replacing spaces with hyphens as people type.

* fixing publiclab#2335

fixes publiclab#2335, replacing all spaces with hyphens

* Update _comment.html.erb (publiclab#2387)

* Added search validation for wiki sidebar search (publiclab#2276)

* Update subscription_mailer.rb (publiclab#2407)

* Update subscription_mailer.rb

* Update subscription_mailer_test.rb

* "Show more" sort bug (publiclab#2416)

* Update _notes.html.erb render "Show # More" as footer - separately from rows

* Update grid.js to detach table footer before sorting and (re)append it after sorting

* Update _header.html.erb (publiclab#2424)

added link to /kits, added link to /tags, changed the "meet people" text to "attend an event", changed order of menu items.

* add sort functionality to tag_for_author questions (publiclab#2376)

* Add larger image to profile page (publiclab#2415)

* add sign removed (publiclab#2434)

* mailer test for barnstar (publiclab#2433)

* Corrected the mistake (publiclab#2409)

* Home controller tests - test redirect and title (publiclab#2371)

* Test homepage redirects to dashboard if user is logged in

* Add title check to homepage test

* added recent notes page (publiclab#2296)

* added recent notes page

* minor tweaks

* add functional tests

* Profile page likes are now rendered on the same page (publiclab#2293)

* Comment and sent email when co-author added (publiclab#2259)

* barnstar tag commenting

* comment addotion on co-author

* mailer for coauthor created

* mailer updated

* mailer finalized

* testing coauthor

* Co-author test done

* tag addition test

* users page sorting with headers completed with backend (publiclab#2355)

* Update Dockerfile (publiclab#2472)

* Node deletion problem while removing spam solved (publiclab#2450)

* solved for answer deleting node

* node optimized

* tests added

* new indices for impressionist (publiclab#2462)

* Add comment icon (publiclab#2442)

* Add methods to User model for verifying user roles (publiclab#2448)

* Add methods to User model for user roles

* Add a comment

* Update _contributors.html.erb to fix note count (publiclab#2479)

* Update _contributors.html.erb

* Update tag_controller_test.rb

* Update _contributors.html.erb

* Minor refactor of Home controller 'activity' (publiclab#2438)

* Minor refactor of Home controller 'activity'

* Fix indentation

* Development script for quick and reliable setup (publiclab#2395)

* Development setup script

* Fixed a typo

* Fixes tag controller "suggested tags" action (publiclab#2477)

issue publiclab#2458

* Update _contributors.html.erb (publiclab#2485)

* Update show.html.erb (publiclab#2487)

* Questions page text tweaks (publiclab#2490)

* Updated application_controller.rb to fix moderation alert message (publiclab#2481)

* Updated application_controller.rb to fix moderation alert message

fixes issue publiclab#2470

* Updated notes_controller_test.rb

* Update notes_controller_test.rb

* Update notes_controller_test.rb

* trigger reload of profile page on adding location tags (publiclab#2350)

* New blog design(issue#2454) (publiclab#2484)

* Replace blog link with stories from Read Stories button (Fixes issue publiclab#2454)

* changed button content(issue#2454)

* Update home.html.erb

* Remove some redundant tests from Home controller (publiclab#2435)

* initial Rails 4.2 port

* changing over to deliver_now for mails

* updated Gemfile

* truncating fixture field

* truncating fixture field

* nother fixture fix! fix!

* nother fixture fix! fix!

* last try with test dates for maps

* truncation in model

* strict: false in database.yml

* back to before_save filter

* back to before_save filter

* deliver_now

* strict back off...

* strict back off...
  • Loading branch information
Souravirus authored and jywarren committed Mar 20, 2018
1 parent 425e46d commit 6aa3149
Show file tree
Hide file tree
Showing 163 changed files with 2,351 additions and 1,677 deletions.
18 changes: 12 additions & 6 deletions .github/PULL_REQUEST_TEMPLATE.md
@@ -1,11 +1,17 @@
Make sure these boxes are checked before your pull request is ready to be reviewed and merged. Thanks!
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

* [ ] all tests pass -- `rake test:all`
* [ ] code is in uniquely-named feature branch, and has been rebased on top of latest master (especially if you've been asked to make additional changes)
* [ ] pull request is descriptively named with #number reference back to original issue
* [ ] tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with `rake test`
* [ ] code is in uniquely-named feature branch and has no merge conflicts
* [ ] PR is descriptively titled
* [ ] PR body includes `fixes #0000`-style reference to original issue #
* [ ] ask `@publiclab/reviewers` for help, in a comment below

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/wiki/contributing-to-public-lab-software
> We're happy to help you get this ready -- don't be afraid to ask for help, and **don't be discouraged** if your tests fail at first!
We have a loose schedule of reviewing and pulling in changes every Tuesday and Friday, and publishing changes on Fridays. Please alert developers on plots-dev@googlegroups.com when your request is ready or if you need assistance.
If tests do fail, click on the red `X` to learn why by reading the logs.

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software

We have a loose schedule of reviewing and pulling in changes every Tuesday and Friday, and publishing changes on Fridays.

Thanks!
7 changes: 5 additions & 2 deletions .github/first-timers-issue-template.md
Expand Up @@ -14,8 +14,11 @@ Nothing. This issue is meant to welcome you to Open Source :) We are happy to wa

- [ ] 🙋 **Claim this issue**: Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!

- [ ] 📝 **Update** the file [$FILENAME]($BRANCH_URL) in the `$REPO` repository (press the little pen Icon) and edit the line as shown below. [See this page](https://github.com/publiclab/plots2/projects/2) for some help in taking your first steps!
- [ ] 📝 **Update** the file [$FILENAME]($BRANCH_URL) in the `$REPO` repository (press the little pen Icon) and edit the line as shown below.

[See this page](https://publiclab.github.io/community-toolbox/#r=all) for some help in taking your first steps!

Below is a "diff" showing in red (and a `-`) which lines to remove, and in green (and a `+`) which lines to add:

```diff
$DIFF
Expand All @@ -39,6 +42,6 @@ Leave a comment below!

### Is someone else already working on this?

We encourage you to link to this issue by mentioning the issue # in your pull request, so we can see if someone's already started on it. **If someone seem stuck, offer them some help!** Otherwise, [take a look at some other issues you can help with](https://github.com/publiclab/plots2/projects/2). Thanks!
We encourage you to link to this issue by mentioning the issue # in your pull request, so we can see if someone's already started on it. **If someone seem stuck, offer them some help!** Otherwise, [take a look at some other issues you can help with](https://publiclab.github.io/community-toolbox/#r=all). Thanks!

(This issue was created by [First-Timers-Bot](https://github.com/hoodiehq/first-timers-bot).)
Expand Up @@ -1082,7 +1082,7 @@ Performance/FlatMap:

Performance/HashEachMethods:
Enabled: true

Performance/LstripRstrip:
Enabled: true

Expand Down
23 changes: 22 additions & 1 deletion .rubocop.yml
Expand Up @@ -15,4 +15,25 @@ AllCops:
- 'log/*'
- 'db/**/*'
- 'Gemfile'
TargetRubyVersion: '2.4'
- 'config/**/*'
- 'script/**/*'
- 'lib/**/*'
- 'test/**/*'
- 'public/**/*'
- 'Dangerfile'
TargetRubyVersion: '2.4'

Style/FrozenStringLiteralComment:
Enabled: false

Metrics/ParameterLists:
Enabled: false

Metrics/ModuleLength:
Max: 303

Metrics/ClassLength:
Max: 660

Style/RegexpLiteral:
Enabled: false
42 changes: 9 additions & 33 deletions CONTRIBUTING.md
Expand Up @@ -3,43 +3,19 @@ Contributing to PLOTS2

We welcome community contributions to PLOTS2! To install PLOTS2 locally, follow the instructions in the [README.md file](https://github.com/publiclab/plots2#installation).

Learn more about contributing to PLOTS2 or other Public Lab code projects on these pages:

* https://publiclab.org/wiki/developers
* https://publiclab.org/wiki/contributing-to-public-lab-software

## Bug reports & troubleshooting

If you are submitting a bug, please include:

* the URL you're on when you see the issue
* the URL you just left, if you suspect your last action triggered the problem
* your PublicLab.org username (if you have one)
* your browser (and version if possible!) and operating system (Windows 7, Ubuntu Linux 14.x, etc)
* anything you can about the sequence of events which led to the bug
* any data you're attempting to upload, such as a photo, which can help us troubleshoot
## First Timers Welcome!

New to open source/free software? Here are a selection of issues we've made especially for first-timers. We're here to help, so just ask if one looks interesting:

https://publiclab.github.io/community-toolbox/#r=all

## First Timers
Thank you so much!

New to open source/free software? Here are a selection of issues we've made especially for first-timers. We're here to help, so just ask if one looks interesting : https://github.com/publiclab/plots2/projects/2
We also have a slightly larger list of easy-ish but small and self contained issues: https://github.com/publiclab/plots2/labels/help-wanted
Learn more about contributing to Public Lab code projects on these pages:

When you think you've solved the bug and are ready to submit a pull request, please keep in mind the following:
* https://publiclab.org/developers
* https://publiclab.org/contributing-to-public-lab-software

Make sure these boxes are checked before your pull request is ready to be reviewed and merged.
* [ ] all tests pass -- `rake test:all`
* [ ] code is in uniquely-named feature branch, and has been rebased on top of latest master (especially if you've been asked to make additional changes)
* [ ] pull request is descriptively named with #number reference back to original issue
* [ ] if possible, multiple commits squashed if they're smaller changes
* [ ] reviewed/confirmed/tested by another contributor or maintainer
* [ ] `schema.rb.example` has been updated if any database migrations were added

Make sure you've reviewed our contribution guidelines at https://publiclab.org/wiki/contributing-to-public-lab-software

Also, make sure to reference the issue no as "fixes #<issueno>" in your PRs, so that they can be auto-closed on merging.

We have a loose schedule of reviewing and pulling in changes every Tuesday and Friday, and publishing changes on Fridays. Please alert developers on plots-dev@googlegroups.com when your request is ready or if you need assistance.
## Bug reports & troubleshooting

Thank you for your help!
If you are submitting a bug, please go to https://github.com/publiclab/plots2/issues/new
3 changes: 1 addition & 2 deletions Dangerfile
Expand Up @@ -55,6 +55,5 @@ begin
end

rescue => ex
puts "There was an error with Danger bot's Junit parsing:"
puts ex.message
fail "There was an error with Danger bot's Junit parsing: #{ex.message}"
end
10 changes: 5 additions & 5 deletions Dockerfile
Expand Up @@ -11,11 +11,11 @@ RUN mkdir -p /app
ENV HOME /root
ENV PHANTOMJS_VERSION 2.1.1

RUN echo \
'deb ftp://ftp.us.debian.org/debian/ jessie main\n \
deb ftp://ftp.us.debian.org/debian/ jessie-updates main\n \
deb http://security.debian.org jessie/updates main\n' \
> /etc/apt/sources.list
#RUN echo \
# 'deb ftp://ftp.us.debian.org/debian/ jessie main\n \
# deb ftp://ftp.us.debian.org/debian/ jessie-updates main\n \
# deb http://security.debian.org jessie/updates main\n' \
# > /etc/apt/sources.list

# Install dependencies
RUN apt-get update -qq && apt-get install -y bundler libmysqlclient-dev ruby-rmagick libfreeimage3 nodejs-legacy npm wget openjdk-7-jre openjdk-7-jdk procps
Expand Down
6 changes: 5 additions & 1 deletion Gemfile
Expand Up @@ -77,7 +77,7 @@ gem 'geokit-rails'

gem 'rails_autolink'
gem 'rb-readline'
gem "paperclip", "~> 4.2.2"
gem "paperclip", "~> 4.2.0"
gem "ruby-openid", :require => "openid"
gem "rack-openid"
gem "authlogic", "~> 3.5.0"
Expand Down Expand Up @@ -110,3 +110,7 @@ gem 'jbuilder'

# Pin mustermann to Ruby 2.1 compatible
gem 'mustermann' , '~> 0.4'

#OAuth Based login
gem 'omniauth', '~> 1.3', '>= 1.3.1'
gem 'omniauth-facebook', '~> 3.0'
3 changes: 2 additions & 1 deletion Gemfile.lock
Expand Up @@ -401,7 +401,7 @@ DEPENDENCIES
mustermann (~> 0.4)
mysql2 (~> 0.3.20)
nifty-generators
paperclip (< 4.2.0)
paperclip (~> 4.2.0)
passenger
php-serialize
progress_bar
Expand Down Expand Up @@ -435,3 +435,4 @@ DEPENDENCIES

BUNDLED WITH
1.16.1

97 changes: 0 additions & 97 deletions Gemfile.new

This file was deleted.

15 changes: 10 additions & 5 deletions README.md
Expand Up @@ -13,13 +13,14 @@ It features a Bootstrap-based UI and a variety of community and attribution feat

Some key features include:

* a Markdown-based research note and wiki editor
* a [Question and Answer system](https://publiclab.org/questions) for peer-based problem solving
* a rich text and Markdown research note and wiki [editor](https://github.com/publiclab/PublicLab.Editor)
* [wiki editing](https://publiclab.org/wiki) and revision tracking
* tagging and tag-based content organization
* tagging and [tag-based content organization](http://publiclab.org/tags)
* email notification subscriptions for tags and comments
* a barebones search interface
* a user dashboard [presenting recent activity](https://publiclab.org/research)
* a [Question and Answer system](https://publiclab.org/questions)
* a search interface built out of [our growing API](https://github.com/publiclab/plots2/blob/master/doc/API.md)
* a user dashboard [presenting recent activity](https://publiclab.org/dashboard)
* a privacy-sensitive, Leaflet-based [location tagging system](https://github.com/publiclab/leaflet-blurred-location/) and [community map](http://publiclab.org/people)

![Diagram](https://publiclab.org/system/images/photos/000/021/061/original/diagram.png)

Expand Down Expand Up @@ -62,6 +63,10 @@ Please read and abide by our [Code of Conduct](https://publiclab.org/conduct); o
12. Wheeeee! You're up and running! Log in with test usernames "user", "moderator", or "admin", and password "password".
13. Run `rake test` to confirm that your install is working properly. For some setups, you may see warnings even if test pass; [see this issue](https://github.com/publiclab/plots2/issues/440) we're working to resolve.

### Ruby version

Make sure to use ruby-2.3.4. To check your ruby version run `ruby -v`.If you are using some other version then install ruby-2.3.4 with `rvm install 2.3.4`. Later to use ruby-2.3.4, run `rvm use 2.3.4`. Always make sure that you are using the correct ruby version since it might go back to its original version if you close the terminal. You might have to redo the entire installation process after switching to a different version.

### Bundle exec

For some, it will be necessary to prepend your gem-related commands with `bundle exec`, for example, `bundle exec passenger start`; adding `bundle exec` ensures you're using the version of passenger you just installed with Bundler. `bundle exec rake db: setup`, `bundle exec rake db: seed` are other examples of where this might be necessary.
Expand Down

0 comments on commit 6aa3149

Please sign in to comment.