import referances correction

pull/540/head
Alen BOHCELYAN 2017-02-14 19:09:26 +02:00
parent 2acb3a0254
commit 72b8112d38
16 changed files with 18 additions and 18 deletions

View File

@ -20,7 +20,7 @@ import (
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/jinzhu/gorm" "github.com/jinzhu/gorm"
"github.com/jordan-wright/email" "github.com/jordan-wright/email"
"../util" "github.com/gophish/gophish/util"
) )
// Worker is the worker that processes phishing events and updates campaigns. // Worker is the worker that processes phishing events and updates campaigns.

View File

@ -21,7 +21,7 @@ import (
"github.com/gorilla/csrf" "github.com/gorilla/csrf"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/gorilla/sessions" "github.com/gorilla/sessions"
"../util" "github.com/gophish/gophish/util"
) )
// Logger is used to send logging messages to stdout. // Logger is used to send logging messages to stdout.

View File

@ -35,10 +35,10 @@ import (
"github.com/NYTimes/gziphandler" "github.com/NYTimes/gziphandler"
"github.com/gophish/gophish/auth" "github.com/gophish/gophish/auth"
"./config" "github.com/gophish/gophish/config"
"./controllers" "github.com/gophish/gophish/controllers"
"github.com/gophish/gophish/models" "github.com/gophish/gophish/models"
"./util" "github.com/gophish/gophish/util"
"github.com/gorilla/handlers" "github.com/gorilla/handlers"
) )

View File

@ -5,7 +5,7 @@ import (
"time" "time"
"github.com/jinzhu/gorm" "github.com/jinzhu/gorm"
"../util" "github.com/gophish/gophish/util"
) )
// Campaign is a struct representing a created campaign // Campaign is a struct representing a created campaign

View File

@ -6,7 +6,7 @@ import (
"time" "time"
"github.com/jinzhu/gorm" "github.com/jinzhu/gorm"
"../util" "github.com/gophish/gophish/util"
) )
// Group contains the fields needed for a user -> group mapping // Group contains the fields needed for a user -> group mapping

View File

@ -14,7 +14,7 @@ import (
"github.com/gophish/gophish/config" "github.com/gophish/gophish/config"
"github.com/jinzhu/gorm" "github.com/jinzhu/gorm"
_ "github.com/mattn/go-sqlite3" // Blank import needed to import sqlite3 _ "github.com/mattn/go-sqlite3" // Blank import needed to import sqlite3
"../util" "github.com/gophish/gophish/util"
) )
var db *gorm.DB var db *gorm.DB

View File

@ -6,7 +6,7 @@ import (
"time" "time"
"github.com/PuerkitoBio/goquery" "github.com/PuerkitoBio/goquery"
"../util" "github.com/gophish/gophish/util"
) )
// Page contains the fields used for a Page model // Page contains the fields used for a Page model

View File

@ -8,7 +8,7 @@ import (
"github.com/jinzhu/gorm" "github.com/jinzhu/gorm"
"github.com/oschwald/maxminddb-golang" "github.com/oschwald/maxminddb-golang"
"../util" "github.com/gophish/gophish/util"
) )
type mmCity struct { type mmCity struct {

View File

@ -6,7 +6,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"time" "time"
"../util" "github.com/gophish/gophish/util"
) )
// SMTP contains the attributes needed to handle the sending of campaign emails // SMTP contains the attributes needed to handle the sending of campaign emails

View File

@ -7,7 +7,7 @@ import (
"time" "time"
"github.com/jinzhu/gorm" "github.com/jinzhu/gorm"
"../util" "github.com/gophish/gophish/util"
) )
// Template models hold the attributes for an email template to be sent to targets // Template models hold the attributes for an email template to be sent to targets

View File

@ -159,5 +159,5 @@
"Campaign not found!": "{{T "Campaign not found!"}}", "Campaign not found!": "{{T "Campaign not found!"}}",
} }
</script> </script>
<script src="/js/src/app/campaign_results.js"></script> <script src="/js/dist/app/campaign_results.min.js"></script>
{{end}} {{end}}

View File

@ -175,5 +175,5 @@
"Error fetching campaigns": "{{T "Error fetching campaigns"}}" "Error fetching campaigns": "{{T "Error fetching campaigns"}}"
} }
</script> </script>
<script src="/js/src/app/campaigns.js"></script> <script src="/js/dist/app/campaigns.min.js"></script>
{{end}} {{end}}

View File

@ -99,5 +99,5 @@
"Error fetching campaigns": "{{T "Error fetching campaigns"}}" "Error fetching campaigns": "{{T "Error fetching campaigns"}}"
} }
</script> </script>
<script src="/js/src/app/dashboard.js"></script> <script src="/js/dist/app/dashboard.min.js"></script>
{{end}} {{end}}

View File

@ -149,5 +149,5 @@
</script> </script>
<script src="/js/ckeditor/ckeditor.js"></script> <script src="/js/ckeditor/ckeditor.js"></script>
<script src="/js/ckeditor/adapters/jquery.js"></script> <script src="/js/ckeditor/adapters/jquery.js"></script>
<script src="/js/src/app/sending_profiles.js"></script> <script src="/js/dist/app/sending_profiles.min.js"></script>
{{end}} {{end}}

View File

@ -168,5 +168,5 @@
</script> </script>
<script src="/js/src/vendor/ckeditor/ckeditor.js"></script> <script src="/js/src/vendor/ckeditor/ckeditor.js"></script>
<script src="/js/src/vendor/ckeditor/adapters/jquery.js"></script> <script src="/js/src/vendor/ckeditor/adapters/jquery.js"></script>
<script src="/js/src/app/templates.js"></script> <script src="/js/dist/app/templates.min.js"></script>
{{end}} {{end}}

View File

@ -130,5 +130,5 @@
"Error fetching groups": "{{T "Error fetching groups"}}" "Error fetching groups": "{{T "Error fetching groups"}}"
} }
</script> </script>
<script src="/js/src/app/users.js"></script> <script src="/js/dist/app/users.min.js"></script>
{{end}} {{end}}