Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Добавление нового нижегородского чата на сайт #2

Open
wants to merge 682 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
682 commits
Select commit Hold shift + click to select a range
c8484b1
Create FUNDING.yml
kugaevsky Jun 5, 2019
5f5ee6b
Update FUNDING.yml
kugaevsky Jun 5, 2019
9c73145
Setup webpacker
kugaevsky Jun 9, 2019
bf556e4
Fix CSP for New Relic config
kugaevsky Jun 9, 2019
c564928
Add webpacker compiled scripts to asset sync
kugaevsky Jun 9, 2019
fe14766
Partially move coffee to ts
kugaevsky Jun 9, 2019
807b068
Fix SimpleMDE
kugaevsky Jun 9, 2019
b7a72e7
Totally remove legacy js
kugaevsky Jun 9, 2019
cabe92d
Fix travis builds
kugaevsky Jun 9, 2019
8a8b454
Add compile in production to webpacker
kugaevsky Jun 9, 2019
d2d7963
Bump version
kugaevsky Jun 9, 2019
3e5414e
Replace bootstrap appbar with MDC
kugaevsky Jun 10, 2019
2fa5eaf
Refactor events index filters
kugaevsky Jun 11, 2019
16eade9
Fix events kind filter
kugaevsky Jun 11, 2019
16884be
Bump shoulda-matchers from 4.0.1 to 4.1.0
dependabot-preview[bot] Jun 10, 2019
46168e9
Fix yandex turbo
kugaevsky Jun 11, 2019
c10b31d
Fix sitemaps, add events controller tests
kugaevsky Jun 11, 2019
0fe706a
Add specs
kugaevsky Jun 11, 2019
0f75ec6
Add sitemaps controller tests
kugaevsky Jun 11, 2019
7dd5ff6
Add dadata
kugaevsky Jun 12, 2019
212aa57
Add dadata
kugaevsky Jun 12, 2019
a333e87
Merge branch 'it52' of github.com:NNRUG/it52-rails into it52
kugaevsky Jun 12, 2019
1efcff1
Fix TestTask constant name
kugaevsky Jun 12, 2019
bfc6348
Fix Raketask naming
kugaevsky Jun 12, 2019
d5b725e
Add donation spent
kugaevsky Jun 15, 2019
f68cb3f
Fixing links to chats
Jun 16, 2019
fe11fb5
Bump rollbar from 2.20.1 to 2.20.2
dependabot-preview[bot] Jun 17, 2019
8c3b386
Merge pull request #172 from NNRUG/dependabot/bundler/rollbar-2.20.2
r3nya Jun 17, 2019
9deb244
Bump asset_sync from 2.7.0 to 2.8.0
dependabot-preview[bot] Jun 17, 2019
60c2f6f
Bump spring from 2.0.2 to 2.1.0
dependabot-preview[bot] Jun 17, 2019
205a37c
Bump ox from 2.10.1 to 2.11.0
dependabot-preview[bot] Jun 17, 2019
4227e75
Add addresses to events
kugaevsky Jun 19, 2019
82b6df1
Bump deps
kugaevsky Jun 19, 2019
cc7169e
Bump version
kugaevsky Jun 19, 2019
2d21306
Disable address resolving in test env
kugaevsky Jun 20, 2019
ed7edf2
Address refactor
kugaevsky Jun 20, 2019
f7cf518
Fix rollbar config in test env
kugaevsky Jun 20, 2019
193991f
Increase travis timeout
kugaevsky Jun 20, 2019
335b0a5
Resolve address only on place change
kugaevsky Jun 20, 2019
c6489bc
Allow address comment for events
kugaevsky Jun 20, 2019
35afcef
Refactor ts
kugaevsky Jun 20, 2019
3c48fe4
Fix event hool on update
kugaevsky Jun 21, 2019
ece4bc4
:arrow_up: :wrench: :building_construction: :heavy_plus_sign: :heavy_…
kugaevsky Jun 23, 2019
69c9eda
Refactor events#show page
kugaevsky Jun 23, 2019
3ca7e75
Add deflater, add vips, fix uglifier
kugaevsky Jun 23, 2019
63cc5e1
Fix dependencies installation
kugaevsky Jun 23, 2019
c579bfb
Bump version 0.2.3
kugaevsky Jun 23, 2019
4543015
Fix Dockerfile
kugaevsky Jun 23, 2019
d870f88
Fix travis
kugaevsky Jun 23, 2019
72e9180
Fix plurals
kugaevsky Jun 24, 2019
8e8e4f3
Fix plurals
kugaevsky Jun 24, 2019
0d95564
Add startups
kugaevsky Jun 25, 2019
53f78c3
Update pg in travis config
kugaevsky Jun 25, 2019
0d6d446
Fix pg port in travis config
kugaevsky Jun 25, 2019
81f0642
Fix pg port in travis config
kugaevsky Jun 25, 2019
7b1b487
Fix tests
kugaevsky Jun 25, 2019
9b742b0
Fix tests
kugaevsky Jun 25, 2019
f5ece00
Fix startup placeholders
kugaevsky Jun 25, 2019
20bc4a9
Fix queues
kugaevsky Jun 25, 2019
3acefaa
Fix queues naming
kugaevsky Jun 25, 2019
7b09701
Bump deps
kugaevsky Jun 25, 2019
a8ee604
Refactor nav
kugaevsky Jun 26, 2019
2bbb535
fix: .snyk & package.json to reduce vulnerabilities
Jul 3, 2019
de50315
Add tslint, fix styles, add tslint to CI
kugaevsky Jul 7, 2019
3b21a68
Add rubocop linting
kugaevsky Jul 7, 2019
3bc671d
fix: Gemfile & Gemfile.lock to reduce vulnerabilities
Jul 13, 2019
234b2f3
Dup frozen sidekiq options hash
kugaevsky Jul 15, 2019
a303b0e
Bump deps
kugaevsky Jul 15, 2019
6f226a9
Merge branch 'it52' into snyk-fix-9c1de2c9ff90de43dd69b4e71df38b95
kugaevsky Jul 15, 2019
b96c084
Update package.json
kugaevsky Jul 15, 2019
6137099
Apply snyk patches
kugaevsky Jul 15, 2019
cdcabe2
fix: .snyk & package.json to reduce vulnerabilities
Jul 15, 2019
0e1f1e3
Merge branch 'snyk-fix-7c2b28e3f8ffcb0e3f8db8de83cf2824' into it52
kugaevsky Jul 15, 2019
2be5514
Empty commit to rerun checks
kugaevsky Jul 15, 2019
2e3c960
Bump snyk
kugaevsky Jul 15, 2019
50d4516
Add deps to Dockerfile
kugaevsky Jul 15, 2019
e53e708
fix: .snyk & package.json to reduce vulnerabilities
Jul 15, 2019
b4c0cd0
Bump snyk
kugaevsky Jul 15, 2019
ec888ce
Add deps to Dockerfile
kugaevsky Jul 15, 2019
f3dd74b
Create codecov.yml (#187)
r3nya Jul 15, 2019
2bf3d10
Bump lodash from 4.17.11 to 4.17.14 (#181)
dependabot[bot] Jul 15, 2019
8909a46
Bump lodash.template from 4.4.0 to 4.5.0 (#179)
dependabot[bot] Jul 15, 2019
e0e3c89
Bump mini_magick from 4.9.4 to 4.9.5 (#189)
dependabot-preview[bot] Jul 22, 2019
a4d41b2
Bump oj from 3.7.12 to 3.8.0 (#190)
dependabot-preview[bot] Jul 22, 2019
614bd97
Bump shoulda-matchers from 4.1.0 to 4.1.1 (#191)
dependabot-preview[bot] Jul 22, 2019
53cbd1f
Add Heroku monitoring
kugaevsky Jul 23, 2019
9bd4ab4
Merge branch 'snyk-fix-ab57294de1a054365b1524f5a03d63f7' into it52
kugaevsky Jul 23, 2019
a0eddda
Add @kotlin_nn
kugaevsky Jul 23, 2019
e546162
Update codecov.yml
r3nya Jul 29, 2019
b87b7d0
Bump asset_sync from 2.8.0 to 2.8.1 (#193)
dependabot-preview[bot] Jul 29, 2019
885fd8a
Bump oj from 3.8.0 to 3.8.1 (#192)
dependabot-preview[bot] Jul 29, 2019
6321c53
Bump rubocop from 0.72.0 to 0.73.0
dependabot-preview[bot] Jul 22, 2019
2afa74a
Bump webmock from 3.6.0 to 3.6.2 (#198)
dependabot-preview[bot] Aug 5, 2019
e93feae
Bump shoulda-matchers from 4.1.1 to 4.1.2 (#197)
dependabot-preview[bot] Aug 5, 2019
936e115
Bump redcarpet from 3.4.0 to 3.5.0 (#196)
dependabot-preview[bot] Aug 5, 2019
a4b467a
[Security] Bump nokogiri from 1.10.3 to 1.10.4 (#200)
dependabot-preview[bot] Aug 12, 2019
97dc1a7
Bump rubocop from 0.73.0 to 0.74.0 (#195)
dependabot-preview[bot] Aug 12, 2019
ae76e1a
Fixed typo
DASenkiv Aug 15, 2019
1be79ad
Bump omniauth-google-oauth2 from 0.7.0 to 0.8.0 (#207)
dependabot-preview[bot] Aug 26, 2019
26e8c4f
Bump autoprefixer-rails from 9.6.1 to 9.6.1.1 (#206)
dependabot-preview[bot] Aug 26, 2019
a278c01
Bump rollbar from 2.21.0 to 2.22.0 (#204)
dependabot-preview[bot] Aug 26, 2019
4e09605
Bump ffaker from 2.11.0 to 2.12.0 (#203)
dependabot-preview[bot] Aug 26, 2019
ff86cbf
Update .travis.yml
r3nya Aug 26, 2019
b4553e3
Update .travis.yml
r3nya Aug 26, 2019
5183121
Update .travis.yml
r3nya Aug 26, 2019
b61f012
Update .travis.yml
r3nya Aug 26, 2019
a6709ea
Update .travis.yml
r3nya Aug 26, 2019
c70a8e5
Update .travis.yml
r3nya Aug 26, 2019
af8f429
Update .travis.yml
r3nya Aug 26, 2019
696fbb3
Update .travis.yml
r3nya Aug 26, 2019
23d0de3
Bump rubocop from 0.72.0 to 0.73.0
dependabot-preview[bot] Jul 22, 2019
8b135cd
fix: copy travis db config before install
kugaevsky Sep 5, 2019
3bd1651
conf: update gems
kugaevsky Sep 5, 2019
ebe9b1c
Bump devise from 4.7.0 to 4.7.1
dependabot-preview[bot] Sep 9, 2019
17f87ee
Bump newrelic_rpm from 6.5.0.357 to 6.6.0.358
dependabot-preview[bot] Sep 9, 2019
56f357d
Bump meta-tags from 2.11.1 to 2.12.0 (#219)
dependabot-preview[bot] Sep 17, 2019
6712101
Update telegram_channels.yml (#220)
r3nya Sep 17, 2019
679df09
Bump webmock from 3.7.2 to 3.7.3 (#218)
dependabot-preview[bot] Sep 17, 2019
3466b1b
Point Startups was added in main menu
ujifyxbr Sep 20, 2019
d01433e
Bump font-awesome-sass from 5.9.0 to 5.11.1 (#222)
dependabot-preview[bot] Sep 23, 2019
b5986a7
Bump webmock from 3.7.3 to 3.7.5 (#224)
dependabot-preview[bot] Sep 23, 2019
54adaf4
Bump redis from 4.1.2 to 4.1.3 (#223)
dependabot-preview[bot] Sep 23, 2019
b3ebdd6
Bump font-awesome-sass from 5.11.1 to 5.11.2 (#231)
dependabot-preview[bot] Sep 30, 2019
1989ce4
Bump codecov from 0.1.14 to 0.1.15 (#232)
dependabot-preview[bot] Sep 30, 2019
4e67d8d
Bump factory_bot_rails from 5.0.2 to 5.1.0 (#228)
dependabot-preview[bot] Sep 30, 2019
881171d
Bump webmock from 3.7.5 to 3.7.6 (#226)
dependabot-preview[bot] Sep 30, 2019
0a1ce12
Bump uglifier from 4.1.20 to 4.2.0 (#227)
dependabot-preview[bot] Sep 30, 2019
a838462
Bump ruby to 2.6.5. Upgrade dependencies
kugaevsky Oct 5, 2019
eb80c29
Bump simple_form from 4.1.0 to 5.0.0
dependabot-preview[bot] Oct 5, 2019
5b739db
Fix travis config
kugaevsky Oct 5, 2019
ffa0258
Manifesto was added
ujifyxbr Sep 28, 2019
baa03a0
Lint fixes
kugaevsky Oct 5, 2019
41f7e3c
Rubocop fixes
kugaevsky Oct 5, 2019
ba9cc20
Add imagemagick to Dockerfile
kugaevsky Oct 5, 2019
a087c45
Fix bundle start error
kugaevsky Oct 5, 2019
05d9c8e
Fix Dockerfile
kugaevsky Oct 6, 2019
28fc2dd
Bump autoprefixer-rails from 9.6.2 to 9.6.4 (#235)
dependabot-preview[bot] Oct 7, 2019
4373fe4
Bump rubocop-rake from 0.3.0 to 0.3.1 (#236)
dependabot-preview[bot] Oct 7, 2019
28d0a70
Bump listen from 3.1.5 to 3.2.0 (#238)
dependabot-preview[bot] Oct 7, 2019
7570a41
Merge pull request #230 from NNRUG/dependabot/bundler/simple_form-5.0.0
noroot Oct 7, 2019
0979c9d
Fix manifesto
kugaevsky Oct 8, 2019
1eb1b55
Docker reloaded
kugaevsky Oct 7, 2019
e0b2181
ci: unlock and clean up compiled files between builds
kugaevsky Oct 11, 2019
f24c7da
ci: fix docker login
kugaevsky Oct 11, 2019
35895c7
ci: manual cache clean up
kugaevsky Oct 11, 2019
66db48c
ci: more manual cache clean up
kugaevsky Oct 11, 2019
ad98f17
ci: define deploy script interpreter
kugaevsky Oct 11, 2019
e26dbbc
docker: fix production build
kugaevsky Oct 11, 2019
8ebe334
ci: clean up
kugaevsky Oct 11, 2019
aaa2e90
ci: move config copy to build script
kugaevsky Oct 11, 2019
99ce581
ci: clean up
kugaevsky Oct 11, 2019
5ba9109
test: tune up and update
kugaevsky Oct 11, 2019
c78fd20
Style fixes
kugaevsky Oct 11, 2019
1e9b933
ci: change sequence
kugaevsky Oct 11, 2019
757606b
ci: add nginx
kugaevsky Oct 11, 2019
aa20d5b
ci: add volumes
kugaevsky Oct 12, 2019
d325ef2
ci: add volumes
kugaevsky Oct 12, 2019
e5b9e7a
docker: fix nginx image name
kugaevsky Oct 12, 2019
33c10ad
build(deps): bump meta-tags from 2.12.0 to 2.13.0 (#242)
dependabot-preview[bot] Oct 14, 2019
1f33be8
build(deps-dev): bump rubocop-rake from 0.3.1 to 0.4.0 (#243)
dependabot-preview[bot] Oct 14, 2019
508162f
Update telegram_channels.yml (#245)
r3nya Oct 14, 2019
44b1b8e
Fix participants download
kugaevsky Oct 18, 2019
8e25eaa
build(deps-dev): bump test-prof from 0.10.0 to 0.10.1 (#246)
dependabot-preview[bot] Oct 21, 2019
68597ae
build(deps): bump autoprefixer-rails from 9.6.4 to 9.6.5 (#248)
dependabot-preview[bot] Oct 22, 2019
44920a6
build(deps): [security] bump loofah from 2.3.0 to 2.3.1
dependabot-preview[bot] Oct 24, 2019
e917f5e
Merge pull request #251 from NNRUG/dependabot/bundler/loofah-2.3.1
noroot Oct 24, 2019
9577504
fix: fix remaining time decorator
kugaevsky Oct 26, 2019
9545bfd
build(deps-dev): bump rubocop from 0.75.0 to 0.75.1
dependabot-preview[bot] Oct 21, 2019
fc60407
Docker tunes
kugaevsky Oct 15, 2019
ae1bd0f
feat: add MCS logo
kugaevsky Jul 29, 2019
4319f87
Fix docker production image push
kugaevsky Oct 27, 2019
82a79b6
Fix devise initializer
kugaevsky Oct 27, 2019
42a4e60
Fix nginx config
kugaevsky Oct 27, 2019
1004374
Fix secret key base
kugaevsky Oct 27, 2019
7a47a21
Fix production mailing host
kugaevsky Oct 27, 2019
710876d
Fix gh & vk auth
kugaevsky Oct 27, 2019
c7c4008
Add alt to images, add caching to xml
kugaevsky Oct 27, 2019
2b8595f
Fix mailing host
kugaevsky Oct 27, 2019
cbd31ca
Fix startups url in nav
kugaevsky Oct 27, 2019
c7d0336
Update deps
kugaevsky Oct 28, 2019
36fb220
Add glib
kugaevsky Oct 28, 2019
edc0ce9
Lock VIPS lib
kugaevsky Oct 28, 2019
abc570c
Typofix
kugaevsky Oct 28, 2019
2ef9151
Switch mailgun to SMTP
kugaevsky Oct 29, 2019
7fbd1a8
Codestyle
kugaevsky Oct 29, 2019
b23bade
Cleanup manifesto page (#255)
r3nya Nov 19, 2019
c5f4270
fix: package.json & yarn.lock to reduce vulnerabilities (#259)
snyk-bot Dec 10, 2019
c1ddcef
build(deps): bump rack from 2.0.7 to 2.0.8 (#263)
dependabot[bot] Dec 19, 2019
cdd270e
build(deps): bump puma from 4.2.1 to 4.3.1
dependabot[bot] Dec 19, 2019
ee011f3
Merge pull request #260 from NNRUG/dependabot/bundler/puma-4.3.1
r3nya Jan 3, 2020
88f69f7
build(deps): bump excon from 0.67.0 to 0.71.0
dependabot[bot] Dec 16, 2019
a5fa2a5
Add dotNet community (#264)
jmistx Jan 9, 2020
9f878ef
fix: package.json & yarn.lock to reduce vulnerabilities (#266)
snyk-bot Jan 22, 2020
8ad46c4
tech: bump ruby to 2.7.0
kugaevsky Jan 4, 2020
e26d8b9
Update .rubocop_todo.yml
kugaevsky Jan 4, 2020
7aca79a
fix: fix ling title on small screens
kugaevsky Jan 26, 2020
d520957
fix: fix events#show markup
kugaevsky Jan 26, 2020
c0cd3ba
fix: fix long title on large screens
kugaevsky Jan 26, 2020
0cae007
fix: reposition manage buttons on events#show
kugaevsky Jan 26, 2020
c3717aa
tech: bump deps
kugaevsky Feb 1, 2020
aac075d
fix: respect short months in spec
kugaevsky Feb 1, 2020
f30d4ce
fix: add rails time helpers to rspec configuration
kugaevsky Feb 1, 2020
3fa8398
tech: bump deps
kugaevsky Feb 3, 2020
0b57a73
tech: bump deps
kugaevsky Feb 7, 2020
649ba8e
build(deps): bump nokogiri from 1.10.7 to 1.10.8 (#272)
dependabot[bot] Feb 25, 2020
41ace94
build(deps): bump puma from 4.3.1 to 4.3.3 (#273)
r3nya Mar 5, 2020
4c3c90d
build(deps): bump acorn from 6.3.0 to 6.4.1 (#274)
dependabot[bot] Mar 15, 2020
d87fb70
fix: Gemfile to reduce vulnerabilities (#278)
snyk-bot May 14, 2020
320fd07
build(deps): bump puma from 4.3.3 to 4.3.5 (#280)
dependabot[bot] May 22, 2020
095b7c7
build(deps): bump kaminari from 1.2.0 to 1.2.1 (#281)
dependabot[bot] May 29, 2020
24b61e8
Add "IT Architects Community of Nizhny Novgorod" (#282)
r3nya May 29, 2020
3f966ee
[Snyk] Security upgrade webpack-dev-server from 3.8.2 to 3.11.0 (#277)
snyk-bot Jun 3, 2020
6985a30
fix: Gemfile to reduce vulnerabilities
snyk-bot Jun 3, 2020
96587be
Bump ruby, fix deps versions
kugaevsky Jun 3, 2020
cae9a48
Bump ruby in docker
kugaevsky Jun 3, 2020
0aab2a7
Bump deps
kugaevsky Jun 3, 2020
884e857
build(deps): bump websocket-extensions from 0.1.3 to 0.1.4 (#285)
dependabot[bot] Jun 6, 2020
74c53a1
build(deps): bump elliptic from 6.5.1 to 6.5.3 (#290)
dependabot[bot] Jul 30, 2020
2abcc6e
build(deps): bump lodash from 4.17.15 to 4.17.19 (#289)
dependabot[bot] Jul 30, 2020
5554110
Add ODS breakfasts channel
YuryYakhno Jun 30, 2020
2544c55
build(deps): bump http-proxy from 1.18.0 to 1.18.1 (#295)
dependabot[bot] Sep 9, 2020
87d8ec1
build(deps): bump node-sass from 4.13.0 to 4.14.1 (#294)
dependabot[bot] Dec 5, 2020
542f3bb
fix: package.json & yarn.lock to reduce vulnerabilities (#309)
snyk-bot Apr 2, 2021
635b2a8
build(deps): bump ini from 1.3.5 to 1.3.7 (#298)
dependabot[bot] Apr 2, 2021
60f12cb
build(deps): bump bl from 3.0.0 to 3.0.1 (#292)
dependabot[bot] Apr 2, 2021
a3d3dec
build(deps): bump y18n from 4.0.0 to 4.0.1 (#310)
dependabot[bot] Apr 2, 2021
0a9d330
build(deps): bump elliptic from 6.5.3 to 6.5.4 (#305)
dependabot[bot] Apr 2, 2021
e9d97f8
build(deps): bump url-parse from 1.4.7 to 1.5.1 (#316)
dependabot[bot] May 8, 2021
3eb37a0
build(deps): bump lodash from 4.17.20 to 4.17.21 (#317)
dependabot[bot] May 9, 2021
3c9140e
build(deps): bump codemirror from 5.47.0 to 5.61.0 (#318)
dependabot[bot] May 12, 2021
ea909b0
Added lanparty_nn channel (#352)
SNMetamorph Feb 25, 2022
20ef55b
build(deps): bump url-parse from 1.5.1 to 1.5.7 (#351)
dependabot[bot] Feb 25, 2022
0cea78d
fix: package.json & yarn.lock to reduce vulnerabilities (#343)
snyk-bot Feb 25, 2022
ac5eb61
Add agile_nn community link (#341)
noroot Feb 25, 2022
d3c215c
tech: update deps and add github actions
kugaevsky Feb 26, 2022
b087620
tech: bump rails to 6
kugaevsky Feb 27, 2022
ad8a15f
tech: bump ruby to 3.1.1
kugaevsky Feb 28, 2022
2860a87
tech: bump rails to 6.1
kugaevsky Feb 28, 2022
2c3b84e
fix: disable mailchimp integration
kugaevsky Apr 19, 2022
b912e98
fix: export participants to csv
kugaevsky May 25, 2022
41806b2
fix: export participants to csv
kugaevsky May 26, 2022
84cb1e6
Update telegram_channels.yml
ujifyxbr Jun 7, 2022
5d805bc
фикс для отображения корректных блоков информации на странице с эвент…
ujifyxbr Aug 18, 2022
174dc8f
add and remove items from tg channels and link for ios app
ujifyxbr Sep 22, 2023
ea8964a
fix: Gemfile & Gemfile.lock to reduce vulnerabilities
snyk-bot Sep 6, 2023
adbcd6b
fix: package.json & yarn.lock to reduce vulnerabilities
snyk-bot Jun 23, 2023
7bc807a
chore(deps): update deps and actions
kugaevsky Oct 6, 2023
2275490
chore(deps): update webpack
kugaevsky Oct 6, 2023
a89402e
chore(deps): lock shitty webpack
kugaevsky Oct 6, 2023
35d60e0
chore(deps): update browserlist
kugaevsky Oct 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
defaults
29 changes: 29 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.byebug_history
.bundle/
.dockerignore
.env*
.git
.github/*
.gitignore
.idea
.vagrant/*
coverage/*
config/master.key
docker/Dockerfile*
docker/docker-compose.*
log/*
node_modules/*
Procfile*
public/assets/*
public/packs/*
public/packs-test/*
public/system/*
public/sitemap*
public/uploads/*
storage/*
tmp/*
vendor/*
yarn-error.log

*.sublime-project
*.sublime-workspace
6 changes: 6 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
COMPOSE_PROJECT_NAME=it52
VCS_REF=$(git rev-parse --short HEAD)
BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
VERSION=latest
REDIS_URL=redis://redis:6379

11 changes: 11 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"env": { "browser": true },
"extends": ["airbnb"],
"plugins": ["@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"parserOptions": { "project": ["./tsconfig.json"] },
"rules": {
"import/no-unresolved": 0,
"react/jsx-filename-extension": [1, { "extensions": [".jsx", ".tsx"] }]
}
}
1 change: 1 addition & 0 deletions .gemrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
install: --no-document
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: [kugaevsky, r3nya, ujifyxbr, noroot]
patreon: it52
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: https://www.it52.info/donate
14 changes: 14 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Deploy container to production
on: workflow_dispatch
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
steps:
- name: Update and restart docker container
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.DEPLOY_HOST }}
username: ${{ secrets.DEPLOY_USERNAME }}
key: ${{ secrets.DEPLOY_KEY }}
script: sudo /opt/it52/update_docker
31 changes: 31 additions & 0 deletions .github/workflows/docker-build-and-push-develpoment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Docker build and push develpoment
on:
push
jobs:
build-development:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v5
with:
context: ./
file: ./docker/Dockerfile
build-args: RAILS_MASTER_KEY=${{ secrets.RAILS_MASTER_KEY }}
builder: ${{ steps.buildx.outputs.name }}
push: true
tags: it52/rails:latest
cache-from: type=registry,ref=it52/rails:buildcache-dev
cache-to: type=registry,ref=it52/rails:buildcache-dev,mode=max
33 changes: 33 additions & 0 deletions .github/workflows/docker-build-and-push-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Docker build and push production
on:
push:
branches:
- 'it52'
jobs:
build-production:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v5
with:
context: ./
file: ./docker/Dockerfile.production
build-args: RAILS_MASTER_KEY=${{ secrets.RAILS_MASTER_KEY }}
builder: ${{ steps.buildx.outputs.name }}
push: true
tags: it52/rails:production
cache-from: type=registry,ref=it52/rails:buildcache-prod
cache-to: type=registry,ref=it52/rails:buildcache-prod,mode=max
67 changes: 52 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,32 @@
/.bundle
/vendor/bundle
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'

# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal
/db/sphinx

# Ignore all logfiles and tempfiles.
/log/*.log
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

# Ignore production environment
.env.production

# Ignore Byebug command history file.
.byebug_history

# Custom ignorance settings

/db/*.sqlite3
/db/*.sqlite3-journal
/db/sphinx

/log/development.sphinx.pid
/tmp
.tags
.tags_sorted_by_file
.irb-history
Expand All @@ -19,17 +37,36 @@ nginx_rewrite.txt
*.sublime-workspace
.idea

/config/database.yml
/config/application.yml
/config/settings.yml
/config/newrelic.yml
/config/thinking_sphinx.yml
/config/development.sphinx.conf
/config/secrets.yml

/public/system
# Ignore user files and compiled assets
/public/assets
/public/packs
/public/packs-test
/public/sitemap*
/public/system
/public/uploads

/config/deploy.rb
# Ignore test coverage reports
/coverage/

# Vagrant vm
.vagrant

# Ignore master key for decrypting credentials and more.
/config/master.key

# Ignore javascript dependencies
/node_modules/
/yarn-error.log
yarn-debug.log*
.yarn-integrity

# Ignore ruby dependencies
/.bundle
/vendor

/public/packs
/public/packs-test
/node_modules
/yarn-error.log
yarn-debug.log*
.yarn-integrity
29 changes: 29 additions & 0 deletions .old-travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
language: generic

services:
- docker

before_install:
- docker pull it52/rails:latest

install:
- make build

before_script:
- docker-compose -f docker/docker-compose.yml run rails sh -c "bin/rails db:create && bin/rails db:schema:load"

script:
- make test

before_cache:
- sudo rm -fr coverage public/uploads/* tmp/cache tmp/uploads

before_deploy:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker push it52/rails:latest

deploy:
provider: script
script: bash -c "make build_and_publish_prod"
on:
branch: it52
2 changes: 2 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
--color
--require rails_helper
--profile 5
39 changes: 39 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
inherit_from: .rubocop_todo.yml

# The behavior of RuboCop can be controlled via the .rubocop.yml
# configuration file. It makes it possible to enable/disable
# certain cops (checks) and to alter their behavior if they accept
# any parameters. The file can be placed either in your home
# directory or in some project directory.
#
# RuboCop will start looking for the configuration file in the directory
# where the inspected file is and continue its way up to the root directory.
#
# See https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md

require:
- rubocop-faker
- rubocop-i18n
- rubocop-md
- rubocop-performance
- rubocop-rails
- rubocop-rspec

AllCops:
Exclude:
- 'node_modules/**/*'
- 'vendor/**/*'
- '.git/**/*'
- 'bin/**/*'
- 'db/schema.rb'

Style/FrozenStringLiteralComment:
Enabled: false

Style/HashSyntax:
Exclude:
- 'app/controllers/events_controller.rb'
- 'lib/da_data/request.rb'

RSpec/MultipleExpectations:
Max: 5
Loading