Commit Graph

178 Commits

Author SHA1 Message Date
Pere Orga 1e6431ef67 perf: optimize favicon.svg 2023-11-30 22:19:44 +01:00
Pere Orga d357318f3d perf: optimize favicon.ico 2023-11-28 19:23:42 +01:00
Pere Orga 755a4a27a8 docs(README): document usage on the CLI 2023-10-09 09:48:25 +02:00
Pere Orga fb0584be3c docs(README): rewrite other examples/branches 2023-10-09 09:31:51 +02:00
Pere Orga 5fdcd58b4c
Merge pull request #60 from phuslu/patch-1
allow modify pad by posting raw data
2023-10-09 09:22:33 +02:00
phuslu fb0f2ea912
allow modify pad by posting raw data
with this changes, we could create/modify pad like below
```bash
curl phus.lu/notes/z -d 'hello,

welcome to my pad!
'
```
2023-10-09 14:23:59 +08:00
Pere Orga 071d5b9fc9 Revert "docs(README): pass query strings in Nginx instructions"
This reverts commit 38459b4d71.
2023-09-17 20:01:56 +02:00
Pere Orga df0ec072f0 docs(README): include slogan of the original project 2023-07-29 12:49:04 +02:00
Pere Orga 38459b4d71 docs(README): pass query strings in Nginx instructions 2023-07-29 09:53:28 +00:00
Pere Orga dab338d966 fix(.htaccess): allow passing raw parameter 2023-07-29 09:46:39 +00:00
Pere Orga 07b8ea7215 chore: add .gitignore with default tmp directory 2023-07-29 09:43:35 +00:00
Pere Orga 8ce8e95b8d php: simplify cache headers 2023-03-04 11:10:33 +01:00
Pere Orga 9100aa8c24 php: improve order inside if condition 2023-03-04 11:05:30 +01:00
Pere Orga 31499d4f21 Improve wording in comments 2023-03-04 10:56:11 +01:00
Pere Orga dac31aa351 replace print file_get_contents() with readfile(), as we do not need to have it in memory 2023-03-04 10:40:52 +01:00
Pere Orga cc38cbf74a Put favicon.ico back, to support Safari and other legacy browsers. 2022-05-02 17:50:44 +02:00
Pere Orga 1e2fb1542a README: improve wording 2021-10-22 00:46:06 +02:00
Pere Orga f32adf4745 README: move branches mention to its own section 2021-10-22 00:44:48 +02:00
Pere Orga b7b5fff82d README: simplify by removing screenshots 2021-10-22 00:37:39 +02:00
Pere Orga c67e14b7b7 index.php: remove generator tag 2021-10-22 00:37:11 +02:00
Pere Orga 31d44ca218 favicon: remove old ico file 2021-10-22 00:36:49 +02:00
Pere Orga cb943fb142 favicon: switch to SVG 2021-10-21 23:59:14 +02:00
Pere Orga 0337ca4d50 favicon: improve file format and size (public domain: https://es.wikipedia.org/wiki/Archivo:Icon-notepad.svg) 2021-10-21 23:57:56 +02:00
Pere Orga a9f7f39b7b README: mention docker branch 2021-08-14 20:27:49 +02:00
Pere Orga 338d07f702 Revert e8f7427 2021-08-14 20:26:14 +02:00
Pere Orga 3452663053 Revert "Dockerfile: fix typos"
This reverts commit 6cd00bd191.
2021-08-14 20:24:34 +02:00
Pere Orga 62fdf80739 Revert "fixed docker php configuration (#36)"
This reverts commit 244886150f.
2021-08-14 20:24:29 +02:00
Pere Orga c1c8a8d1fe Revert "Add support for environment variables (#38)"
This reverts commit 856b031641.
2021-08-14 20:24:20 +02:00
Pere Orga 19f4fc2918 Revert "Improve paths for Docker (#42)"
This reverts commit 39ea593879.
2021-08-14 20:23:21 +02:00
darkdragon-001 39ea593879
Improve paths for Docker (#42)
* Improve paths

- Prefer COPY over ADD as stated in best practices
  https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#add-or-copy
- Use entrypoint to handle save path permissions correctly
- Always use "/var/www"
- Add files explicitely

* Extend docker section in README.
2020-08-01 13:33:05 +02:00
Pere Orga 62b2251d76
css: remove old prefixes 2020-07-19 00:39:27 +02:00
Pere Orga ffadf4cfed
README: Add link to the encryption branch 2020-07-18 20:23:38 +02:00
Pere Orga e69547e6fe
README: Improve markdown style 2020-07-18 20:14:49 +02:00
Pere Orga 03251f5bc8
index.php: improve comment 2020-06-19 23:44:27 +02:00
darkdragon-001 98589f18a9
Also return plain note when using wget tool. (#44) 2020-06-19 23:13:39 +02:00
Jokin 856b031641
Add support for environment variables (#38)
* Support environment variables

* Cosmetics

Co-authored-by: Pere Orga <pereorga@users.noreply.github.com>
2020-03-24 21:33:45 +01:00
worldworm 244886150f fixed docker php configuration (#36) 2019-12-18 22:20:04 +01:00
Pere Orga 6cd00bd191
Dockerfile: fix typos 2019-12-17 22:39:54 +01:00
worldworm e8f7427c69 Added Dockerimage (#35)
* added Dockerfile

* added docker-compose.yml

* added docker instructions

* update docker-compose instructions

* fixed docker apache access-rights

* added docker-compose htaccess restriction
2019-12-17 22:32:00 +01:00
Pere Orga 48834cab22
README: Add new screenshots 2019-11-23 14:37:02 +01:00
Pere Orga 74339eff6f
JS: Call request.send() at the end 2019-10-17 22:21:08 +02:00
Pere Orga 652f276f9f
README: Move screenshots after installation instructions 2019-10-13 21:07:49 +02:00
Pere Orga 9b77620dc1
README: Add screenshots 2019-10-13 21:06:25 +02:00
Pere Orga 786b84fd1f
CSS: Improve dark mode 2019-10-11 22:59:20 +02:00
Pere Orga be3f64d888
CSS: Add dark mode 2019-10-11 17:02:12 +02:00
Pere Orga 43966075c2
index.php: Use single quotes when possible 2019-06-21 15:31:57 +02:00
Pere Orga c7c8c830df
Improve comment 2019-06-21 15:01:29 +02:00
Pere Orga 58047f3278
_tmp/.htaccess: Improve Apache compatibility 2019-06-21 14:55:10 +02:00
Pere Orga fd36231406
Merge commits from https://github.com/espressoelf/minimalist-web-notepad/commits/master (#32)
* Configurable path for our notestorage

* Limit custom names to a reasonable length

* Adding raw output via $_GET request

Also explicitly set text/plain as content-type.

* Use HTTP 404 when requesting a non-existent note

* Update .htaccess
2019-06-21 14:51:13 +02:00
Pere Orga 1f167e6c95
.htaccess: Update comments 2019-04-15 20:41:38 +02:00