NotZippy
8c21a56302
Revel tool enhancements
...
* run Command will choose CWD if no additional arguments are supplied
* Added Revel version check, compatible lists are in model/version
2018-10-12 20:40:48 -07:00
NotZippy
031fde6009
Update to logger
2018-10-12 20:40:48 -07:00
Steve
09ca80add8
Merge pull request #151 from lujiacn/master
...
Update build.go
2018-10-12 15:48:22 -07:00
Jia Lu
2d6c2eefa4
Update build.go
...
add missing c.Build.ImportPath, which is required to generate run.sh and run.bat
2018-10-12 22:53:01 +08:00
Steve
644d6e12bd
Added check for copy dir
...
CopyDir should not fail if the source folder does not exist.
2018-10-10 11:40:29 -07:00
Steve
be7bebd962
Merge pull request #146 from notzippy/develop
...
Added missing environment variables to command, skipping the gopath
v0.20.2
2018-10-02 09:27:54 -07:00
NotZippy
43c188c1eb
Added missing environment variables to command, skipping the gopath
2018-10-02 08:48:12 -07:00
Steve
f745fb3edf
Merge pull request #145 from revel/develop
...
V 0.20.1 For revel/cmd
To address a lot of the automatic import issues.
Added in a number of test cases
Refactored CI testing
v0.20.1
2018-10-01 11:08:23 -07:00
Steve
1302671687
Merge pull request #144 from notzippy/develop
...
Moved skeleton to its own repository
2018-10-01 09:33:37 -07:00
NotZippy
9ad0065f6c
Moved skeleton to its own repository
2018-10-01 08:58:25 -07:00
Steve
e5303e84cd
Merge pull request #143 from notzippy/develop
...
Enhancements to Revel command
2018-09-30 10:08:35 -07:00
NotZippy
f4fb2ec091
Enhancements to Revel command
...
Reformat of code
Allow user to use a mix of command line arguments and flags
Enhance the import tool to detect missing packages in the modules side
Added test cases for all commands
2018-09-30 10:08:11 -07:00
Steve
b606ec999c
Merge pull request #138 from notzippy/develop
...
Re added the requirement for the -a, without this the flags would not…
v0.20.0
2018-09-22 15:32:30 -07:00
NotZippy
01ccd695d4
Re added the requirement for the -a, without this the flags would not error out and cause issues
2018-09-22 15:28:22 -07:00
Steve
cfe5bf4b0c
Merge pull request #137 from notzippy/develop
...
Added a version file to revel/cmd
2018-09-22 13:38:17 -07:00
NotZippy
7a4e741d1c
Added a version file to revel/cmd
...
Updated import path detection to make it smarter. You can now use absolute paths etc..
2018-09-22 13:37:27 -07:00
Steve
92943b2121
Merge pull request #136 from notzippy/develop
...
New Enhancement
2018-09-21 10:19:49 -07:00
NotZippy
69e59efb14
New Enhancement
...
Added ability to create a new revel applicaiton without any sources.
Automatically download all sources required
2018-09-21 10:08:37 -07:00
Steve
5973b438c1
Merge pull request #135 from notzippy/develop
...
Added message for debugging
2018-09-19 14:44:05 -07:00
NotZippy
c47f44762a
Added message for debugging
...
Added process state message to be returned to wait channel to help resolve the reason for the "app died" message
2018-09-19 14:43:15 -07:00
Steve
b138e35f6d
Merge pull request #134 from notzippy/develop
...
Split main file
2018-09-19 10:38:27 -07:00
NotZippy
17459d14e6
Split main file
...
Added code to split the generated main file into two separate files. This allows other code to launch the web application inline.
2018-09-19 09:47:51 -07:00
Steve
c87d53eafa
Merge pull request #133 from notzippy/develop
...
Updated readme, Updated travis
2018-09-16 20:05:19 -07:00
NotZippy
4d7a290247
Updated readme, Updated travis
2018-09-16 20:04:40 -07:00
Steve
7eff69f3cb
Merge pull request #130 from notzippy/develop
...
Added CI
2018-09-16 07:11:28 -07:00
NotZippy
34bc650ea8
Added CI
2018-09-16 06:54:57 -07:00
Steve
2c53671706
Merge pull request #129 from notzippy/develop
...
Command line update
2018-09-15 16:28:32 -07:00
NotZippy
3ad381d45b
Enhanced package and build to by default not include any source code
2018-09-14 21:32:20 -07:00
NotZippy
d0baaeb9e9
Initial rewrite of revel/cmd to provide vendor support and enhanced CLI options
2018-09-14 21:26:25 -07:00
notzippy
d2ac018544
Merge pull request #120 from lokhman/issue119
...
Fix DefaultValidationKeys generated with wrong line for multiline check
2018-04-15 21:14:55 -07:00
notzippy
d0e5c797cb
Merge pull request #122 from notzippy/develop
...
Added missed GPL license to command
2018-04-15 21:13:23 -07:00
NotZippy
7e501b8a65
Added missed GPL license to command
2018-04-15 21:09:59 -07:00
Alexander Lokhman
fe56bdd8a3
Fix DefaultValidationKeys generated with wrong line for multiline check
2018-02-12 15:37:35 +00:00
notzippy
97ec142262
Merge pull request #117 from tike/master
...
fix import path trimming during main.go generation
v0.19.0
2018-02-04 16:32:57 -08:00
tike
dfc873bc15
fix import path trimming during main.go generation
...
The importPathFromPath function invoked during `revel build`
in callchain Build -> ProcessSource -> importPathFromPath
assumes that the vendor folder is in the app's root directory
when trimming import paths for inclusion into autogenerated
templates.
Consequently vendor detection fails if the vendor folder
is located at another hiher layer in the directory tree
and /prefix/path/to/vendor/ is not stripped from the
import path, leading to inclusion of invalid importpaths,
resulting in compilation error and build abortion.
This fix makes the vendor folder detection more flexible,
allowing for the vendor folder to be present at any higher
level in the directory hirachy.
2018-02-01 15:25:13 +01:00
notzippy
cca02dd5ff
Merge pull request #116 from notzippy/log-update
...
Added check to ignore functions which have no body (external functions)
2018-01-30 09:47:56 -08:00
NotZippy
91f43bf94c
Added check to ignore functions which have no body (external functions)
...
Added missing sort package
2018-01-30 09:23:21 -08:00
notzippy
0583fe7d32
Merge pull request #108 from rokeller/develop
...
Generate same value of AppVersion regardless of where revel is run
2018-01-29 21:28:08 -08:00
notzippy
6ca1d73b61
Merge pull request #112 from nathantchan/stable_controllers
...
Sort controllers so that builds are reproducible.
2018-01-29 21:27:18 -08:00
notzippy
4c87861642
Merge pull request #114 from vin01/master
...
Adding referrer policy security header
2018-01-29 21:26:33 -08:00
notzippy
a2d7517ca0
Merge pull request #115 from runner-mei/master
...
add support to map as a argument in the controller action
2018-01-29 21:25:49 -08:00
meifakun
8efaff19ce
map as a argument in the controller action
2018-01-15 16:07:46 +08:00
vin01
ac056d17af
Adding referrer policy security header
...
It will set a default strict `Referrer-Policy ``strict-origin-when-cross-origin`` that controls what referrer information shall be included with requests.
More: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy , https://scotthelme.co.uk/a-new-security-header-referrer-policy/
It can prevent issues like: https://robots.thoughtbot.com/is-your-site-leaking-password-reset-links
2018-01-06 14:05:20 +05:30
Nathan Chan
fc904827cd
Make sorting compatible with go >= 1.6
2017-12-11 09:55:26 -08:00
Nathan Chan
c240b05369
Sort controllers so that builds are reproducible.
...
Ordering of controllers in routes.go and main.go is unstable in
successive runs of revel build. This change will assure that the
ordering is stable.
2017-12-08 11:37:28 -08:00
notzippy
29e594435c
Merge pull request #104 from notzippy/log-update
...
Prerelease items
v0.18.0
2017-10-31 08:12:16 -07:00
Roger Keller
a2acbe32bf
Make sure AppVersion is set without the -dirty suffix for non-dirty work trees regardless of where revel is run from.
2017-10-28 21:20:28 +02:00
NotZippy
29c6237caf
Removed the catch all route, and added comment about security issue
2017-10-22 09:31:18 -07:00
NotZippy
2d4ccf289c
Set line number to use left parenthesis not right
2017-10-07 21:41:23 -07:00
notzippy
f38fb6a15d
Merge pull request #103 from notzippy/log-update
...
Updated skeleton to added critical.
2017-10-07 21:41:05 -07:00