58 Commits

Author SHA1 Message Date
restyled-io[bot]
e9f1b8477a Restyle Updates (#135)
* Restyled by jq

* Restyled by php-cs-fixer

* Restyled by whitespace

Co-authored-by: Restyled.io <commits@restyled.io>
2020-09-05 16:43:48 +01:00
9809b028d4 🐛 Move opening and closing 'main' tags (#132)
* 🐛 Move opening and closing 'main' tags

Signed-off-by: Luke Tainton <luke@tainton.uk>

* Restyled by php-cs-fixer (#133)

Co-authored-by: Restyled.io <commits@restyled.io>

Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
2020-08-31 19:16:33 +01:00
da5d7ffa53 🚧 Migrate from Sentry to GlitchTip (#129)
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-18 20:14:08 +01:00
02c397bca2 Add Sentry (#127)
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-18 18:32:29 +01:00
a4ae987f94 Move break rule in footer (#124)
* Update footer.php

* Change line break to pipe

* Remove full stop

Co-authored-by: Alexander Davis <alex@adcm.uk>
2020-08-18 17:58:07 +01:00
Alexander Davis
26c4f801d3 Broken login (#122)
* Fixing Login Die

* Fix Broken Login 2

* Update footer

* Try Somethin New Today
2020-08-17 17:04:34 +01:00
Alexander Davis
49581da52c Broken login (#121)
* Fixing Login Die

* Fix Broken Login 2
2020-08-17 16:48:13 +01:00
5ff90e0d78 🐛 User not added to DB - force die() on error (#118)
* 🐛 User not added to DB - force die() on error

Signed-off-by: Luke Tainton <luke@tainton.uk>

* Restyled by php-cs-fixer (#119)

Co-authored-by: Restyled.io <commits@restyled.io>

Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
2020-08-17 16:17:06 +01:00
7a4a1074c5 🔧 Push release version to Docker image (#114)
* 🔧 Push release version to Docker image

Signed-off-by: Luke Tainton <luke@tainton.uk>

* Restyle 🔧 Push release version to Docker image (#115)

* Restyled by php-cs-fixer

* Restyled by whitespace

Co-authored-by: Restyled.io <commits@restyled.io>

Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
2020-08-17 12:03:32 +01:00
d574e6b2fe Move mailing list to Google Groups (#101)
*  Move mailing list to Google Groups

* Restyled by php-cs-fixer (#102)

Co-authored-by: Restyled.io <commits@restyled.io>

Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
2020-08-16 18:41:30 +01:00
2e2acbdfb9 🐛 Subscribe link works now (#97)
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-14 22:21:04 +01:00
c18e14299e 🎨 Version upgrades and UI improvements
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-14 21:51:26 +01:00
44073f8903 📈 Add mailing list subscription button (#92)
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-14 17:06:09 +01:00
675ab12908 🎨 Fix get subbed requests functions
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-13 21:42:05 +01:00
c9c9e2f831 🐛 Forgot a semicolon
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-13 21:31:26 +01:00
68fe54a848 🐛 Fix get open subs error
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-13 21:28:24 +01:00
Alexander Davis
071debbf26 📚 Changes to templates (#88)
* 📚 Changes to templates

* Fix broken SQL

Co-authored-by: Luke Tainton <luke@tainton.uk>
2020-08-13 21:11:53 +01:00
50e4345b54 Adding get_open_subscribed_requests 2020-08-13 20:47:39 +01:00
cf61b081c0 [WIP] Subscription management (#63)
* Basic UI

@luketainton please edit lines 120-140 on the editsub and managesub files

*  Add subscription management

Signed-off-by: Luke Tainton <luke@tainton.uk>

*  Add subscription management

Signed-off-by: Luke Tainton <luke@tainton.uk>

* 🐛 Fix incorrect POST variable and add foreach()

Signed-off-by: Luke Tainton <luke@tainton.uk>

* 🎨 Fix file names and add link on view.php

Signed-off-by: Luke Tainton <luke@tainton.uk>

Co-authored-by: Alexander Davis <alex@adcm.uk>
2020-08-10 16:12:57 +01:00
Alexander Davis
df0bf2dcd8 possibly close fix? (#54) 2020-08-09 22:35:21 +01:00
Alexander Davis
df276c708f Update app_functions.php (#53)
* Update app_functions.php

* Fix bootstrap

* Requested Changes
2020-08-09 22:26:40 +01:00
f9e0fc00a3 Displays Only Open Tickets
Index was displaying all requests instead of open requests
2020-08-09 22:06:35 +01:00
f6688e5020 🐛 Fix file download issues
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-09 20:30:01 +01:00
0a57a61e17 Implement file download function
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-09 20:22:04 +01:00
c39a07b2d3 Creation of File list
@luketainton needs to look at line 123 to work out what should be displayed and how to click to download the file.

This should be done in view.php

Creation of get_files script in prereqs.php
2020-08-09 20:22:04 +01:00
9e25c836bb 🐛 Fix request authorisation
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-09 17:15:33 +01:00
671e1826d0 🐛 Fix request authorisation
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-09 17:09:50 +01:00
07eaf4d05d 🐛 Fix 'in_array' function
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-09 17:04:41 +01:00
bab778a638 🐛 Use 'ticket_uuid' instead of non-existent 'uuid'
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-09 16:55:16 +01:00
0079bc5152 🎨 Move SQL functions to prereqs.php for easy reuse (#41)
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-09 16:32:33 +01:00
1f59131dc0 Code refactoring and tidying up
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-09 14:52:54 +01:00
Alexander Davis
53fe551cdf New logo and favicon (#30)
* New Logo

* new logo in readme

* resized logo

* fixed resize

* fix #2

* attempt 3

* 👷 Auto-deploy to production once changes are merged

Signed-off-by: Luke Tainton <luke@tainton.uk>

* Update existing.php

* Update README.md

* Ready for master

* Favicon upload

* Update README.md

* Happy now?

Co-authored-by: Luke Tainton <luke@tainton.uk>
2020-08-06 19:37:17 +01:00
e696a29447 🐛 Add missing curly brace
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-05 19:50:37 +01:00
8360ea3815 Merge branch 'main' into issue-10 2020-08-05 19:12:22 +01:00
d7b86e6a38 🎨 Rename open.php to existing.php
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-05 18:56:13 +01:00
de2a498a35 📈 Remove Sentry/GlitchTip
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-05 18:47:16 +01:00
bbba704df3 Merge branch 'main' into feature/issue-6 2020-08-05 18:40:46 +01:00
1083904c33 📈 Add GlitchTip
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-05 18:40:31 +01:00
8f3b2e0747 🍻 Did some more stuff
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-05 18:35:42 +01:00
97111b371b 🚧 Did some stuff, don't remember exactly what
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-05 18:35:41 +01:00
417c73e8c9 🐛 Fix alerting system for new request form
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-05 18:35:41 +01:00
8ba98174f2 🐛 Fix typo
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-05 18:35:39 +01:00
b8e98126da 🐛 Force remove headers before redirection
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-05 18:35:38 +01:00
13d3175e66 Revert "🐛 Add exit() after header() calls"
This reverts commit 00ad2c6d17.
2020-08-05 18:35:36 +01:00
c1861d874a 🐛 Add exit() after header() calls
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-05 18:35:35 +01:00
5130e61c29 🐛 Rename undefined function
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-05 18:35:34 +01:00
68731a4fd3 🐛 Import prereqs.php in header.php
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-05 18:35:34 +01:00
36059a8679 🐛 Import prereqs.php in header.php
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-05 18:35:33 +01:00
d105cefe61 🎨 Don't use header() to redirect to /login
Signed-off-by: Luke Tainton <luke@tainton.uk>
2020-08-05 18:35:32 +01:00
deb25e1c40 Revert "📈 Add GlitchTip"
This reverts commit d5679a626d.
2020-08-05 18:35:05 +01:00