chiark / gitweb /
dwim.git
3 years agolots of messing around with fetch() parameters; grok_login_*() now work react-native
Marnanel Thurman [Mon, 20 Dec 2021 00:54:55 +0000 (00:54 +0000)]
lots of messing around with fetch() parameters; grok_login_*() now work

3 years agorm test things
Marnanel Thurman [Mon, 20 Dec 2021 00:54:18 +0000 (00:54 +0000)]
rm test things

3 years agoersatz server checks username without case sensitivity
Marnanel Thurman [Mon, 20 Dec 2021 00:26:43 +0000 (00:26 +0000)]
ersatz server checks username without case sensitivity

3 years agofake-dw --ersatz honours the --host param in its Set-Cookie header
Marnanel Thurman [Sun, 19 Dec 2021 09:00:06 +0000 (09:00 +0000)]
fake-dw --ersatz honours the --host param in its Set-Cookie header

3 years agogrok_login_1 should go to /login, not the root page
Marnanel Thurman [Sun, 19 Dec 2021 08:59:53 +0000 (08:59 +0000)]
grok_login_1 should go to /login, not the root page

3 years agoserver box on login page should have had defaultValue set, not value
Marnanel Thurman [Sun, 19 Dec 2021 08:42:20 +0000 (08:42 +0000)]
server box on login page should have had defaultValue set, not value

3 years agoChallenge and cookies picked up correctly by grok_login_1
Marnanel Thurman [Sun, 19 Dec 2021 08:39:03 +0000 (08:39 +0000)]
Challenge and cookies picked up correctly by grok_login_1

3 years agorm src/index.js, old cordova file
Marnanel Thurman [Sun, 12 Dec 2021 06:33:48 +0000 (06:33 +0000)]
rm src/index.js, old cordova file

3 years agoUse DOMParser instead of JQuery.
Marnanel Thurman [Sun, 12 Dec 2021 06:23:15 +0000 (06:23 +0000)]
Use DOMParser instead of JQuery.

Some further fixes to make use of Promises correctly.

3 years agostringify error objects passed to ui_login_show_message()
Marnanel Thurman [Sun, 12 Dec 2021 06:22:31 +0000 (06:22 +0000)]
stringify error objects passed to ui_login_show_message()

3 years agorm jquery
Marnanel Thurman [Sun, 12 Dec 2021 04:49:16 +0000 (04:49 +0000)]
rm jquery

3 years agoIntermediate checkin. Fixing up promises. Reformatted somewhat. jQuery isn't working.
Marnanel Thurman [Sun, 12 Dec 2021 00:42:07 +0000 (00:42 +0000)]
Intermediate checkin. Fixing up promises. Reformatted somewhat. jQuery isn't working.

3 years agoMake ersatz username and password globals, and print their values on startup
Marnanel Thurman [Sat, 11 Dec 2021 21:01:20 +0000 (21:01 +0000)]
Make ersatz username and password globals, and print their values on startup

3 years agoAdded --host (-H) option to fake-dw, and made it print its address to make debugging...
Marnanel Thurman [Sat, 11 Dec 2021 20:56:21 +0000 (20:56 +0000)]
Added --host (-H) option to fake-dw, and made it print its address to make debugging easier.

3 years agoStart of moving to expo.
Marnanel Thurman [Fri, 10 Dec 2021 23:58:57 +0000 (23:58 +0000)]
Start of moving to expo.

grok.js still doesn't work because it relies on the cordova advanced-http library.

Moved images to the new correct folder.

3 years ago+webpack-config
Marnanel Thurman [Fri, 10 Dec 2021 23:57:10 +0000 (23:57 +0000)]
+webpack-config

3 years agolavender-dream -> assets/images
Marnanel Thurman [Thu, 9 Dec 2021 23:07:27 +0000 (23:07 +0000)]
lavender-dream -> assets/images

3 years agosvg for splash screen
Marnanel Thurman [Tue, 7 Dec 2021 19:02:49 +0000 (19:02 +0000)]
svg for splash screen

3 years agoNot sure why React wants a font here, but here it is
Marnanel Thurman [Tue, 7 Dec 2021 19:02:20 +0000 (19:02 +0000)]
Not sure why React wants a font here, but here it is

3 years agoAdd new icons, and move the old ones into the new place
Marnanel Thurman [Tue, 7 Dec 2021 18:59:54 +0000 (18:59 +0000)]
Add new icons, and move the old ones into the new place

3 years agoersatz fake-dw gets a front page, for completeness
Marnanel Thurman [Sun, 5 Dec 2021 00:29:16 +0000 (00:29 +0000)]
ersatz fake-dw gets a front page, for completeness

3 years agoadd documentation about testing on iOS and Windows; also rejig paras further down main
Marnanel Thurman [Sat, 4 Dec 2021 23:17:54 +0000 (23:17 +0000)]
add documentation about testing on iOS and Windows; also rejig paras further down

3 years agorm link to image bc I can't figure out how to get markdown to honour it
Marnanel Thurman [Sat, 4 Dec 2021 23:14:45 +0000 (23:14 +0000)]
rm link to image bc I can't figure out how to get markdown to honour it

3 years agolinks to repos; trying again
Marnanel Thurman [Sat, 4 Dec 2021 23:13:07 +0000 (23:13 +0000)]
links to repos; trying again

3 years agolinks to repos
Marnanel Thurman [Sat, 4 Dec 2021 23:11:22 +0000 (23:11 +0000)]
links to repos

3 years agolink dreamwidth.org; attempt to fix image credit
Marnanel Thurman [Sat, 4 Dec 2021 23:07:37 +0000 (23:07 +0000)]
link dreamwidth.org; attempt to fix image credit

3 years agoImages for readme
Marnanel Thurman [Sat, 4 Dec 2021 23:00:10 +0000 (23:00 +0000)]
Images for readme

3 years agofirst try at a readme
Marnanel Thurman [Sat, 4 Dec 2021 22:59:09 +0000 (22:59 +0000)]
first try at a readme

3 years agoadd yarn.lock to .gitignore
Marnanel Thurman [Sat, 4 Dec 2021 22:09:31 +0000 (22:09 +0000)]
add yarn.lock to .gitignore

3 years agominified javascript
Marnanel Thurman [Sat, 4 Dec 2021 22:08:56 +0000 (22:08 +0000)]
minified javascript

3 years agoindex.css
Marnanel Thurman [Sat, 4 Dec 2021 22:08:28 +0000 (22:08 +0000)]
index.css

3 years agoadd package-lock.json and index.bundle.js to .gitignore
Marnanel Thurman [Sat, 4 Dec 2021 22:08:07 +0000 (22:08 +0000)]
add package-lock.json and index.bundle.js to .gitignore

3 years agoDisplay appropriate error messages on login failure.
Marnanel Thurman [Sat, 4 Dec 2021 21:49:57 +0000 (21:49 +0000)]
Display appropriate error messages on login failure.

3 years agoMiscellaneous UI fixes. Works a lot better now.
Marnanel Thurman [Fri, 3 Dec 2021 22:48:47 +0000 (22:48 +0000)]
Miscellaneous UI fixes. Works a lot better now.

3 years agoAdded grok_set_url() for encapsulation.
Marnanel Thurman [Fri, 3 Dec 2021 22:47:38 +0000 (22:47 +0000)]
Added grok_set_url() for encapsulation.

If you're using the browser, add a message to tell you you're using the browser.

3 years agoSet fields properly in config.xml, and added the Android icons
Marnanel Thurman [Fri, 3 Dec 2021 22:47:14 +0000 (22:47 +0000)]
Set fields properly in config.xml, and added the Android icons

3 years agoAndroid icons, and the SVG source
Marnanel Thurman [Fri, 3 Dec 2021 22:45:53 +0000 (22:45 +0000)]
Android icons, and the SVG source

3 years agoonclick code for the login page so logins work
Marnanel Thurman [Tue, 30 Nov 2021 21:01:30 +0000 (21:01 +0000)]
onclick code for the login page so logins work

3 years agoLogin page has the login form on it. dwim.css added.
Marnanel Thurman [Tue, 30 Nov 2021 21:01:02 +0000 (21:01 +0000)]
Login page has the login form on it. dwim.css added.

3 years agoLavender Dream, by de:User:Huhu
Marnanel Thurman [Tue, 30 Nov 2021 19:44:01 +0000 (19:44 +0000)]
Lavender Dream, by de:User:Huhu

https://commons.wikimedia.org/wiki/File:Lavender_Dream_(Interplant_1985).jpg

3 years agorm dependency on jssoup-- jquery already does all this
Marnanel Thurman [Tue, 30 Nov 2021 19:00:20 +0000 (19:00 +0000)]
rm dependency on jssoup-- jquery already does all this

3 years agoFix needed for changes in webpack
Marnanel Thurman [Mon, 29 Nov 2021 23:21:20 +0000 (23:21 +0000)]
Fix needed for changes in webpack

3 years agojquery template for the ui
Marnanel Thurman [Mon, 29 Nov 2021 22:48:03 +0000 (22:48 +0000)]
jquery template for the ui

3 years agoset some fields in package.json correctly; removed cordova-plugin-webpack because...
Marnanel Thurman [Mon, 29 Nov 2021 22:47:12 +0000 (22:47 +0000)]
set some fields in package.json correctly; removed cordova-plugin-webpack because it was causing trouble

3 years agoersatz fake-dw gives correct messages on username and password failure
Marnanel Thurman [Mon, 29 Nov 2021 21:29:51 +0000 (21:29 +0000)]
ersatz fake-dw gives correct messages on username and password failure

3 years agoAdd login2.
Marnanel Thurman [Sun, 28 Nov 2021 23:32:42 +0000 (23:32 +0000)]
Add login2.

Using tough-cookie for cookie manipulation.

3 years agofake-dw gains POST support; more error messages; checks headers; adds the "logged...
Marnanel Thurman [Sun, 28 Nov 2021 23:31:09 +0000 (23:31 +0000)]
fake-dw gains POST support; more error messages; checks headers; adds the "logged in" page to the ersatz handler

3 years agoFirst working grok function-- login1
Marnanel Thurman [Sat, 27 Nov 2021 18:11:51 +0000 (18:11 +0000)]
First working grok function-- login1

3 years agodeclare variable with var
Marnanel Thurman [Sat, 27 Nov 2021 18:11:31 +0000 (18:11 +0000)]
declare variable with var

3 years agofake-dw's gateway mode checks the upstream URL correctly
Marnanel Thurman [Sat, 27 Nov 2021 18:10:59 +0000 (18:10 +0000)]
fake-dw's gateway mode checks the upstream URL correctly

3 years agoIntroducing grok.js. And some tidying.
Marnanel Thurman [Sat, 27 Nov 2021 17:35:40 +0000 (17:35 +0000)]
Introducing grok.js. And some tidying.

3 years agoInitial .babelrc and .gitignore
Marnanel Thurman [Sat, 27 Nov 2021 17:35:06 +0000 (17:35 +0000)]
Initial .babelrc and .gitignore

3 years agoTidied /login template
Marnanel Thurman [Fri, 26 Nov 2021 18:55:18 +0000 (18:55 +0000)]
Tidied /login template

3 years agoTest code in src/index.js loads from default port and loads a page that actually...
Marnanel Thurman [Fri, 26 Nov 2021 18:50:56 +0000 (18:50 +0000)]
Test code in src/index.js loads from default port and loads a page that actually exists

3 years agoFix ersatz server so it actually serves stuff.
Marnanel Thurman [Fri, 26 Nov 2021 18:44:17 +0000 (18:44 +0000)]
Fix ersatz server so it actually serves stuff.

Rm accidental hotlinking of images in template, and rm included headers.

3 years agorm old constants
Marnanel Thurman [Fri, 26 Nov 2021 18:12:46 +0000 (18:12 +0000)]
rm old constants

3 years agoicon
Marnanel Thurman [Fri, 26 Nov 2021 17:56:05 +0000 (17:56 +0000)]
icon

3 years agoinitial
Marnanel Thurman [Fri, 26 Nov 2021 17:50:52 +0000 (17:50 +0000)]
initial