Commit Graph

109 Commits

Author SHA1 Message Date
solusipse
801231514c Created very simple script for serving pastes with numbering (#51) 2017-10-09 19:58:21 +02:00
solusipse
e2daffecd3 Added additional example for -d switch 2017-09-18 02:27:24 +02:00
solusipse
9e3986fa66 Updated usage info 2017-09-17 15:14:35 +02:00
solusipse
ef12b5d54f Added instructions for -S option 2017-09-17 15:13:17 +02:00
solusipse
cdd910b150 Re-added support for https (#33) 2017-09-17 14:34:44 +02:00
solusipse
1cba8ad493 Adding lacking dependency for python's port of scan-build 2017-09-06 01:13:57 +02:00
solusipse
9bab68e44a Trying to resolve scan-build dependencies 2017-09-06 01:10:18 +02:00
solusipse
5abe89fc9c Added lacking clang package for scan-build 2017-09-06 00:59:09 +02:00
solusipse
f4114ce2a6 Added scan-build 2017-09-06 00:55:57 +02:00
solusipse
a2fb9ab838 Added cppcheck 2017-09-06 00:39:00 +02:00
solusipse
10cb524891 Reworked date function to take buffer as an argument 2017-09-05 22:04:21 +02:00
solusipse
99b45b93f2 Changed method of touching logfile before using 2017-09-02 22:20:08 +02:00
solusipse
c1725790bb Update README.md 2017-09-02 21:39:15 +02:00
solusipse
b554845749 Added pure-bash alias alternative to nc 2017-09-02 21:38:03 +02:00
solusipse
7ad6a82fd4 Added some aliases, performed minor cleanup 2017-09-02 21:22:35 +02:00
solusipse
53c0027b3c Extra checks, fixed cleanup in file generating routine 2017-09-02 19:48:02 +02:00
solusipse
7575609c41 Fixed null dereference, renamed argument to match declaration 2017-09-02 19:44:08 +02:00
solusipse
319bd73273 Failure on slug generation is now properly handled 2017-09-02 19:30:08 +02:00
solusipse
2c88f3c990 Merge branch 'master' of github.com:solusipse/fiche 2017-09-02 19:15:48 +02:00
solusipse
bd1751693b Fixed wrong order of cleanup calls 2017-09-02 19:12:10 +02:00
solusipse
54838f5dab Major cleanup 2017-09-02 18:53:43 +02:00
solusipse
8ff08a0409 Entirely rewritten fiche 2017-09-02 17:51:43 +02:00
solusipse
c054f8dc20 Fixed #50 2017-04-15 23:36:22 +02:00
solusipse
44b908ff2b Merge pull request #38 from nnnn20430/master
added IPv6 support #2
2016-07-09 17:04:05 +02:00
solusipse
55ef361999 Merge pull request #40 from part1zano/master
Fixed Makefile
2016-07-09 16:59:10 +02:00
part1zano
231954696e Fixed Makefile
If you don't like the default PREFIX on your system, you can always change it.
2016-04-11 21:20:41 +03:00
nnnn20430
b9ed17e937 added IPv6 support 2016-03-15 14:13:08 +01:00
solusipse
a5c137c06d enhancement #33 2016-01-23 12:36:53 +01:00
solusipse
abf8ae5117 fixing issue #31 2016-01-23 11:44:46 +01:00
solusipse
8f3e23d3de Merge pull request #25 from jungle-boogie/patch-1
better install path
2015-11-18 20:45:53 +01:00
jungle-boogie
21d8ac90e8 better install path 2015-11-17 20:51:14 -08:00
solusipse
f76eea8931 Merge pull request #23 from cgie/warnings
added checks on the return values of read/write
2015-10-31 12:47:19 +01:00
Christian Gießen
fdbfa98938 Mitigated the non-critical errors into warnings 2015-10-31 12:04:43 +01:00
Christian Gießen
5ceb31a97e added checks on the return values of read/write 2015-10-31 09:18:36 +01:00
solusipse
f6ecdab9c5 Merge pull request #22 from Hypsurus/master
Fix segfault, and error().
2015-10-13 19:19:07 +02:00
Hypsurus
bea2fc990d Fix segfault in fopen, no check for null 2015-10-13 19:40:23 +03:00
Hypsurus
a409d1cee6 error() - no need to use ERROR multiple times 2015-10-13 19:30:30 +03:00
solusipse
4c3f5908e3 Merge pull request #20 from bket/drop_priv
Drop privileges when running as root
2015-09-22 04:33:34 +02:00
Björn Ketelaars
79d3f1992e update README.md 2015-09-19 19:57:02 +02:00
Björn Ketelaars
c42b8526f0 only root can chown. However, when running as root privileges are dropped. As such, it doesn't make sense to have a function like change_owner() 2015-09-19 19:57:02 +02:00
Björn Ketelaars
053bd8d5d6 drop privileges when running as root 2015-09-19 19:57:01 +02:00
Björn Ketelaars
36f8df2011 instead of using perror() use printf(). Removes ugly and useless error codes. While here move function to *.c 2015-09-19 19:57:01 +02:00
Björn Ketelaars
880e5edf1b return after error() does not make sense 2015-09-19 19:57:00 +02:00
solusipse
a284706e78 Merge pull request #19 from bket/cleanup
Cleanup
2015-09-19 18:49:06 +02:00
Björn Ketelaars
b1de821740 combine 2 if-statements. While here; spacing, spacing, spacing 2015-09-19 18:00:06 +02:00
Björn Ketelaars
7e33e463bb remove info(), instead used printf's. Check for DAEMON at some stages 2015-09-19 17:35:16 +02:00
Björn Ketelaars
f7926b75fc display_date() is only used one time, doesn't make sense to make it a function 2015-09-19 17:35:15 +02:00
Björn Ketelaars
f9d7f3d5c8 WARNING != ERROR 2015-09-19 17:35:15 +02:00
Björn Ketelaars
9c2919f01d move all info() lines from parse_parameters() to startup_message(). Move DAEMON = 1 to getopt 2015-09-19 17:35:14 +02:00
Björn Ketelaars
19c2d8df76 main() is exptected to return a value 2015-09-19 17:35:14 +02:00