├── Procfile ├── README.md ├── History.markdown ├── Gemfile ├── .github └── dependabot.yml ├── Makefile ├── views ├── error.erb ├── index.erb ├── success.erb └── layout.erb ├── config.ru ├── LICENSE └── Gemfile.lock /Procfile: -------------------------------------------------------------------------------- 1 | web: bundle exec rackup -p $PORT 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # teams 2 | 3 | The code behind https://teams.jekyllrb.com 4 | -------------------------------------------------------------------------------- /History.markdown: -------------------------------------------------------------------------------- 1 | ## HEAD 2 | 3 | ### Minor Enhancements 4 | 5 | * Bump sinatra from 2.1.0 to 2.2.0 (#13) 6 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem "squad_goals", 4 | git: "https://github.com/benbalter/squad_goals", 5 | ref: "cf62d6384229644823d263a2812954a246ecb77e" 6 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: bundler 4 | directory: "/" 5 | schedule: 6 | interval: daily 7 | open-pull-requests-limit: 10 8 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | LE_DOMAIN=teams.jekyllrb.com 2 | 3 | renew-cert: 4 | sudo certbot certonly --manual -d $(LE_DOMAIN) 5 | sudo heroku certs:update /etc/letsencrypt/live/$(LE_DOMAIN)/fullchain.pem /etc/letsencrypt/live/$(LE_DOMAIN)/privkey.pem 6 | -------------------------------------------------------------------------------- /views/error.erb: -------------------------------------------------------------------------------- 1 |
5 | This is embarassing. It looks like something went wrong. 6 | Try again? 7 |
8 |<%= team.description %> Mention with @<%= org_id %>/<%= team.slug %>
6 | You've successsfully joined <%= organization.name %>'s '<%= team_requested.name %>. 7 |
8 | 9 |10 | Join another team? 11 |
12 | <% else %> 13 |14 | Almost there. Just one more step. 15 | Please accept this invitation to join <%= organization.name %>, so that we can add you to the <%= team_requested.name %> team. 16 |
17 | <% end %> 18 |
38 |
39 | Join a <%= org_id %> affinity team.
65 |