G.Ambatte
03e74afe80
Fix for MongoDB package update breaking install script
...
Change to enable use of rcvars for NODE_ENV and PORT
2021-01-10 17:23:14 +13:00
G.Ambatte
b0c1a5a6b1
Add link to FreeBSD install documenation in the main README.md file
2021-01-10 15:27:04 +13:00
G.Ambatte
3af43164f4
Remove hanging comma in config.json
...
Change default port assignment from 8000 to 8001 in config.json and FreeBSD service config
2021-01-09 23:03:39 +13:00
G.Ambatte
2a340b7a65
Update coverpage.gen.js ( #1173 )
...
Fix for page numbers, footers, and footnotes being on the wrong side of the page after a cover page has been inserted - as per Reddit post: https://redd.it/kncoe7
2021-01-09 02:03:08 -05:00
Alexey Sachkov
2f27aeb77f
Update README ( #1181 )
...
Added circleci build badge.
Added contribution section.
Refactored the source to fit (mostly) into
80-column limit so it can be nicely read in
terminal applications
2021-01-09 01:24:03 -05:00
G.Ambatte
e394539742
Move NODE_ENV to service file; remove from server.js and config/default.json
2021-01-03 23:57:43 +13:00
dependabot[bot]
1a0f29b6ef
Bump ini from 1.3.5 to 1.3.8 ( #1153 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-02 18:38:11 -05:00
Trevor Buckner
39b160e202
Update Dependencies ( #1178 )
...
* Update Dependencies
* Up version number
* Typo
2021-01-02 18:30:11 -05:00
Trevor Buckner
aa065fa4d8
Do not Server-Side Render the markdown ( #1177 )
...
1) Rendering is fast enough on the client we don't need to provide SSR for the brew contents.
2) This leaves our server open to REDOS attacks if users create ridiculously long single lines of text. The Markdown parser slows down with exponential time which becomes noticeable at 10,000+ characters in one line, and at 200,000+ characters will stall the server and eventually crash.
3) This now shows a nice loading circle for the half-second that a page takes to render. If a user tries to load a huge line of text the loading circle will be there instead of a blank white page.
2021-01-02 16:54:50 -05:00
Alexey Sachkov
19ca1db674
Tweak spelling of username on user page ( #1175 )
...
Fixes #575
2020-12-31 14:12:16 -05:00
G.Ambatte
bd416233eb
Update server.js
...
Lint is happy, now attempting to pacify CircleCI
2020-12-29 17:57:33 +13:00
G.Ambatte
7ca9d601a0
Update server.js
...
Eliminating unnecessary debugging code, reducing line count and making lint happy :)
2020-12-29 17:55:15 +13:00
G.Ambatte
ac8988ad41
Update homebrewery
...
Add `dev_mode` to the HomeBrewery service, which starts the HomeBrewery project in live rebuild mode.
2020-12-28 21:31:00 +13:00
G.Ambatte
90fdc71279
Change install directory
...
Change of install directory to `/usr/local/homebrewery`
2020-12-28 15:24:29 +13:00
G.Ambatte
5d126ff14d
Update install.sh
...
Change to main project repo, on assumption that the PR will be merged at some point
2020-12-28 15:12:51 +13:00
G.Ambatte
38e098f6c4
Create README.FREEBSD.md
...
Initial write up of install instructions. Includes instruction to `wget` from the `naturalcrit/homebrewery` project rather than the FreeBSD fork, on the assumption that the PR will be merged at some point.
2020-12-28 14:28:49 +13:00
G.Ambatte
d3fa8a54ae
Remove --force option
...
Remove --force option from `npm audit fix`. While this has not caused any issues to date, there is no guarantee that it will continue to be the case.
2020-12-28 12:56:17 +13:00
Alexey Sachkov
a58384d8d1
Cleanup unneeded "require" ( #1169 )
2020-12-26 21:29:49 -05:00
Trevor Buckner
8e1951ba67
Access google files with Service Account
...
Using API key is triggering "automation" warnings from Google
2020-12-25 15:15:51 -05:00
Trevor Buckner
3dba731dd7
Popup confirmation when switching between google and hb ( #1155 )
...
* Popup confirmation when switching between google and hb
* Allow closing error popup.
* Up version.
2020-12-18 23:51:08 -05:00
Trevor Buckner
f8f19efcaa
update several dependencies ( #1154 )
2020-12-11 23:22:02 -05:00
Trevor Buckner
980fdf5ad1
Small bug causing crashes with Tags ( #1152 )
...
Also: Force Google to always send to trash instead of fully deleting.
Remove unneeded console.logs to speed up server.
2020-12-11 16:18:28 -05:00
G.Ambatte
443094d282
Update server.js
...
Change to setting NODE_ENV; default to 'local' if not set via environment variable or in the config file.
2020-12-06 21:54:20 +13:00
G.Ambatte
e727f1749f
Remove environment variables from rc.d
...
Remove environment variables from rc.d as they are now in config/default.json.
2020-12-06 20:41:48 +13:00
G.Ambatte
1224a54884
Add config items
...
Add config items and default values:
- web_port (8001)
- environment (local)
2020-12-06 20:39:43 +13:00
G.Ambatte
897e7dccc6
Update install.sh
...
Switch to latest version of MongoDB
2020-12-06 18:43:01 +13:00
G.Ambatte
88631ed7a8
Update install.sh
2020-12-06 18:35:24 +13:00
G.Ambatte
65f4094b5a
Create install.sh
2020-12-06 18:06:23 +13:00
G.Ambatte
99656357b1
Add rc.d daemon script
...
Adds a RC.d daemon script to control the HomeBrewery status. Based on Andrew Pearson's Node-RED script for the same purpose.
2020-12-06 18:01:39 +13:00
G.Ambatte
d33ae2a50a
Update server.js
...
Eliminate requirement to CD into project directory prior to running `npm start` or `node server.js`.
2020-12-06 17:51:18 +13:00
G.Ambatte
f419430c6b
Merge pull request #1 from naturalcrit/master
...
Add detailed MongoDB Install instructions
2020-11-30 19:30:23 +13:00
Trevor Buckner
e127855d84
Add detailed MongoDB Install instructions
2020-11-29 23:20:28 -05:00
Trevor Buckner
8ffea70b2f
Remove metadata on the Homepage ( #1121 )
...
* Remove the metadata button on home page
1) Hopefully make it more clear that the Homepage is meant as a sandbox to test out the site, not a real brew that will be saved.
2) Also, avoid errors resulting from trying to modify the metadata of a brew that doesn't really exist yet.
* Lint
2020-11-27 21:14:15 -05:00
Trevor Buckner
3fbddd2e41
Revert Blockquote list font size
...
Was technically correct, but messed up some existing brews.
2020-11-27 20:57:01 -05:00
Trevor Buckner
5a17697e7e
Merge pull request #1118 from naturalcrit/fixGoogleMetadata
...
Fix metadata in Google docs
2020-11-25 13:26:14 -05:00
Trevor Buckner
6f66fdc6d6
Bump version to 2.10.4
2020-11-25 13:24:10 -05:00
Trevor Buckner
a29fdb43c9
Merge pull request #1108 from ericscheid/fix-inconsistent-list-item-sizing-#1085
...
line-heights consistent in bq li (#1085 )
2020-11-23 19:21:46 -05:00
Trevor Buckner
7462e66858
Fix metadata in Google docs
...
Update view counts via service account since modifying another users' file properties requires increased permission scope
2020-11-22 23:53:34 -05:00
Eric Scheid
d9364cf60a
line-heights consistent in bq li ( #1085 )
2020-11-23 03:13:25 +11:00
Trevor Buckner
b0375bddd1
Merge pull request #1099 from naturalcrit/optimize-page-load
...
Fix broken API calls
2020-11-12 17:31:07 -05:00
Trevor Buckner
56795afabb
Fix broken API calls
...
expressStaticGzip was serving empty index files when it saw requests ending in '/' like 'api/newGoogle/'
2020-11-12 17:17:02 -05:00
Trevor Buckner
acf9f464f0
Merge pull request #1098 from naturalcrit/optimize-page-load
...
Compress static files
2020-11-11 22:22:45 -05:00
Trevor Buckner
74c615f156
Cleanup
2020-11-11 22:21:27 -05:00
Trevor Buckner
133af4ea2c
lint
2020-11-11 22:02:17 -05:00
Trevor Buckner
4182c79354
Use a library instead. Checks that the browser is compatible first.
2020-11-11 22:01:42 -05:00
Trevor Buckner
759d986188
lint
2020-11-11 21:41:48 -05:00
Trevor Buckner
600ca90fc0
Serve compressed static files if available
2020-11-11 21:19:49 -05:00
Trevor Buckner
3b52888877
Merge pull request #1078 from RKuerten/update-b-i
...
Updated makeBold and makeItalic functions
2020-10-28 22:26:49 -04:00
Trevor Buckner
e23120a4c6
Reduce duplicate code
2020-10-28 22:25:25 -04:00
Trevor Buckner
38d47f6aa1
Remove console.log slowing things down.
2020-10-27 11:24:07 -04:00