Skip to content

Commit 6e1e36c

Browse files
committed
Merge pull request #114 from mhaas/update-readme
Update readme
2 parents 304eb68 + d6cf01b commit 6e1e36c

File tree

4 files changed

+87
-24
lines changed

4 files changed

+87
-24
lines changed

NEWS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ WiFiDog 1.2.0:
2222
* Fix general code quality issues (#71, 74, #75, #86)
2323
* Fix typo in ping_thread (pong -> PONG) (#46)
2424
* Fix redirect by using HTTP 302 instead of 307 (#11, #14)
25-
* Upgrade libhttpd to 1.4 (#91)
2625
* Fix inconsistent indent, now uses spaces everywhere (#91)
26+
* Upgrade libhttpd to 1.4 (#91)
2727
* Remove incomplete and broken BSD support (#93)
28+
* Update doc/README.developers.txt (#113)
29+
* Update README (-> README.md) (#114)
2830
* Various other fixes and minor improvements, see
2931
https://github.com/wifidog/wifidog-gateway/compare/1.1.5...1.2.0
3032

README

Lines changed: 0 additions & 16 deletions
This file was deleted.

README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# WifiDog #
2+
3+
The WiFi Guard Dog project is a complete and embeddable captive portal
4+
solution for wireless community groups or individuals who wish to open a
5+
free hotspot while still preventing abuse of their Internet connection.
6+
7+
More information and the old issue tracker can be found on
8+
[dev.wifidog.org][homepage].
9+
Nowadays, development happens on [github][GitHub].
10+
11+
12+
## WifiDog Gateway ##
13+
14+
WifiDog consists of two parts:
15+
16+
* auth server
17+
* client daemon (the gateway)
18+
19+
This repository contains the client daemon. The client typically runs on
20+
embedded hardware, e.g. the hotspot itself. The client is responsible for
21+
redirecting the user to the auth server where they may authenticate
22+
themselves. Depending on the response of the auth server, the client
23+
lifts the access restrictions for the user.
24+
Client and server speak the [WifiDog Protocol Version 1][protov1],
25+
with Version 2 being a draft which has not been implemented so far.
26+
A detailed description of the login process involving user,
27+
client and server is available as a [flow diagram][flowdia].
28+
29+
## Install ##
30+
31+
See the [faq][FAQ].
32+
33+
## Contributing ##
34+
35+
See [devdoc][README.developers.txt].
36+
37+
38+
## License ##
39+
The project's software is released under the GPL license and is copyrighted
40+
by its respective owners. See COPYING for details.
41+
42+
[homepage]: http://dev.wifidog.org/
43+
[github]: https://github.com/wifidog/
44+
[protov1]: http://dev.wifidog.org/wiki/doc/developer/WiFiDogProtocol_V1
45+
[flowdia]: http://dev.wifidog.org/wiki/doc/developer/FlowDiagram
46+
[devdoc]: src/README.developers.txt
47+
[faq]: src/FAQ

doc/README.developers.txt

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,53 @@ $Id$
44

55
This file contains some small notes on developing the WiFiDog application.
66

7-
The application's home page is:
8-
http://www.ilesansfil.org/wiki/WiFiDog
97

10-
The application's sourceforge page is:
8+
The application's GitHub page is:
9+
https://github.com/wifidog/
10+
11+
As a developer, you should subscribe to the GitHub project:
12+
https://github.com/wifidog/wifidog-gateway/subscription
13+
14+
Main development is happening on GitHub, but the project website has lots of useful information
15+
and some remaining tickets:
16+
http://dev.wifidog.org/
17+
18+
There is also a (somewhat unused) SourceForge page:
1119
http://sourceforge.net/projects/wifidog/
1220

13-
As a developer, you must subscribe to sourceforge as a "developer" under WiFiDog, as well as subscribe to the WiFiDog mailing list located at:
14-
http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
21+
WifiDog uses semantic versioning:
22+
http://semver.org/
23+
24+
25+
CONTRIBUTION CHECKLIST:
26+
A quick checklist for new contributors. See below for details.
27+
- Indent your code properly
28+
- Document your code and follow DoxyGen style
29+
- Your pull request must include an update to the NEWS file
30+
- Fix all compiler warnings
31+
32+
Once your patch is good to go, submit a pull request on GitHub:
33+
https://github.com/wifidog/wifidog-gateway/pulls
1534

35+
If you're having any questions, file an issue on GitHub and add the "Question"
36+
label:
37+
https://github.com/wifidog/wifidog-gateway/issues/new
1638

1739
SOURCE CODE:
1840
- Please do not contribute unless you agree with the GPL license and are contributing your portion under that license. See the included LICENSE.txt
1941
- Please respect the intellectual property of others. You are not allowed to taint WiFiDog by including source code from projects that do not allow so.
2042
- Keep in mind that this application will run on extremely simple embedded devices. The binary size needs to be small, the dependencies absolutely minimal, and the memory footprint negligible.
21-
- Always place the subversion "Id" macro at the top of every file
2243
- Since this is a collaborative project, please aim for clearness instead of cleverness when faced with a choice.
2344
- If you must use some cleverness, please add appropriate clear comments.
24-
- Please re-indent your code before committing to subversion - see the "Formatting Your Source Code" section in the GNU Coding Standards at http://www.gnu.org/prep/standards_toc.html - the entire document makes a good reading if you haven't read it before. Also see the "indent" program.
45+
- Please format your code properly before submitting a patch or a pull request. In general, we use 4 tabs instead of spaces with a maximum
46+
line length of 120. In VIM, use these settings:
47+
set expandtab
48+
set shiftwidth=4
49+
set softtabstop=4
50+
set tabstop=4
51+
The complete code style is defined by the following GNU indent call:
52+
indent --linux-style --no-tabs --indent-level 4 --line-length 120 --procnames-start-lines
53+
- Do not introduce compiler warnings. If the compiler warning is indeed harmless, disable it with the appropriate -Wno- flag in Makefile.am
2554
- Before writing any brand-new large chunks of code, make sure it's logic has been discussed with the other team of developers or included in the design stage.
2655

2756

@@ -34,4 +63,5 @@ DOCUMENTATION:
3463
- Please use DoxyGen-style comments (see http://www.doxygen.org/ for details) for source code documentation.
3564
- Please use DocBook-SGML documentation for user documentation. This will make it easy to export documentation in multiple formats. Otherwise submit your documentation in plaintext format to someone who will change it to DocBook.
3665
- Please thoroughly-comment non-clear sections in your code.
66+
- Remember that commit messages and pull request descriptions also serve as a form of documentation.
3767

0 commit comments

Comments
 (0)