lemmy/api_tests
Dessalines 16a82862b8
Allow empty string to clear URL-type DB fields. (#4780)
* Allow empty string to clear URL-type DB fields.

- To address difficulties with clearing URL-type fields like
  avatars, banners, site icons, this PR turns the URL type form
  fields into strings.
- This allows an empty string to be used as a "clear data", as
  in the case with the regular text form fields.
- Also includes various cleanups.
- Fixes #4777
- Context: #2287

* Fixing comment.

* Use Option<&str> and deref.

---------

Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-06-06 09:55:08 -04:00
..
src Allow empty string to clear URL-type DB fields. (#4780) 2024-06-06 09:55:08 -04:00
.eslintrc.json Upgrading deps. (#4196) 2023-11-24 10:29:41 +01:00
.npmrc Add test to ensure reports are sent to user's home instance (ref #4701) (#4711) 2024-05-14 22:48:24 -04:00
.prettierrc.json Removing sniptt/monads for lemmy-js-client. (#2644) 2023-01-04 10:59:26 -05:00
jest.config.js Prettier check (#2855) 2023-05-13 16:50:58 -04:00
package.json Update pnpm to v9.1.4 (#4770) 2024-05-31 22:24:17 -04:00
pnpm-lock.yaml Update dependency ts-jest to v29.1.4 (#4768) 2024-05-31 22:04:44 -04:00
prepare-drone-federation-test.sh Fixing proxy images (#4722) 2024-05-22 10:28:47 +02:00
run-federation-test.sh Moving from yarn to pnpm. (#4414) 2024-01-29 11:38:39 +01:00
tsconfig.json Persistent, performant, reliable federation queue (#3605) 2023-09-09 12:25:03 -04:00