Skip to content

Commit 2c0e981

Browse files
authored
Merge pull request #96 from epochtalk/dev-docs
feat(documentation): add development documentation regarding porting …
2 parents 89b1e1b + 0f5dbf3 commit 2c0e981

File tree

2 files changed

+81
-0
lines changed

2 files changed

+81
-0
lines changed

DEVELOPMENT.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# DEVELOPMENT GUIDE
2+
3+
## Proxy Project
4+
5+
The proxy server queries the existing BCT database and manipulates that data to fit into Epochtalk's data models. The backend serves that manipulated data to the frontend project. This version of the project is for a read only mobile deployment of BCT.
6+
7+
### Continued Development
8+
9+
* Prequisites
10+
* SSH tunnel to BCT database from localhost if developing locally, this is required to make the proxy queries work
11+
* Checkout each of the three projects and switch to the branch in parentheses
12+
* `epochtalk/epochtalk` (ui-refactor-2020)
13+
* There should be no modifications made to this project, it is just running to stop the frontend from breaking when hitting api routes which have not been ported to the new `epochtalk-server` yet
14+
* `epochtalk/epochtalk-vue` (proxy)
15+
* Changes can be made here when proxy BCT data doesn't quite fit into the current model design scheme of Epochtalk
16+
* `slickage/epochtalk-server` (main)
17+
* This should only be modified if there is an issue with existing proxied routes, or if there is a requirement to proxy more BCT data for the mobile read only site
18+
* Key Files
19+
* `lib/epochtalk_server/smf_query.ex` - used to proxy SMF data into Epochtalk format
20+
* `lib/epochtalk_server_web/controller/*.ex` - to override a standard route with data queried from the proxy, the controller must be modified. See existing examples of using the plug `:check_proxy` the `post.ex` controller is a good example of this.
21+
* `lib/epochtalk_server/bbc_parser.ex` - used to turn the bbcode parser into genserver process which can be deployed as a pool via `poolboy`
22+
* `parsing.php` - bbcode parser
23+
* `parsing_extra.php` - additional settings and functions required to run bbcode parser
24+
25+
## Main Project
26+
27+
The main project was initially written in Node/Angular an is in the process of being ported to Vue JS (Frontend) and Elixir (Backend).
28+
29+
### Continued Development
30+
31+
* Checkout each of the three projects and switch to the branch in parentheses
32+
* `epochtalk/epochtalk` (ui-refactor-2020)
33+
* There should be no modifications made to this project, it is just running to stop the frontend from breaking when hitting api routes which have not been ported to the new `epochtalk-server` yet.
34+
* `epochtalk/epochtalk-vue` (main)
35+
* Frontend changes should be made here. When new routes are ported to the new elixir server, the front end api/views must be updated as well.
36+
* See `PortRoadMap.md` within this project to view a list of remaining views to be ported.
37+
* `epochtalk/epochtalk-server` (main)
38+
* See `PortRoadmap.md` within the `epochtalk-server` project for a list of which models and features have been ported.

PortRoadmap.md

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
## Port Roadmap
2+
3+
This document is used to track progress of porting views from the original node/angular `epochtalk/epochtalk` project to the new elixir/vue `epochtalk/epochtalk-vue`
4+
5+
## Non Authenticated View Port Progress
6+
| View Name | Completed? |
7+
| --------- | ---------- |
8+
| Boards | :white_check_mark: |
9+
| Threads | :white_check_mark: |
10+
| Posts | :white_check_mark: |
11+
| Profile | :white_check_mark: |
12+
| About | :x: |
13+
14+
## Public Authenticated View Port Progress
15+
| View Name | Completed? |
16+
| --------- | ---------- |
17+
| Boards | :white_check_mark: |
18+
| Threads | :white_check_mark: |
19+
| Posts | :white_check_mark: |
20+
| Profile | :white_check_mark: |
21+
| WatchList | :construction_worker: |
22+
| Messages | :construction_worker: |
23+
| Trust | :white_check_mark: |
24+
| Trust Settings | :white_check_mark: |
25+
| Settings | :white_check_mark: |
26+
| Invite User | :white_check_mark: |
27+
28+
## Administrative Authenticated View Port Progress
29+
| View Name | Completed? |
30+
| --------- | ---------- |
31+
| General Settings | :x: |
32+
| Advanced Settings | :x: |
33+
| Legal Settings | :x: |
34+
| Theme Settings | :x: |
35+
| Board Management | :x: |
36+
| Users Management | :x: |
37+
| Roles Management | :x: |
38+
| Banned Addresses Management | :x: |
39+
| Users Moderation | :x: |
40+
| Posts Moderation | :x: |
41+
| Messages Moderation | :x: |
42+
| Board Bans Moderation | :x: |
43+
| Moderation Logs | :x: |

0 commit comments

Comments
 (0)