Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow use of non-random pad names #95

Open
digital-codes opened this issue Mar 29, 2020 · 1 comment
Open

Allow use of non-random pad names #95

digital-codes opened this issue Mar 29, 2020 · 1 comment

Comments

@digital-codes
Copy link

We would like to use pads with specific names, like codeforka-2020-03-29
For the moment I accomplish this by overweriting the random token with the name of the pad in lib/OwnpadService.php like so:
$padID = explode(".pad",$padname)[0];

It would be nice to have this as a configurable option from the ownpad server settings. This also relates to issues #78 (configuablesuffix) and #7 (existing pads). I tried this for opening existing pads and it works OK. I would be willing to help on the settings GUI once I know where to look for the files.

@fwolfst
Copy link
Contributor

fwolfst commented Apr 3, 2020

Small correction: its apps/ownpad/lib/Service/OwnpadService.php (line 43).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants