~m15o/riku

4f1edac664a7d5880358ed37fa7cabf3b545644d — m15o 2 years ago b5bedc7 master
Remove ignored files
8 files changed, 3 insertions(+), 68 deletions(-)

M .gitignore
D .idea/.gitignore
D .idea/dataSources.xml
D .idea/modules.xml
D .idea/riku.iml
D .idea/watcherTasks.xml
D bin/riku
M web/handler/handler.go
M .gitignore => .gitignore +2 -1
@@ 1,1 1,2 @@
.idea
\ No newline at end of file
.idea
bin
\ No newline at end of file

D .idea/.gitignore => .idea/.gitignore +0 -8
@@ 1,8 0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

D .idea/dataSources.xml => .idea/dataSources.xml +0 -12
@@ 1,12 0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="DataSourceManagerImpl" format="xml" multifile-model="true">
    <data-source source="LOCAL" name="riku@localhost" uuid="7c09fe96-a3ff-42d2-a844-90ab840feb2a">
      <driver-ref>postgresql</driver-ref>
      <synchronize>true</synchronize>
      <jdbc-driver>org.postgresql.Driver</jdbc-driver>
      <jdbc-url>jdbc:postgresql://localhost:5432/riku</jdbc-url>
      <working-dir>$ProjectFileDir$</working-dir>
    </data-source>
  </component>
</project>
\ No newline at end of file

D .idea/modules.xml => .idea/modules.xml +0 -8
@@ 1,8 0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ProjectModuleManager">
    <modules>
      <module fileurl="file://$PROJECT_DIR$/.idea/riku.iml" filepath="$PROJECT_DIR$/.idea/riku.iml" />
    </modules>
  </component>
</project>
\ No newline at end of file

D .idea/riku.iml => .idea/riku.iml +0 -9
@@ 1,9 0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
  <component name="Go" enabled="true" />
  <component name="NewModuleRootManager">
    <content url="file://$MODULE_DIR$" />
    <orderEntry type="inheritedJdk" />
    <orderEntry type="sourceFolder" forTests="false" />
  </component>
</module>
\ No newline at end of file

D .idea/watcherTasks.xml => .idea/watcherTasks.xml +0 -29
@@ 1,29 0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ProjectTasksOptions">
    <TaskOptions isEnabled="true">
      <option name="arguments" value="fmt $FilePath$" />
      <option name="checkSyntaxErrors" value="true" />
      <option name="description" />
      <option name="exitCodeBehavior" value="ERROR" />
      <option name="fileExtension" value="go" />
      <option name="immediateSync" value="false" />
      <option name="name" value="go fmt" />
      <option name="output" value="$FilePath$" />
      <option name="outputFilters">
        <array />
      </option>
      <option name="outputFromStdout" value="false" />
      <option name="program" value="$GoExecPath$" />
      <option name="runOnExternalChanges" value="false" />
      <option name="scopeName" value="Project Files" />
      <option name="trackOnlyRoot" value="true" />
      <option name="workingDir" value="$ProjectFileDir$" />
      <envs>
        <env name="GOROOT" value="$GOROOT$" />
        <env name="GOPATH" value="$GOPATH$" />
        <env name="PATH" value="$GoBinDirs$" />
      </envs>
    </TaskOptions>
  </component>
</project>
\ No newline at end of file

D bin/riku => bin/riku +0 -0
M web/handler/handler.go => web/handler/handler.go +1 -1
@@ 77,9 77,9 @@ func New(store *storage.Storage, s *session.Manager) http.Handler {
	router.HandleFunc("/logout", h.logout).Methods(http.MethodGet)
	router.HandleFunc("/thank-you", h.showThankYouView).Methods(http.MethodGet)
	router.HandleFunc("/manual", h.showManualView).Methods(http.MethodGet)
	router.HandleFunc("/submit", h.submitResponse).Methods(http.MethodPost)

	// Protected routes
	router.HandleFunc("/submit", h.protect(h.submitResponse)).Methods(http.MethodPost)
	router.HandleFunc("/move-to-archive", h.protect(h.moveResponseToArchive)).Methods(http.MethodGet)
	router.HandleFunc("/move-to-inbox", h.protect(h.moveResponseToInbox)).Methods(http.MethodGet)
	router.HandleFunc("/response", h.protect(h.showResponseView)).Methods(http.MethodGet)