Commit Graph

16 Commits (e0e23c2f9d977dff823c413ab094045e3c913ebd)

Author SHA1 Message Date
Dessalines 5c6258390c
Isomorphic docker (#1124)
* Adding a way to GetComments for a community given its name only.

* Adding getcomments to api docs.

* A first pass at locally working isomorphic integration.

* Testing out cargo-husky.

* Testing a fail hook.

* Revert "Testing a fail hook."

This reverts commit 0941cf1736.

* Moving server to top level, now that UI is gone.

* Running cargo fmt using old way.

* Adding nginx, fixing up docker-compose files, fixing docs.

* Trying to re-add API tests.

* Fixing prod dockerfile.

* Redoing nightly fmt

* Trying to fix private message api test.

* Adding CommunityJoin, PostJoin instead of joins from GetComments, etc.

- Fixes #1122

* Fixing fmt.

* Fixing up docs.

* Removing translations.

* Adding apps / clients to readme.

* Fixing main image.

* Using new lemmy-isomorphic-ui with better javascript disabled.

* Try to fix image uploads in federation test

* Revert "Try to fix image uploads in federation test"

This reverts commit a2ddf2a90b.

* Fix post url federation

* Adding some more tests, some still broken.

* Don't need gitattributes anymore.

* Update local federation test setup

* Fixing tests.

* Fixing travis build.

* Fixing travis build, again.

* Changing lemmy-isomorphic-ui to lemmy-ui

* Error in travis build again.

Co-authored-by: Felix Ableitner <me@nutomic.com>
2020-09-15 15:26:47 -04:00
nutomic 80aef61aed Split code into cargo workspaces (#67)
More fixes

- fixed docker builds
- fixed mentions regex test
- fixed DATABASE_URL stuff
- change schema path in diesel.toml

Address review comments

- add jsonb column back into activity table
- remove authors field from cargo.toml
- adjust LEMMY_DATABASE_URL env var usage
- rename all occurences of LEMMY_DATABASE_URL to DATABASE_URL

Decouple utils and db

Split code into cargo workspaces

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/67
2020-07-10 18:15:41 +00:00
Richie Zhang d17316508c Improve shell scripts (#705)
* Improve init-db.sh

Allow custom database parameters.
Abstract common functionality.

* Improve install.sh

Abstract common functionality.
Ask to automagically reload the project when source files are changed.
2020-05-11 13:16:08 -04:00
Richie Zhang 8d4ab4555c Improve the yes/no prompt in install.sh (#683)
* Improve the yes/no prompt in install.sh

The old implementation used a feature only present on Bash version 4, which not all systems have. The new version should work on all bash shells.

* Update install.sh
2020-05-01 10:33:28 -04:00
Dessalines 62ab68d317 Adding full logging. 2020-03-13 11:08:42 -04:00
Richie Zhang a8126b33bb Add line breaks after user prompts in install.sh 2020-02-08 13:02:40 -08:00
Richie Zhang 15ef4a7122 Add a semicolon. 2020-02-08 12:56:13 -08:00
Richie Zhang 186ad57858 Fix a user prompt in install.sh 2020-02-08 12:54:41 -08:00
Richie Zhang 8871dcef7d Add an option to initialize the database from install.sh 2020-02-08 12:53:46 -08:00
Dessalines ef05f00983 Fixing install.sh db export. 2020-01-26 20:44:00 -05:00
Dessalines f0808a1116 Adding custom language setting.
- Fixes #319
2019-12-09 00:24:53 -08:00
Dessalines 820af56387 Externalizing JWT token 2019-05-02 09:55:29 -07:00
Dessalines 66cbd050a1 Documentation 2019-04-26 09:15:17 -07:00
Felix Ableitner c6ad290bc6 Add shebang to scripts 2019-04-26 17:49:14 +02:00
Dessalines 4ab28c01c6 Showing how to do live update developing in the install script. 2019-04-18 09:23:19 -07:00
Dessalines b8c259f9e7 Adding expanding navbar, some docs 2019-04-06 15:49:51 -07:00