OpenlyOne / openly-rails

"GitHub" for Google Drive [inactive]
https://www.open.ly/
GNU General Public License v3.0
21 stars 1 forks source link

Make private projects a premium feature #321

Closed FinnWoelm closed 5 years ago

FinnWoelm commented 5 years ago

Add support for premium accounts (paid plans). All accounts default to free accounts. This can be changed via the admin panel.

Free users can only create public projects. Premium users can choose between creating private and public projects.

codecov-io commented 5 years ago

Codecov Report

Merging #321 into development will increase coverage by 0.07%. The diff coverage is 100%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development     #321      +/-   ##
===============================================
+ Coverage        99.61%   99.68%   +0.07%     
===============================================
  Files              128      128              
  Lines             2824     2844      +20     
===============================================
+ Hits              2813     2835      +22     
+ Misses              11        9       -2
Impacted Files Coverage Δ
app/models/project.rb 100% <100%> (ø) :arrow_up:
app/controllers/projects_controller.rb 100% <100%> (ø) :arrow_up:
app/models/profiles/user.rb 100% <100%> (ø) :arrow_up:
app/dashboards/account_dashboard.rb 100% <100%> (ø) :arrow_up:
app/models/ability.rb 100% <100%> (ø) :arrow_up:
app/models/account.rb 100% <100%> (ø) :arrow_up:
app/controllers/admin/application_controller.rb 100% <0%> (+16.66%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4666497...73bff59. Read the comment docs.