to gitea.bel.blue

This commit is contained in:
bel
2026-02-20 15:03:21 -07:00
parent d32df3bec9
commit 2b7662e53e
21 changed files with 172 additions and 97 deletions

View File

@@ -2,10 +2,11 @@ package notes
import (
"html"
"gitea.inhome.blapointe.com/local/notes-server/filetree"
"net/http"
"path"
"strings"
"gitea.bel.blue/local/notes-server/filetree"
)
func (n *Notes) Create(w http.ResponseWriter, r *http.Request) {

View File

@@ -1,6 +1,6 @@
package notes
import "gitea.inhome.blapointe.com/local/notes-server/config"
import "gitea.bel.blue/local/notes-server/config"
type Notes struct {
root string

View File

@@ -1,12 +1,13 @@
package server
import (
"gitea.inhome.blapointe.com/local/firestormy/config"
"gitea.inhome.blapointe.com/local/firestormy/config/ns"
"gitea.inhome.blapointe.com/local/firestormy/scheduler"
"gitea.inhome.blapointe.com/local/logb"
"net/http"
"strings"
"gitea.bel.blue/local/firestormy/config"
"gitea.bel.blue/local/firestormy/config/ns"
"gitea.bel.blue/local/firestormy/scheduler"
"gitea.bel.blue/local/logb"
)
func (s *Server) disable(w http.ResponseWriter, r *http.Request) {

View File

@@ -1,12 +1,13 @@
package server
import (
"gitea.inhome.blapointe.com/local/firestormy/config"
"gitea.inhome.blapointe.com/local/firestormy/config/ns"
"gitea.inhome.blapointe.com/local/firestormy/scheduler"
"gitea.inhome.blapointe.com/local/logb"
"net/http"
"strings"
"gitea.bel.blue/local/firestormy/config"
"gitea.bel.blue/local/firestormy/config/ns"
"gitea.bel.blue/local/firestormy/scheduler"
"gitea.bel.blue/local/logb"
)
func (s *Server) delete(w http.ResponseWriter, r *http.Request) {

View File

@@ -2,12 +2,13 @@ package server
import (
"encoding/json"
"gitea.inhome.blapointe.com/local/firestormy/config"
"gitea.inhome.blapointe.com/local/firestormy/config/ns"
"gitea.inhome.blapointe.com/local/firestormy/scheduler"
"gitea.inhome.blapointe.com/local/logb"
"net/http"
"strings"
"gitea.bel.blue/local/firestormy/config"
"gitea.bel.blue/local/firestormy/config/ns"
"gitea.bel.blue/local/firestormy/scheduler"
"gitea.bel.blue/local/logb"
)
func (s *Server) get(w http.ResponseWriter, r *http.Request) {

View File

@@ -3,9 +3,9 @@ package server
import (
"time"
"gitea.inhome.blapointe.com/local/firestormy/config"
"gitea.inhome.blapointe.com/local/firestormy/config/ns"
"gitea.inhome.blapointe.com/local/firestormy/scheduler"
"gitea.bel.blue/local/firestormy/config"
"gitea.bel.blue/local/firestormy/config/ns"
"gitea.bel.blue/local/firestormy/scheduler"
)
func toMap(j *scheduler.Job, output bool) map[string]interface{} {

View File

@@ -5,10 +5,10 @@ import (
"net/http"
"sort"
"gitea.inhome.blapointe.com/local/firestormy/config"
"gitea.inhome.blapointe.com/local/firestormy/config/ns"
"gitea.inhome.blapointe.com/local/firestormy/scheduler"
"gitea.inhome.blapointe.com/local/logb"
"gitea.bel.blue/local/firestormy/config"
"gitea.bel.blue/local/firestormy/config/ns"
"gitea.bel.blue/local/firestormy/scheduler"
"gitea.bel.blue/local/logb"
)
func (s *Server) list(w http.ResponseWriter, r *http.Request) {

View File

@@ -2,8 +2,9 @@ package server
import (
"fmt"
"gitea.inhome.blapointe.com/local/router"
"net/http"
"gitea.bel.blue/local/router"
)
func (s *Server) Routes() error {

View File

@@ -1,12 +1,13 @@
package server
import (
"gitea.inhome.blapointe.com/local/firestormy/config"
"gitea.inhome.blapointe.com/local/firestormy/config/ns"
"gitea.inhome.blapointe.com/local/firestormy/scheduler"
"gitea.inhome.blapointe.com/local/logb"
"net/http"
"strings"
"gitea.bel.blue/local/firestormy/config"
"gitea.bel.blue/local/firestormy/config/ns"
"gitea.bel.blue/local/firestormy/scheduler"
"gitea.bel.blue/local/logb"
)
func (s *Server) run(w http.ResponseWriter, r *http.Request) {

View File

@@ -1,13 +1,14 @@
package server
import (
"gitea.inhome.blapointe.com/local/firestormy/config"
"gitea.inhome.blapointe.com/local/gziphttp"
"gitea.inhome.blapointe.com/local/oauth2/oauth2client"
"gitea.inhome.blapointe.com/local/router"
"log"
"net/http"
"path/filepath"
"gitea.bel.blue/local/firestormy/config"
"gitea.bel.blue/local/gziphttp"
"gitea.bel.blue/local/oauth2/oauth2client"
"gitea.bel.blue/local/router"
)
type Server struct {

View File

@@ -5,11 +5,12 @@ import (
"errors"
"fmt"
"io"
"gitea.inhome.blapointe.com/local/firestormy/config"
"gitea.inhome.blapointe.com/local/firestormy/config/ns"
"gitea.inhome.blapointe.com/local/firestormy/scheduler"
"gitea.inhome.blapointe.com/local/logb"
"net/http"
"gitea.bel.blue/local/firestormy/config"
"gitea.bel.blue/local/firestormy/config/ns"
"gitea.bel.blue/local/firestormy/scheduler"
"gitea.bel.blue/local/logb"
)
type upsertRequest struct {