Commit graph

48 commits

Author SHA1 Message Date
Lain Soykaf
aa9d628397 Update to nimble pool 0.2 2021-12-15 13:30:46 -05:00
Lain Soykaf
a1689624ff Server: Replace erlang.now 2021-12-15 13:26:01 -05:00
289cda1b6d Disable extension fixing by default 2021-01-28 13:37:33 -06:00
fd3a6d88b8 Remove IO.puts from development 2021-01-28 13:36:46 -06:00
Mark Felder
207343e472 Fix uploads of files without a detectable mime-type and no file extension 2020-09-28 11:26:44 -05:00
Jordan Bracco
4983596ab2 Majic.Extension 2020-06-17 14:59:16 +02:00
Jordan Bracco
df3d96708a Plug: support upload in array 2020-06-16 19:33:30 +02:00
Jordan Bracco
91a10cfa0c Plug: change in conn.body_params too 2020-06-16 18:49:22 +02:00
Jordan Bracco
166353a620 C Cleanup 2020-06-16 18:03:51 +02:00
Jordan Bracco
1c72330036 Remove sr.ht build script 2020-06-16 15:01:33 +02:00
Jordan Bracco
a4ea04630e Pool: fix pool_size 2020-06-16 14:50:16 +02:00
Jordan Bracco
2bc9f9470b Plug: use unified API, handle mimes without extension 2020-06-16 14:50:04 +02:00
Jordan Bracco
65436c1c02 Fix bytes 2020-06-16 14:49:39 +02:00
Jordan Bracco
91fdf2303b Plug 2020-06-16 11:55:13 +02:00
Jordan Bracco
debcadf495 API cleanup, C improvements, docs, ... 2020-06-16 11:55:04 +02:00
Jordan Bracco
b5777bf9e8 Majic. 2020-06-15 22:23:14 +02:00
Jordan Bracco
52f6aa7281 Merge branch 'single-api' into develop 2020-06-15 18:19:30 +02:00
Jordan Bracco
60fde9c3ce Unified API: GenMagic.perform/2,3 2020-06-15 18:19:06 +02:00
Jordan Bracco
89d97f9284 Merge branch 'ei' into develop 2020-06-15 18:18:53 +02:00
Jordan Bracco
8c58ecd057 Cleanup 2020-06-15 18:16:42 +02:00
Jordan Bracco
6186331fe8 Format & delete .builds/ 2020-06-15 18:03:45 +02:00
Jordan Bracco
011d1150e3 Remove use of arguments and load DB from messages
Also:

- Adds `GenMagic.Server.recycle` and `GenMagic.Server.reload` which
allows to restart/reload the apprentice server with a new set of
databases,
- Fix compilation on musl based distributions (was caused by the args
code),
- Handle timeouts better in `GenMagic.Server`
- Force the port to close in recycling if the graceful stop timeouts
2020-06-15 17:57:40 +02:00
Jordan Bracco
7f863a37f8 Unified API: GenMagic.perform/2,3 2020-06-15 13:57:46 +02:00
Jordan Bracco
d358007c26 Ensure we always close the port 2020-06-14 18:56:18 +02:00
Jordan Bracco
87415c4854 Safeguard against ei_* failures 2020-06-14 18:55:07 +02:00
Jordan Bracco
001151e7d9 Ensure we always close the port 2020-06-14 18:54:04 +02:00
Jordan Bracco
1d949c82ca Safeguard against ei_* failures 2020-06-14 18:21:17 +02:00
Jordan Bracco
0a444f2e48 Merge branch 'ei' into develop 2020-05-14 20:54:29 +02:00
Jordan Bracco
8dab8223d7 Minor specs/... fixes 2020-05-14 20:53:53 +02:00
Jordan Bracco
911a9eab1f Improve behaviour with too long commands/filenames. 2020-05-14 18:53:12 +02:00
Jordan Bracco
02776a3fad Merge branch 'ei' into develop 2020-05-14 15:15:02 +02:00
Jordan Bracco
15560bccda apprentice: fix read_cmd len read.
Apparently the [example on erlang.org](https://erlang.org/doc/tutorial/erl_interface.html)
is wrong for specific lengths of packets...
2020-05-14 14:57:35 +02:00
Jordan Bracco
4245994dd0 Merge branch 'ei' into develop 2020-05-14 00:38:06 +02:00
Jordan Bracco
327afed608 Server: hibernate between requests 2020-05-14 00:36:57 +02:00
Jordan Bracco
654eb6b67f Implement bytes 2020-05-13 22:44:12 +02:00
Jordan Bracco
8626ea02fd Merge branch 'ei' into develop 2020-05-13 22:31:58 +02:00
Jordan Bracco
a1236b7ea7 Merge branch 'ei' into develop 2020-05-13 22:31:29 +02:00
Jordan Bracco
00c94d88d6 Implement bytes 2020-05-13 22:30:59 +02:00
Jordan Bracco
6134300c6c Merge branch 'nimblepool' into develop 2020-05-13 21:34:50 +02:00
Jordan Bracco
dfd2158557 Pool: format & doc 2020-05-13 21:34:31 +02:00
Jordan Bracco
fcab217ea0 Merge branch 'nimblepool' into develop 2020-05-13 20:09:39 +02:00
Jordan Bracco
77dfe98011 NimblePool implementation WIP 2020-05-13 20:08:36 +02:00
Jordan Bracco
4d15af6e90 Merge branch 'nimblepool' into develop 2020-05-13 19:40:25 +02:00
Jordan Bracco
d40dff738a Max path size 2020-05-13 19:27:59 +02:00
Jordan Bracco
64ded4da4c Dry send 2020-05-13 19:21:23 +02:00
Jordan Bracco
443ce0501f EI wip 2020-05-13 18:54:45 +02:00
Jordan Bracco
a84d227040 NimblePool implementation WIP 2020-05-13 11:47:21 +02:00
Evadne Wu
0bc39d9ad1 Initial Commit (v1.0.0)
- History for v0.20.83 and previous versions is moved to archive/v0.20.83
2020-05-04 05:04:38 +01:00