Ryan Wang 👍

2022-03-24 17:28:45.347  INFO 7 --- [main] o.e.jetty.server.AbstractConnector       : Stopped ServerConnector@7f2b39a{HTTP/1.1, (http/1.1)}{0.0.0.0:8090}
2022-03-24 17:28:45.347  INFO 7 --- [main] org.eclipse.jetty.server.session         : node0 Stopped scavenging
2022-03-24 17:28:45.349  INFO 7 --- [main] o.e.j.s.h.ContextHandler.application     : Destroying Spring FrameworkServlet 'dispatcherServlet'
2022-03-24 17:28:45.349  INFO 7 --- [main] o.e.jetty.server.handler.ContextHandler  : Stopped o.s.b.w.e.j.JettyEmbeddedWebAppContext@2f26634a{application,/,[file:///tmp/jetty-docbase.8090.3706645506939531129/, jar:file:/application/BOOT-INF/lib/springfox-swagger-ui-3.0.0.jar!/META-INF/resources],STOPPED}
2022-03-24 17:28:45.373  INFO 7 --- [main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2022-03-24 17:28:45.375  INFO 7 --- [main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2022-03-24 17:28:45.394  INFO 7 --- [main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.
2022-03-24 17:28:48.012  INFO 7 --- [main] run.halo.app.Application                 : Starting Application v1.5.0 using Java 11.0.11 on e9e15c754199 with PID 7 (/application/BOOT-INF/classes started by root in /application)
2022-03-24 17:28:48.017  INFO 7 --- [main] run.halo.app.Application                 : No active profile set, falling back to 1 default profile: "default"
2022-03-24 17:28:49.151  INFO 7 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!
2022-03-24 17:28:49.151  INFO 7 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2022-03-24 17:28:49.446  INFO 7 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 287 ms. Found 24 JPA repository interfaces.
2022-03-24 17:28:50.507  INFO 7 --- [main] org.eclipse.jetty.util.log               : Logging initialized @3534ms to org.eclipse.jetty.util.log.Slf4jLog
2022-03-24 17:28:50.737  INFO 7 --- [main] o.s.b.w.e.j.JettyServletWebServerFactory : Server initialized with port: 8090
2022-03-24 17:28:50.744  INFO 7 --- [main] org.eclipse.jetty.server.Server          : jetty-9.4.45.v20220203; built: 2022-02-03T09:14:34.105Z; git: 4a0c91c0be53805e3fcffdcdcc9587d5301863db; jvm 11.0.11+9
2022-03-24 17:28:50.775  INFO 7 --- [main] o.e.j.s.h.ContextHandler.application     : Initializing Spring embedded WebApplicationContext
2022-03-24 17:28:50.775  INFO 7 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2702 ms
2022-03-24 17:28:51.339  INFO 7 --- [main] run.halo.app.config.HaloConfiguration    : Halo cache store load impl : [class run.halo.app.cache.InMemoryCacheStore]
2022-03-24 17:28:51.962  INFO 7 --- [main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2022-03-24 17:28:52.010  INFO 7 --- [main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 5.4.33
2022-03-24 17:28:52.046  INFO 7 --- [main] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2022-03-24 17:28:52.189  INFO 7 --- [main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2022-03-24 17:28:52.446  INFO 7 --- [main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2022-03-24 17:28:52.483  INFO 7 --- [main] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2022-03-24 17:28:53.661  INFO 7 --- [main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-03-24 17:28:53.670  INFO 7 --- [main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2022-03-24 17:28:54.432  INFO 7 --- [main] org.eclipse.jetty.server.session         : DefaultSessionIdManager workerName=node0
2022-03-24 17:28:54.432  INFO 7 --- [main] org.eclipse.jetty.server.session         : No SessionScavenger set, using defaults
2022-03-24 17:28:54.433  INFO 7 --- [main] org.eclipse.jetty.server.session         : node0 Scavenging every 600000ms
2022-03-24 17:28:54.443  INFO 7 --- [main] o.e.jetty.server.handler.ContextHandler  : Started o.s.b.w.e.j.JettyEmbeddedWebAppContext@33ef701e{application,/,[file:///tmp/jetty-docbase.8090.3647389999730264936/, jar:file:/application/BOOT-INF/lib/springfox-swagger-ui-3.0.0.jar!/META-INF/resources],AVAILABLE}
2022-03-24 17:28:54.443  INFO 7 --- [main] org.eclipse.jetty.server.Server          : Started @7472ms
2022-03-24 17:28:55.111  INFO 7 --- [main] run.halo.app.handler.file.FileHandlers   : Registered 9 file handler(s)
    10 天 后

    Ryan Wang 👍 关于编辑器的这个保存,最近我在写文章的时候,感觉很不符合习惯,因为我之前是写一小段就保存一下,怕死机停电什么的导致编辑的内容丢失(其实和写word每写一点就ctrl+s一个感觉)。但现在保存按钮放到里面去了,而且保存后会回到文章列表界面,相较以前增加了不少操作步骤。以前点一下保存就能继续写文章,现在是 "发布-保存-找到文章-编辑-滚到文章最下面"才能继续写

      Dark-Athena 目前就是这样设计的,以前的逻辑其实更不好理解,可能只是你习惯了。目前 Ctrl S 或者在编辑器上点击保存按钮,前台的内容是不会发生改变的,因为这篇文章属于“包含正在编辑的内容”,但还未发布。并且我们在列表和编辑页都做了提示当前内容还未保存的提示。

      以前的保存草稿按钮的体验是比较糟糕的,因为你点击之后,你前台的文章就不会显示了,因为他变成了草稿。

        Ryan Wang 👍 现在这样是对的,以前的逻辑的确有问题,我之前也是写了好多篇文章才适应,结果也还是偶尔忘记在保存后再点发布。。。

        5 天 后