]> Untitled Git - lemmy-ui.git/log
lemmy-ui.git
13 months agoMerge branch 'rate-limiting-tab' of https://github.com/SleeplessOne1917/lemmy-ui...
abias [Tue, 23 May 2023 23:31:58 +0000 (19:31 -0400)]
Merge branch 'rate-limiting-tab' of https://github.com/SleeplessOne1917/lemmy-ui into rate-limiting-tab

13 months agoAdd translations
abias [Tue, 23 May 2023 23:31:33 +0000 (19:31 -0400)]
Add translations

13 months agoMerge branch 'main' into rate-limiting-tab
abias [Tue, 23 May 2023 23:14:44 +0000 (19:14 -0400)]
Merge branch 'main' into rate-limiting-tab

13 months agoMerge pull request #1024 from SleeplessOne1917/nicer-error-hnadling
SleeplessOne1917 [Tue, 23 May 2023 23:09:41 +0000 (23:09 +0000)]
Merge pull request #1024 from SleeplessOne1917/nicer-error-hnadling

Nicer error handling

13 months agoMerge branch 'main' into nicer-error-hnadling
SleeplessOne1917 [Tue, 23 May 2023 23:07:23 +0000 (23:07 +0000)]
Merge branch 'main' into nicer-error-hnadling

13 months agoMerge branch 'main' into rate-limiting-tab
SleeplessOne1917 [Tue, 23 May 2023 23:06:38 +0000 (23:06 +0000)]
Merge branch 'main' into rate-limiting-tab

13 months agoLint fix (#1035)
SleeplessOne1917 [Tue, 23 May 2023 22:55:36 +0000 (22:55 +0000)]
Lint fix (#1035)

* User HTTP instead of HTTPS when fetching icon in docker internal network

* Add debug statement.

* Revert "Add debug statement."

This reverts commit 7fbb12a4bde29d72c1bf55e0d0a954f19c863b4a.

* Revert "User HTTP instead of HTTPS when fetching icon in docker internal network"

This reverts commit 498de660bac1bffe15fef74a898c6d669794196a.

* Always replace host with internal host

* Fix lint script

* Remove prettier from pre-commit

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
13 months agoHopefully stop lint command from erroring
abias [Tue, 23 May 2023 12:34:20 +0000 (08:34 -0400)]
Hopefully stop lint command from erroring

13 months agoMerge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy...
abias [Tue, 23 May 2023 12:10:28 +0000 (08:10 -0400)]
Merge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy-ui into nicer-error-hnadling

13 months agoRun prettier
abias [Tue, 23 May 2023 12:10:13 +0000 (08:10 -0400)]
Run prettier

13 months agoMerge branch 'main' into nicer-error-hnadling
SleeplessOne1917 [Tue, 23 May 2023 12:07:08 +0000 (12:07 +0000)]
Merge branch 'main' into nicer-error-hnadling

13 months agoMerge branch 'main' into nicer-error-hnadling
abias [Tue, 23 May 2023 12:01:09 +0000 (08:01 -0400)]
Merge branch 'main' into nicer-error-hnadling

13 months agoAlways replace host with internal host
abias [Mon, 22 May 2023 23:15:11 +0000 (19:15 -0400)]
Always replace host with internal host

13 months agoRevert "User HTTP instead of HTTPS when fetching icon in docker internal network"
abias [Mon, 22 May 2023 22:42:05 +0000 (18:42 -0400)]
Revert "User HTTP instead of HTTPS when fetching icon in docker internal network"

This reverts commit 498de660bac1bffe15fef74a898c6d669794196a.

13 months agoRevert "Add debug statement."
abias [Mon, 22 May 2023 22:41:33 +0000 (18:41 -0400)]
Revert "Add debug statement."

This reverts commit 7fbb12a4bde29d72c1bf55e0d0a954f19c863b4a.

13 months agoAdd debug statement.
abias [Mon, 22 May 2023 22:15:44 +0000 (18:15 -0400)]
Add debug statement.

13 months agoUser HTTP instead of HTTPS when fetching icon in docker internal network
abias [Mon, 22 May 2023 22:10:16 +0000 (18:10 -0400)]
User HTTP instead of HTTPS when fetching icon in docker internal network

13 months agoAdd error message paragraph
abias [Mon, 22 May 2023 16:57:52 +0000 (12:57 -0400)]
Add error message paragraph

13 months agoMerge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy...
abias [Mon, 22 May 2023 12:38:33 +0000 (08:38 -0400)]
Merge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy-ui into nicer-error-hnadling

13 months agoMake error code always display
abias [Mon, 22 May 2023 12:38:05 +0000 (08:38 -0400)]
Make error code always display

13 months agoMerge branch 'main' into nicer-error-hnadling
abias [Mon, 22 May 2023 11:47:17 +0000 (07:47 -0400)]
Merge branch 'main' into nicer-error-hnadling

13 months agoNavbar hide menu fix (#1033)
SleeplessOne1917 [Mon, 22 May 2023 03:31:08 +0000 (03:31 +0000)]
Navbar hide menu fix (#1033)

* Fix navbar not closing on mobile when it should

* Get rid of unnecessary HTML tags

13 months agoMerge branch 'main' into nicer-error-hnadling
SleeplessOne1917 [Mon, 22 May 2023 02:44:29 +0000 (02:44 +0000)]
Merge branch 'main' into nicer-error-hnadling

13 months agoShow parent comment for comment link. Fixes #1030 (#1032)
Dessalines [Mon, 22 May 2023 01:30:13 +0000 (21:30 -0400)]
Show parent comment for comment link. Fixes #1030 (#1032)

* Show parent comment for comment link. Fixes #1030

* Changing let to const.

13 months agoMerge branch 'rate-limiting-tab' of https://github.com/SleeplessOne1917/lemmy-ui...
abias [Sun, 21 May 2023 19:32:00 +0000 (15:32 -0400)]
Merge branch 'rate-limiting-tab' of https://github.com/SleeplessOne1917/lemmy-ui into rate-limiting-tab

13 months agoAdd heading tag to rate limit form
abias [Sun, 21 May 2023 19:31:42 +0000 (15:31 -0400)]
Add heading tag to rate limit form

13 months agoMerge branch 'main' into rate-limiting-tab
SleeplessOne1917 [Sun, 21 May 2023 19:13:03 +0000 (19:13 +0000)]
Merge branch 'main' into rate-limiting-tab

13 months agoRemove console log
abias [Sun, 21 May 2023 19:11:20 +0000 (15:11 -0400)]
Remove console log

13 months agoMerge branch 'main' into nicer-error-hnadling
SleeplessOne1917 [Sun, 21 May 2023 18:46:20 +0000 (18:46 +0000)]
Merge branch 'main' into nicer-error-hnadling

13 months agoInclude forgotten translation
abias [Sun, 21 May 2023 18:42:17 +0000 (14:42 -0400)]
Include forgotten translation

13 months agoRemove console logs
abias [Sun, 21 May 2023 18:41:41 +0000 (14:41 -0400)]
Remove console logs

13 months agoAdd web share for browsers that have it enabled (#1029)
SleeplessOne1917 [Sun, 21 May 2023 18:17:56 +0000 (18:17 +0000)]
Add web share for browsers that have it enabled (#1029)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
13 months agoShow language on posts and comments (#1026)
SleeplessOne1917 [Sun, 21 May 2023 18:13:25 +0000 (18:13 +0000)]
Show language on posts and comments (#1026)

* Show language on posts and comments

* Revert "Show language on posts and comments"

This reverts commit 54267903fc6941762030ec20daa048d47662d50d.

* Change language indicator look

13 months agoIncorporate translations
abias [Sun, 21 May 2023 18:13:06 +0000 (14:13 -0400)]
Incorporate translations

13 months agoAllow user to submit rate limit changes
abias [Sun, 21 May 2023 16:40:22 +0000 (12:40 -0400)]
Allow user to submit rate limit changes

13 months agoPut rate limit options in its own tab
abias [Sun, 21 May 2023 13:07:22 +0000 (09:07 -0400)]
Put rate limit options in its own tab

13 months agoRefactor tabs into reuseable component
abias [Sat, 20 May 2023 19:39:12 +0000 (15:39 -0400)]
Refactor tabs into reuseable component

13 months agoMerge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy...
abias [Fri, 19 May 2023 17:06:34 +0000 (13:06 -0400)]
Merge branch 'nicer-error-hnadling' of https://github.com/SleeplessOne1917/lemmy-ui into nicer-error-hnadling

13 months agoReplace link to issue tracker with proper support spaces
abias [Fri, 19 May 2023 17:06:14 +0000 (13:06 -0400)]
Replace link to issue tracker with proper support spaces

13 months agoMerge branch 'main' into nicer-error-hnadling
SleeplessOne1917 [Wed, 17 May 2023 01:10:51 +0000 (01:10 +0000)]
Merge branch 'main' into nicer-error-hnadling

13 months agoFix isoData bug
abias [Wed, 17 May 2023 01:07:57 +0000 (21:07 -0400)]
Fix isoData bug

13 months agoRefactor how error data is passed from server to client
abias [Wed, 17 May 2023 00:34:15 +0000 (20:34 -0400)]
Refactor how error data is passed from server to client

14 months agoMake admin UI for allowing/blocking instances easier to work with (#1012)
SleeplessOne1917 [Tue, 16 May 2023 13:08:52 +0000 (13:08 +0000)]
Make admin UI for allowing/blocking instances easier to work with (#1012)

* Make admin UI for allowing/blocking instances easier to work with

* Tweak styles

* Remove log statements

* Trim instance names and slight refactor

* Use linkEvent

14 months agoGet rid or forced error
abias [Tue, 16 May 2023 01:02:34 +0000 (21:02 -0400)]
Get rid or forced error

14 months agoCleanup
abias [Tue, 16 May 2023 00:56:08 +0000 (20:56 -0400)]
Cleanup

14 months agoMerge branch 'main' into nicer-error-hnadling
abias [Tue, 16 May 2023 00:34:45 +0000 (20:34 -0400)]
Merge branch 'main' into nicer-error-hnadling

14 months agoMerge pull request #1023 from LemmyNet/remove_bigints
SleeplessOne1917 [Mon, 15 May 2023 22:21:34 +0000 (22:21 +0000)]
Merge pull request #1023 from LemmyNet/remove_bigints

Changing all bigints to numbers

14 months agoChanging all bigints to numbers
Dessalines [Mon, 15 May 2023 19:53:29 +0000 (15:53 -0400)]
Changing all bigints to numbers

14 months agoUpgrade lemmy-js-client to work with bigints. Fixes #1018 (#1022)
Dessalines [Mon, 15 May 2023 18:39:11 +0000 (14:39 -0400)]
Upgrade lemmy-js-client to work with bigints. Fixes #1018 (#1022)

14 months agoRedirect from pages that require auth on logout (#1016)
SleeplessOne1917 [Mon, 15 May 2023 15:22:35 +0000 (15:22 +0000)]
Redirect from pages that require auth on logout (#1016)

* Redirect fomr pages that require auth on logout

* Extract helper function

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
14 months agoFix things not working in production build
abias [Mon, 15 May 2023 03:45:21 +0000 (23:45 -0400)]
Fix things not working in production build

14 months agoFix error page not showing when site not fetched and adjust styles
abias [Mon, 15 May 2023 03:01:39 +0000 (23:01 -0400)]
Fix error page not showing when site not fetched and adjust styles

14 months agoHandle error when site not returned
abias [Sun, 14 May 2023 23:49:55 +0000 (19:49 -0400)]
Handle error when site not returned

14 months agoUse node env instead of version for environment specific logic
abias [Sun, 14 May 2023 20:25:03 +0000 (16:25 -0400)]
Use node env instead of version for environment specific logic

14 months agoRedirect to login and remove duplicated code
abias [Sun, 14 May 2023 19:28:38 +0000 (15:28 -0400)]
Redirect to login and remove duplicated code

14 months agoFix server redirect error
abias [Sun, 14 May 2023 18:59:42 +0000 (14:59 -0400)]
Fix server redirect error

14 months agoMerge branch 'main' into nicer-error-hnadling
abias [Sun, 14 May 2023 15:09:13 +0000 (11:09 -0400)]
Merge branch 'main' into nicer-error-hnadling

14 months agoSet up logic for handling errors
abias [Sun, 14 May 2023 15:08:06 +0000 (11:08 -0400)]
Set up logic for handling errors

14 months agoExtract helper function
abias [Sun, 14 May 2023 03:09:05 +0000 (23:09 -0400)]
Extract helper function

14 months agoDont preselect new post language (#1008)
Nutomic [Sat, 13 May 2023 20:07:05 +0000 (22:07 +0200)]
Dont preselect new post language (#1008)

Lemmy-ui currently preselects the first language in the user
settings when creating a new post or comment. This is a bad
idea because this language might not actually be allowed in
the community. It is better to pass the language as None if
the user didnt specify it explicitly, because then the backend
can smartly choose a language based on the overlap of user
languages and community languages.

This fixes the problem described in
[this thread](https://lemmy.ml/post/1066608), where a user
tries to post in a community that has only English allowed,
with all languages enabled in user settings. In this case
lemmy-ui preselects "undetermined language" as default, which
is not allowed and results in an error. This PR fixes the issue
because it lets the backend automatically select the correct
language (English).

14 months agoUpdate JS client to version with fixed JSON serialization (#1017)
SleeplessOne1917 [Sat, 13 May 2023 17:36:36 +0000 (17:36 +0000)]
Update JS client to version with fixed JSON serialization (#1017)

14 months agoRedirect fomr pages that require auth on logout
SleeplessOne1917 [Sat, 13 May 2023 14:38:43 +0000 (10:38 -0400)]
Redirect fomr pages that require auth on logout

14 months agoRemove "banned" badge from posts and comments (fixes 899) (#1011)
Nutomic [Fri, 12 May 2023 01:15:04 +0000 (03:15 +0200)]
Remove "banned" badge from posts and comments (fixes 899) (#1011)

It doesnt need to be emphasized so much that a user is banned.
Anyway this can already be seen in the mod log. For users who
are banned from the entire site it is still shown on the profile.

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
14 months agoAdd support for PWA (#1005)
SleeplessOne1917 [Fri, 12 May 2023 01:07:59 +0000 (01:07 +0000)]
Add support for PWA (#1005)

* Add logic for dynamically generating web manifest

* Make PWA icon get autogenerated

* Make service worker work

* Tweak things for PWA

* Handle apple icons and refactor

* Update prod dockerfile

* Remove jimp

* Remove unnecessary option

* Use different function syntax

14 months agoUsing auto-generated types from ts-rs. (#1003)
Dessalines [Thu, 11 May 2023 18:32:32 +0000 (14:32 -0400)]
Using auto-generated types from ts-rs. (#1003)

* Using auto-generated types from ts-rs.

- Fixes #998
- Added support for new `GetFederatedInstances`
- Fixed a few bugs in the process.

* Update imports to use SleeplessOne1917's fix.

14 months agoFixing some outdated docs links. Fixes #1006 (#1007)
Dessalines [Thu, 11 May 2023 17:13:09 +0000 (13:13 -0400)]
Fixing some outdated docs links. Fixes #1006 (#1007)

14 months agoUpgrading deps. (#1004)
Dessalines [Thu, 11 May 2023 17:06:32 +0000 (13:06 -0400)]
Upgrading deps. (#1004)

14 months agoPrettier css (#995)
Dessalines [Thu, 4 May 2023 02:09:27 +0000 (22:09 -0400)]
Prettier css (#995)

* Add prettier lint for css and scss files.

* Fixing eslint issue.

* Run prettier

14 months agoAdd content warning to modlog and fix modlog routing bug (#994)
SleeplessOne1917 [Thu, 4 May 2023 02:06:59 +0000 (02:06 +0000)]
Add content warning to modlog and fix modlog routing bug (#994)

* Add content warning to modlog and fix modlog routing bug

* Add translation logic

14 months agoGet rid of "No Results" showing while search is still loading. (#997)
SleeplessOne1917 [Thu, 4 May 2023 01:47:37 +0000 (01:47 +0000)]
Get rid of "No Results" showing while search is still loading. (#997)

14 months agoAdd SleeplessOne1917 to Codeowners.
Dessalines [Wed, 3 May 2023 16:57:12 +0000 (12:57 -0400)]
Add SleeplessOne1917 to Codeowners.

14 months agoHandle when logged out (#986)
SleeplessOne1917 [Wed, 3 May 2023 16:09:47 +0000 (16:09 +0000)]
Handle when logged out (#986)

* Add logged out messages to profile and community

* Remove errors when not logged in

* Add logged out translations

15 months agoMake pages use query params instead of route params where appropriate (#977)
SleeplessOne1917 [Sat, 15 Apr 2023 14:47:10 +0000 (14:47 +0000)]
Make pages use query params instead of route params where appropriate (#977)

* feat: Add multiple image upload

* refactor: Slight cleanup

* feat: Add progress bar for multi-image upload

* fix: Fix progress bar

* fix: Messed up fix last time

* refactor: Use await where possible

* Add query params to search page

* Update translation logic

* Did suggested PR changes

* Updating translations

* Fix i18 issue

* Make prettier actually check src in hopes it will fix CI issue

* Make home page use query params in URL

* Remove unnecessary part of private message url

* Make communities page use query params

* Make community page use query params

* Make user profile use query params

* Make modlog use query params

* Replace choices.js searchable select entirely

* Make 404 screen show up when expected

* Refactor query params code

* Remove unnecessary boolean literal

* Fix query param bug

* Address bug with searchable select and initial fetch

* Only import what is needed from bootstrap

* Undo change to comment nodes component

* Convert closure style functions to normal functions

* Updated translations

* Use translation for loading

* Fix create post select community bug

* Fix community query params bug

15 months agoMultiple image upload (#971)
SleeplessOne1917 [Tue, 4 Apr 2023 12:40:00 +0000 (08:40 -0400)]
Multiple image upload (#971)

* feat: Add multiple image upload

* refactor: Slight cleanup

* feat: Add progress bar for multi-image upload

* fix: Fix progress bar

* fix: Messed up fix last time

* refactor: Use await where possible

* Update translation logic

* Did suggested PR changes

* Updating translations

* Fix i18 issue

* Make prettier actually check src in hopes it will fix CI issue

15 months agoUpdating translations.
Dessalines [Mon, 3 Apr 2023 13:32:36 +0000 (09:32 -0400)]
Updating translations.

15 months agoI18 quality of life change (#973)
SleeplessOne1917 [Mon, 3 Apr 2023 13:28:56 +0000 (09:28 -0400)]
I18 quality of life change (#973)

* I18 quality of life change

* Cleanup

15 months agoOptimize Tagline Form page (#972)
Anon [Thu, 30 Mar 2023 20:36:57 +0000 (15:36 -0500)]
Optimize Tagline Form page (#972)

* Move taglines to its own tab. Optimize for editing.

* Small fix

* null -> undefined

15 months agoMerge branch 'custom-emojis' of https://github.com/makotech222/lemmy-ui into makotech...
Dessalines [Mon, 27 Mar 2023 16:49:46 +0000 (12:49 -0400)]
Merge branch 'custom-emojis' of https://github.com/makotech222/lemmy-ui into makotech222-custom-emojis

15 months agoDon't show icons / banners for banned users and removed communities. (#962)
Dessalines [Mon, 27 Mar 2023 02:10:35 +0000 (22:10 -0400)]
Don't show icons / banners for banned users and removed communities. (#962)

- Fixes #961

15 months agofix: Fix undefined showing up in markdown (#970)
SleeplessOne1917 [Mon, 27 Mar 2023 02:10:08 +0000 (22:10 -0400)]
fix: Fix undefined showing up in markdown (#970)

15 months agorefactor: update UI to use new client uploadImage function (#967)
SleeplessOne1917 [Mon, 27 Mar 2023 02:06:42 +0000 (22:06 -0400)]
refactor: update UI to use new client uploadImage function (#967)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
15 months agoAdd woodpecker ci (#964)
Dessalines [Mon, 27 Mar 2023 01:59:33 +0000 (21:59 -0400)]
Add woodpecker ci (#964)

* Adding woodpecker. Try 1

* Adding woodpecker. Try 2

* Adding woodpecker. Try 3

* Adding woodpecker. Try 5

* Adding woodpecker. Try 6

* Adding woodpecker. Try 7

* Adding woodpecker. Try 8

* Adding woodpecker. Try 9

* Adding woodpecker. Try 10

* Adding woodpecker. Try 11

* Adding woodpecker. Try 12

* Adding woodpecker. Try 13

* Adding woodpecker. Try 14

15 months agofix: Make search screen able to change type, listing type, and sort when there is...
SleeplessOne1917 [Mon, 27 Mar 2023 01:56:49 +0000 (21:56 -0400)]
fix: Make search screen able to change type, listing type, and sort when there is no query (#966)

16 months agoMerge branch 'main' into custom-emojis
Anon [Tue, 14 Mar 2023 17:59:21 +0000 (12:59 -0500)]
Merge branch 'main' into custom-emojis

16 months agoAdding 2FA support. Fixes #938 (#939)
Dessalines [Thu, 2 Mar 2023 23:30:38 +0000 (18:30 -0500)]
Adding 2FA support. Fixes #938 (#939)

* Adding 2FA support. Fixes #938

* Updating totp_2fa names.

16 months agoFix table layout on mobile
Anon [Sun, 26 Feb 2023 17:18:25 +0000 (11:18 -0600)]
Fix table layout on mobile

16 months agoFix improper use of map
Anon [Sat, 25 Feb 2023 21:52:11 +0000 (15:52 -0600)]
Fix improper use of map

16 months agoFix loading emojis
Anon [Sat, 25 Feb 2023 21:46:03 +0000 (15:46 -0600)]
Fix loading emojis

16 months agofix casing
Anon [Sat, 25 Feb 2023 21:18:52 +0000 (15:18 -0600)]
fix casing

16 months agoAdd Custom Emoji Support
Anon [Sun, 27 Nov 2022 18:02:32 +0000 (12:02 -0600)]
Add Custom Emoji Support

16 months agoOnly show the determined warning for multiple. (#952)
Dessalines [Wed, 22 Feb 2023 13:03:04 +0000 (08:03 -0500)]
Only show the determined warning for multiple. (#952)

16 months agoUpgrading deps (#951)
Dessalines [Tue, 21 Feb 2023 21:15:13 +0000 (16:15 -0500)]
Upgrading deps (#951)

16 months agoAdding ban_from_community to be more clear. Fixes #872 (#943)
Dessalines [Tue, 21 Feb 2023 21:12:00 +0000 (16:12 -0500)]
Adding ban_from_community to be more clear. Fixes #872 (#943)

16 months agoLet any mod feature and lock posts. Fixes #875 (#944)
Dessalines [Tue, 21 Feb 2023 20:53:51 +0000 (15:53 -0500)]
Let any mod feature and lock posts. Fixes #875 (#944)

* Let any mod feature and lock posts. Fixes #875

* Change to amAdmin

16 months agoAdding a warning for deselecting the undetermined language. (#945)
Dessalines [Tue, 21 Feb 2023 20:53:35 +0000 (15:53 -0500)]
Adding a warning for deselecting the undetermined language. (#945)

- Fixes #930

16 months agoFixing line formatting. (#947)
Dessalines [Tue, 21 Feb 2023 20:53:15 +0000 (15:53 -0500)]
Fixing line formatting. (#947)

16 months agoDo local community checks for buttons. Fixes #918 (#948)
Dessalines [Tue, 21 Feb 2023 20:52:57 +0000 (15:52 -0500)]
Do local community checks for buttons. Fixes #918 (#948)

16 months agoCheck to make sure post is correct. Fixes #934 (#949)
Dessalines [Tue, 21 Feb 2023 20:52:34 +0000 (15:52 -0500)]
Check to make sure post is correct. Fixes #934 (#949)

16 months agoRemove buggy navbar search. Fixes #921 (#950)
Dessalines [Tue, 21 Feb 2023 20:52:12 +0000 (15:52 -0500)]
Remove buggy navbar search. Fixes #921 (#950)

16 months agoFix issue with empty markdown content not nulling DB. Fixes #924 (#925)
Dessalines [Fri, 17 Feb 2023 02:10:03 +0000 (21:10 -0500)]
Fix issue with empty markdown content not nulling DB. Fixes #924 (#925)

* Fix issue with empty markdown content not nulling DB. Fixes #924

* Better syntax