Skip to content

Commit f15a00b

Browse files
committed
Added prototype 2. See ChangeLog for Wekan-php v0.02
Thanks to xet7 !
1 parent f18b770 commit f15a00b

File tree

916 files changed

+259316
-26469
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

916 files changed

+259316
-26469
lines changed

Diff for: CHANGELOG.md

+59-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,62 @@
1-
# Upcoming Wekan-PHP-converter release
1+
# 2021-05-24 v0.02 Wekan-php release
2+
3+
This release has these still missing:
4+
5+
- Webp screenshots
6+
- Not implemented yet: Actual login with checking username and password
7+
- Other pages
8+
9+
and adds the following changes:
10+
11+
- Renamed Wekan-php v0.01 `public` directory to `old-public`
12+
- `LICENSE` Updated year
13+
- `SECURITY.md` removed extra text, added newest changes about PGP key etc.
14+
- `CONTRIBUTING.md` changed text to be about being nice.
15+
16+
and adds the following new features:
17+
18+
- `releases/` scripts for adding tags, updating changelog, updating translations
19+
- `public/` where added prototype 2 of Wekan-php
20+
- `screenshots/` now has screenshots of:
21+
- `prototype 1 board netsurf` that I have not tried to find old code yet.
22+
- `prototype 2 wekan php` that is current prototype, showing Amiga AWeb and Netsuft browsers.
23+
- `public/index.php` Login page
24+
- Implemented:
25+
- Browser support with HTML4 and with minimal formatting: Lynx, Netsurf, WinXP IE6, Amiga m68k AWeb and IBrowse
26+
- Translations: Detect browser language, load that language JSON translation, translate login page
27+
- Hide Logo
28+
- Custom:
29+
- Product Name
30+
- Meta tags
31+
- Manifest
32+
- Icons
33+
- Icon Colors
34+
- Theme Color
35+
- Font
36+
- Backgroud Color
37+
- Login Logo
38+
- Image URL
39+
- Image Width
40+
- Image Height
41+
- Link URL
42+
- Text Below Login Logo
43+
- Top Left Corner Logo
44+
- Image URL
45+
- Image Width
46+
- Image Height
47+
- Link URL
48+
- Custom URL Schemes
49+
- `debug = true`
50+
- PHP INI error reporting all
51+
- Showing all PHP server and browser variables
52+
- `install-php-deps.sh` install script for PHP 7 (or 8) dependencies on Ubuntu based distros
53+
- `public/mongo.php` making database query to Snap Meteor Wekan MongoDB database
54+
- `public/register.html` only HTML/CSS for register page that has not been yet added to `index.php`
55+
- Optional. Note: `index.php` does not have this by default, it has only minimal formatting.
56+
- `public/style.css`: All of Meteor Wekan CSS, without login.css
57+
- `public/login.css`: minimal Meteor Wekan style CSS.
58+
59+
# 2019-08-01 v0.01 Wekan-php release
260

361
This release adds the following new features:
462

Diff for: CONTRIBUTING.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
To get started, [please sign the Contributor License Agreement](https://www.clahub.com/agreements/wekan/wekan).
2-
3-
[Then, please read documentation at wiki](https://github.com/wekan/wekan/wiki).
1+
Please be nice.
42

Diff for: LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2014-2019 The Wekan Team
3+
Copyright (c) 2014-2021 The Wekan Team
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ Currently this is testing could this work.
55
If anyone is interested in this, please send pull requests to improve this. Thanks!
66

77
[Roadmap](https://github.com/wekan/php/projects/1)
8+

Diff for: SECURITY.md

+8-69
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Security is very important to us. If you discover any issue regarding security, please disclose
2-
the information responsibly by sending an email to security (at) wekan.team and not by
2+
the information responsibly by sending an email to support (at) wekan.team using
3+
[this PGP public key](https://raw.githubusercontent.com/wekan/wekan/master/support-at-wekan.team_pgp-publickey.asc) and not by
34
creating a GitHub issue. We will respond swiftly to fix verifiable security issues.
45

56
We thank you with a place at our hall of fame page, that is
6-
at https://wekan.github.io/hall-of-fame . Others have just posted public GitHub issue,
7-
so they are not at that hall-of-fame page.
7+
at https://wekan.github.io/hall-of-fame
88

99
## How should reports be formatted?
1010

@@ -34,60 +34,12 @@ and we don't have any permissions to do security scans on those donated servers
3434
Please don't perform research that could impact other users. Secondly, please keep
3535
the reports short and succinct. If we fail to understand the logics of your bug, we will tell you.
3636

37-
You can [Install Wekan](https://github.com/wekan/wekan/releases) to your own computer
37+
You can [Install Wekan](https://github.com/wekan/wekan-php/releases) to your own computer
3838
and scan it's vulnerabilities there.
3939

40-
## About Wekan versions
40+
## About Wekan-php versions
4141

42-
There are only 2 versions of Wekan: Standalone Wekan, and Sandstorm Wekan.
43-
44-
### Standalone Wekan Security
45-
46-
Standalone Wekan includes all non-Sandstorm platforms. Some Standalone Wekan platforms
47-
like Snap and Docker have their own specific sandboxing etc features.
48-
49-
Standalone Wekan by default does not load any files from Internet, like fonts, CSS, etc.
50-
This also means all Standalone Wekan functionality works in offline local networks.
51-
Wekan is used by companies that have [thousands of users](https://github.com/wekan/wekan/wiki/AWS) and at healthcare.
52-
53-
Wekan uses xss package for input fields like cards, as you can see from
54-
[package.json](https://github.com/wekan/wekan/blob/devel/package.json). Other used versions can be seen from
55-
[Meteor versions file](https://github.com/wekan/wekan/blob/devel/.meteor/versions).
56-
Forms can include markdown links, html, image tags etc like you see at https://wekan.github.io .
57-
It's possible to add attachments to cards, and markdown/html links to files.
58-
59-
Wekan attachments are not accessible without logging in. Import from Trello works by copying
60-
Trello export JSON to Wekan Trello import page, and in Trello JSON file there is direct links to all publicly
61-
accessible Trello attachment files, that Standalone Wekan downloads directly to Wekan MongoDB database in
62-
[CollectionFS](https://github.com/wekan/wekan/pull/875) format. When Wekan board is exported in
63-
Wekan JSON format, all board attachments are included in Wekan JSON file as base64 encoded text.
64-
That Wekan JSON format file can be imported to Sandstorm Wekan with all the attachments, when we get
65-
latest Wekan version working on Sandstorm, only couple of bugs are left before that. In Sandstorm it's not
66-
possible yet to import from Trello with attachments, because Wekan does not implement Sandstorm-compatible
67-
access to outside of Wekan grain.
68-
69-
Standalone Wekan only has password auth currently, there is work in progress to add
70-
[oauth2](https://github.com/wekan/wekan/pull/1578), [Openid](https://github.com/wekan/wekan/issues/538),
71-
[LDAP](https://github.com/wekan/wekan/issues/119) etc. If you need more login security for Standalone Wekan now,
72-
it's possible add additional [Google Auth proxybouncer](https://github.com/wekan/wekan/wiki/Let's-Encrypt-and-Google-Auth) in front of password auth, and then use Google Authenticator for Google Auth. Standalone Wekan does have [brute force protection with eluck:accounts-lockout and browser-policy clickjacking protection](https://github.com/wekan/wekan/blob/devel/CHANGELOG.md#v080-2018-04-04-wekan-release). You can also optionally use some [WAF](https://en.wikipedia.org/wiki/Web_application_firewall)
73-
like for example [AWS WAF](https://aws.amazon.com/waf/).
74-
75-
[All Wekan Platforms](https://github.com/wekan/wekan/wiki/Platforms)
76-
77-
### Sandstorm Wekan Security
78-
79-
On Sandstorm platform using environment variable Standalone Wekan features like Admin Panel etc are
80-
turned off, because Sandstorm platform provides SSO for all apps running on Sandstorm.
81-
82-
[Sandstorm](https://sandstorm.io) is separate Open Source platform that has been
83-
[security audited](https://sandstorm.io/news/2017-03-02-security-review) and found bugs fixed.
84-
Sandstorm also has passwordless login, LDAP, SAML, Google etc auth options already.
85-
At Sandstorm code is read-only and signed by app maintainers, only grain content can be modified.
86-
Wekan at Sandstorm runs in sandboxed grain, it does not have access elsewhere without user-visible
87-
PowerBox request or opening randomly-generated API key URL.
88-
Also read [Sandstorm Security Practices](https://docs.sandstorm.io/en/latest/using/security-practices/) and
89-
[Sandstorm Security non-events](https://docs.sandstorm.io/en/latest/using/security-non-events/).
90-
For Sandstorm specific security issues you can contact [kentonv](https://github.com/kentonv) by email.
42+
There is only one prototype of Wekan-php, that does not even work yet.
9143

9244
## What Wekan bugs are eligible?
9345

@@ -101,24 +53,11 @@ a security issue, we'd like to know about it, and also how to fix it:
10153
- Authentication bypass
10254
- Server-side code execution
10355

104-
## What Wekan bugs are NOT eligible?
56+
## What Wekan-php bugs are NOT eligible?
10557

10658
Typical already known or "no impact" bugs such as:
10759

108-
- Brute force password guessign. Currently there is
109-
[brute force protection with eluck:accounts-lockout](https://github.com/wekan/wekan/blob/devel/CHANGELOG.md#v080-2018-04-04-wekan-release).
110-
- Security issues related to that Wekan uses Meteor 1.6.0.1 related packages, and upgrading to newer
111-
Meteor 1.6.1 is complicated process that requires lots of changes to many dependency packages.
112-
Upgrading [has been tried many times, spending a lot of time](https://github.com/meteor/meteor/issues/9609)
113-
but there still is issues. Helping with package upgrades is very welcome.
114-
- [Wekan API old tokens not replaced correctly](https://github.com/wekan/wekan/issues/1437)
115-
- Missing Cookie flags on non-session cookies or 3rd party cookies
116-
- Logout CSRF
117-
- Social engineering
118-
- Denial of service
119-
- SSL BEAST/CRIME/etc. Wekan does not have SSL built-in, it uses Caddy/Nginx/Apache etc at front.
120-
Integrated Caddy support is updated often.
121-
- Email spoofing, SPF, DMARC & DKIM. Wekan does not include email server.
60+
- Well, nothing yet, because Wekan-php does not work at all yet.
12261

12362
Wekan is Open Source with MIT license, and free to use also for commercial use.
12463
We welcome all fixes to improve security by email to security (at) wekan.team .

Diff for: install-php-deps.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
sudo apt-get install libcurl4-openssl-dev pkg-config libssl-dev apache2-mod-php
2+
sudo apt install php-pear
3+
sudo pecl channel-update pecl.php.net
4+
sudo pecl install mongodb
5+
echo "php.ini add: extension=mongodb.so"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)