47 Commits

Author SHA1 Message Date
LinkinStars 5be6ec9e71 docs(lic): add MIT license file and clean up init function in install_main.go 2026-01-14 11:30:50 +08:00
maishivamhoo123 3d5465334c fix: added the init fuction in install_main.go 2026-01-14 11:26:00 +08:00
ferhat elmas 670aa32325 refactor(lint): add new linters and fix their issues
* gocritic
* misspell
* modernize (aside, bumping go would be nice)
* testifylint
* unconvert
* unparam
* whitespace

related to #1432

Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
2025-12-05 10:45:55 +08:00
LinkinStars 5e705a124b refactor(lint): improve error handling and code consistency across multiple files 2025-12-01 12:27:25 +08:00
ferhat elmas f723d120d9 feat: add golangci-lint into lint target
* replace empty interface with any
* run fmt via golangci-lint

related to #1432

Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
2025-12-01 11:14:38 +08:00
Sonui 93e183be62 feat: Add resetPassword cli tool 2025-10-28 14:52:53 +08:00
hgaol 4040450c79 fix: add ExternalContentDisplay field to Env 2025-04-03 10:15:58 +08:00
shuai 0168309535 fix: resolve conflict 2025-03-17 10:53:33 +08:00
Luffy cd24c91fb1 fix: update admin name validation and username regex 2025-03-17 10:37:00 +08:00
LinkinStars ef982ee350 Merge remote-tracking branch 'origin/dev' into test 2025-03-14 16:41:00 +08:00
LinkinStars c757639805 refactor(install): simplify SSL configuration for PostgreSQL 2025-03-14 16:40:36 +08:00
LinkinStars 849ad8dfc5 Merge remote-tracking branch 'origin/dev' into test 2025-03-14 14:17:00 +08:00
unical1988 d24027f359 Support PostgreSQL connection with SSL #1243 (#1244)
Support PostgreSQL connection with SSL

---------

Co-authored-by: LinkinStars <linkinstar@foxmail.com>
2025-03-14 14:14:06 +08:00
LinkinStars 54269334b6 feat(siteinfo): add external content display configuration 2025-03-11 12:05:31 +08:00
LinkinStars e470b63f42 feat(server): add API base URL configuration and update routes 2025-02-28 17:07:46 +08:00
LinkinStars 0618947350 refactor(name): rename incubator-answer 2025-01-07 10:39:23 +08:00
sy-records 1d33c8827c fix: change fail 2024-09-05 11:07:15 +08:00
kumfo 26afc0979c feat(install): add get language mapping api 2024-09-05 11:07:15 +08:00
sy-records c751364974 fix: add getInstallLanguageConfig 2024-09-05 11:07:15 +08:00
LinkinStars c6d43e92c1 feat(base): add base path for ui page 2024-04-24 15:31:03 +08:00
LinkinStars a458f3409c rename all old answerdev/answer link to apache/incubator-answer (#603)
Co-authored-by: shuai <lishuailing@sifou.com>
2023-11-01 14:48:35 +08:00
tison 3d2187d849 chore: add license headers
Signed-off-by: tison <wander4096@gmail.com>
2023-10-26 11:11:23 +08:00
LinkinStars 16a42301f7 feat(install): Add LoginRequired configuration when install 2023-08-17 10:56:16 +08:00
LinkinStars cc0a03117c refactor(migrations): refactor migrations service 2023-06-14 16:53:56 +08:00
aichy126 9870ed87fb update site_name sanitizer 2023-02-24 16:06:54 +08:00
LinkinStars 7380c93eb4 feat(install): Automatically complete installation based on environment variable. 2023-02-13 17:07:28 +08:00
LinkinStar d355c823c3 fix(user): Add rules to restrict username during installation. fix #181 2023-01-28 10:40:01 +08:00
LinkinStar fc0b0bcbcf feat(render): add render API 2023-01-11 17:34:12 +08:00
LinkinStar af930eb425 feat(install): The first installation automatically switches to the installation url 2022-12-26 15:44:40 +08:00
LinkinStar a4f5f8ecc3 style(simple): Simplify code 2022-12-16 14:46:10 +08:00
LinkinStar cd961eafc2 feat: add timeline api interface 2022-11-22 19:48:27 +08:00
LinkinStar 12b8dc726f doc: update the swagger documentation 2022-11-11 15:13:23 +08:00
LinkinStar e00a03f2dd feat: modify the error information about the failure to create a table 2022-11-11 12:12:09 +08:00
LinkinStar 0c4eeda383 feat: validation returns the original tag for the error field 2022-11-11 11:24:36 +08:00
LinkinStar 3a8742f6fe fix: log format 2022-11-10 15:30:48 +08:00
LinkinStar c468d2ab23 feat: separate db connection and table check 2022-11-10 14:13:29 +08:00
LinkinStar 7e11d6b82c fix: install check database add log 2022-11-10 12:13:42 +08:00
LinkinStar 3f5ac0a614 feat: add /50x web page 2022-11-10 11:32:11 +08:00
LinkinStar a088fa439a feat: format site url to only scheme and host 2022-11-10 11:00:26 +08:00
LinkinStar e81d9cfedd feat: database init when base-info install 2022-11-09 14:46:22 +08:00
LinkinStar 9509a9a964 feat: change site url from config file to database 2022-11-09 11:00:34 +08:00
LinkinStar b474d3ade3 feat: set install router in release mode. remove install mock router. 2022-11-08 18:28:26 +08:00
LinkinStar 84106a99f5 feat: remove config file path 2022-11-04 18:36:33 +08:00
LinkinStar f14040b9b8 feat: add install request limiting condition 2022-11-04 16:59:45 +08:00
LinkinStar 9c8838a1b0 feat: install configuration files and initialize basic information 2022-11-04 15:59:21 +08:00
LinkinStar 23b4a44ce3 feat: rewrite config file when install config 2022-11-04 11:30:53 +08:00
LinkinStar 914defc446 feat: add install api and functions 2022-11-03 20:09:04 +08:00