Nitrogen Web Framework

Changes On Branch trunk
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Changes In Branch trunk Excluding Merge-Ins

This is equivalent to a diff from babd934386 to 10711b34ff

2022-03-25
22:03
pull dependencies from https:// instead of git:// (the older protocol not allowed anymore) Leaf check-in: 10711b34ff user: fran tags: trunk
2021-11-13
01:06
enable debugging services by default check-in: 237d0ba900 user: fran tags: trunk
2021-09-09
18:22
bootstrap nitrogen_core from chiselapp. Add a modified rebar binary which is compatible with fossil repositories. Also set sc and pusher as deps check-in: f4c08fa13c user: fran tags: trunk
2020-12-24
02:01
+x to convert_to_rebar3.sh check-in: acd4db40fa user: gumm@sigma-star.com tags: mainstream, origin/rebar3, origin/ws
2020-12-14
20:58
Update changelog Leaf check-in: babd934386 user: gumm@sigma-star.com tags: mainstream, master, origin/ws
2020-11-29
14:46
update changelog check-in: da3c39cd2a user: gumm@sigma-star.com tags: mainstream, master, origin/ws

Changes to rebar.

cannot compute difference between binary files

Changes to rel/overlay/common/site/src/nitrogen_main_handler.erl.

13
14
15
16
17
18
19

20
21
22
23
24
25
26
27
    %%   nitrogen:handler(MySecurityHandler, HandlerConfig),
    %%
    %%
    %% The following enables the debug_crash_handler for development. If you
    %% wish to use the default_crash_handler, which just spits out "Internal
    %% Server Error", comment or delete this next line.
    nitrogen:handler(debug_crash_handler, []),

    ok.

ws_init() ->
    handlers().

run() ->
    handlers(),
    wf_core:run().







>








13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
    %%   nitrogen:handler(MySecurityHandler, HandlerConfig),
    %%
    %%
    %% The following enables the debug_crash_handler for development. If you
    %% wish to use the default_crash_handler, which just spits out "Internal
    %% Server Error", comment or delete this next line.
    nitrogen:handler(debug_crash_handler, []),
    nitrogen:handler(sc_route_handler, []),
    ok.

ws_init() ->
    handlers().

run() ->
    handlers(),
    wf_core:run().

Changes to rel/overlay/common/site/src/nitrogen_sup.erl.

23
24
25
26
27
28
29
30





















31

init([]) ->
    application:load(nitrogen_core),
    application:start(nitro_cache),
    application:start(crypto),
    application:start(nprocreg),
    application:start(simple_bridge),






















    {ok, { {one_for_one, 5, 10}, []} }.








>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

init([]) ->
    application:load(nitrogen_core),
    application:start(nitro_cache),
    application:start(crypto),
    application:start(nprocreg),
    application:start(simple_bridge),

	%% setup some needed tables for pusher and sc services.
		mnesia:create_schema([node()]),
		application:start(mnesia),

	%% launch pusher and sc services for using enhanced page scaffolding
		application:start(pusher, permanent),
		application:start(sc, permanent),

	%% start some debugging features to facilitate the development
	%% phases using scene scaffolding.  Comment out when launching
	%% to production for reducing the redundancy this features impose
	%% on the server.
		sc_data:set_config(debug),
		uilayer:enable_template_monitors(),
	%% uncomment the following line to enable updating the viewport
	%% in real time when editing the scene modules. This requires
	%% the wx widgets library compiled in the OTP system.  This also
	%% requires the server running on the X windows system (linux):
	%%
	%%	sc_sync:enable_onsync_reload(),

    {ok, { {one_for_one, 5, 10}, []} }.

Changes to rel/overlay/cowboy.deps.

1
    {cowboy,        {git, "git://github.com/ninenines/cowboy",         {tag, "2.7.0"}}},
|
1
    {cowboy,        {git, "https://github.com/ninenines/cowboy",         {tag, "2.7.0"}}},

Changes to rel/overlay/inets.deps.

1
2
    %% Inets has no external dependencies
    {mimetypes, {git, "git://github.com/spawngrid/mimetypes.git", {branch, master}}},

|
1
2
    %% Inets has no external dependencies
    {mimetypes, {git, "https://github.com/spawngrid/mimetypes.git", {branch, master}}},

Changes to rel/overlay/mochiweb.deps.

1
    {mochiweb, {git, "git://github.com/mochi/mochiweb.git",    {tag, "v2.20.1"}}},
|
1
    {mochiweb, {git, "https://github.com/mochi/mochiweb.git",    {tag, "v2.20.1"}}},

Changes to rel/overlay/rebar.config.src.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27


28
29
30
31
32
33
34
35
36
%% vim: ts=4 sw=4 et ft=erlang
{sub_dirs, [
    "site", 
    "deps"
]}.

{cover_enabled, true}.

{erl_opts, [debug_info, fail_on_warning]}.

{deps_dir, ["lib"]}.

{deps, [
    %% START_PLATFORM_DEPENDENCIES
    %% These lines will be replaced with any platform specific dependencies.
    %% The platform-sepecific dependencies can be located in
    %% rel/overlay/<platform>/rebar.config.deps
    %% END_PLATFORM_DEPENDENCIES

    %% Uncomment the following lines and comment the bottom lines with specific
    %% tags to always pull the latest versions
    {simple_bridge, {git, "git://github.com/nitrogen/simple_bridge",{branch, master}}},
    {qdate,         {git, "git://github.com/choptastic/qdate",      {branch, master}}},
    {nprocreg,      {git, "git://github.com/nitrogen/nprocreg",     {branch, master}}},
    {nitrogen_core, {git, "git://github.com/nitrogen/nitrogen_core",{branch, master}}},
    {sync,          {git, "git://github.com/rustyio/sync",          {branch, master}}},
    {nitro_cache,   {git, "git://github.com/nitrogen/nitro_cache",  {branch, master}}}



    %% Get specific tagged version
    % {simple_bridge, {git, "git://github.com/nitrogen/simple_bridge",{tag, "v2.1.0"}}},
    % {qdate,         {git, "git://github.com/choptastic/qdate",      {tag, "0.5.0"}}},
    % {nprocreg,      {git, "git://github.com/nitrogen/nprocreg",     {tag, "v0.3.0"}}},
    % {nitrogen_core, {git, "git://github.com/nitrogen/nitrogen_core",{tag, "v2.4.0"}}},
    % {sync,          {git, "git://github.com/rustyio/sync",          {tag, "v0.2.0"}}},
    % {nitro_cache,   {git, "git://github.com/nitrogen/nitro_cache",  {tag, "0.4.0"}}}
]}.


|


















|
|
|
|
|
|
>
>


|
|
|
|
|
|

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
%% vim: ts=4 sw=4 et ft=erlang
{sub_dirs, [
    "site",
    "deps"
]}.

{cover_enabled, true}.

{erl_opts, [debug_info, fail_on_warning]}.

{deps_dir, ["lib"]}.

{deps, [
    %% START_PLATFORM_DEPENDENCIES
    %% These lines will be replaced with any platform specific dependencies.
    %% The platform-sepecific dependencies can be located in
    %% rel/overlay/<platform>/rebar.config.deps
    %% END_PLATFORM_DEPENDENCIES

    %% Uncomment the following lines and comment the bottom lines with specific
    %% tags to always pull the latest versions
    {simple_bridge, {git, "https://github.com/nitrogen/simple_bridge",{branch, master}}},
    {qdate,         {git, "https://github.com/choptastic/qdate",      {branch, master}}},
    {nprocreg,      {git, "https://github.com/nitrogen/nprocreg",     {branch, master}}},
    {nitrogen_core, {fossil, "https://chiselapp.com/user/brau/repository/nitrogen_core", trunk}},
    {sync,          {git, "https://github.com/rustyio/sync",          {branch, master}}},
    {nitro_cache,   {git, "https://github.com/nitrogen/nitro_cache",  {branch, master}}},
    {sc, {fossil, "https://chiselapp.com/user/brau/repository/sc", trunk}},
    {pusher, {fossil, "https://chiselapp.com/user/brau/repository/pusher", trunk}}

    %% Get specific tagged version
    % {simple_bridge, {git, "https://github.com/nitrogen/simple_bridge",{tag, "v2.1.0"}}},
    % {qdate,         {git, "https://github.com/choptastic/qdate",      {tag, "0.5.0"}}},
    % {nprocreg,      {git, "https://github.com/nitrogen/nprocreg",     {tag, "v0.3.0"}}},
    % {nitrogen_core, {git, "https://github.com/nitrogen/nitrogen_core",{tag, "v2.4.0"}}},
    % {sync,          {git, "https://github.com/rustyio/sync",          {tag, "v0.2.0"}}},
    % {nitro_cache,   {git, "https://github.com/nitrogen/nitro_cache",  {tag, "0.4.0"}}}
]}.

Changes to rel/overlay/webmachine.deps.

1
2
%    {mochiweb,   {git, "git://github.com/mochi/mochiweb.git",    {tag, "v2.20.1"}}},
    {webmachine, {git, "git://github.com/webmachine/webmachine.git",  {tag, "518c94"}}},
|
|
1
2
%    {mochiweb,   {git, "https://github.com/mochi/mochiweb.git",    {tag, "v2.20.1"}}},
    {webmachine, {git, "https://github.com/webmachine/webmachine.git",  {tag, "518c94"}}},

Changes to rel/overlay/yaws.deps.

1
    {yaws, {git, "git://github.com/erlyaws/yaws",	{tag, "yaws-2.0.8"}}},
|
1
    {yaws, {git, "https://github.com/erlyaws/yaws",	{tag, "yaws-2.0.8"}}},