Skip to content

Commit e6cc88e

Browse files
authored
Additonal website url and reditrect fixes (#4519)
* Fixed URLs for wordpress login. Fixed redirect logic for PDF guide * Fixed RSS paths and content
1 parent b61a846 commit e6cc88e

28 files changed

+31
-205
lines changed

.github/workflows/website-docs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ jobs:
8383
test -f docs/website/public/_redirects
8484
grep -Eq '^/files/developer-guide\.pdf https://github\.com/codenameone/CodenameOne/releases/download/.+/developer-guide\.pdf 302$' docs/website/public/_redirects
8585
86+
- name: Validate RSS output and alias
87+
run: |
88+
set -euo pipefail
89+
test -f docs/website/public/blog/index.xml
90+
test ! -f docs/website/public/index.xml
91+
grep -Eq '^/feed\.xml /blog/index\.xml 302$' docs/website/public/_redirects
92+
8693
- name: Upload built site artifact
8794
uses: actions/upload-artifact@v4
8895
with:

docs/website/content/blog/a-new-pipeline-for-windows-phone.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ _This post was automatically migrated from the legacy Codename One blog. The ori
6565
> Anonymous says:
6666
>
6767
> Still some minor bugs but way better than the previous support. Keep up the good work !
68-
>
69-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fa-new-pipeline-for-windows-phone.html)
7068
7169

7270
### **Anonymous** — April 28, 2014 at 10:27 am ([permalink](https://www.codenameone.com/blog/a-new-pipeline-for-windows-phone.html#comment-21837))

docs/website/content/blog/android-migration-tool.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,26 +49,20 @@ _This post was automatically migrated from the legacy Codename One blog. The ori
4949
> Gareth Murfin says:
5050
>
5151
> What a great idea, many Android devs looking to produce iOS ports end up thinking about using Codename One. As you say resources are so very different, I found learning Android GUI dev much harder than learning CN1 GUI dev (but previously I was into Swing, J2ME, LWUIT etc). I think one of the main paradigm shifts that is hard to learn is the lack of “activities”. That is in Android each screen has its own class and it starts to feel nice and correct (more OO/modular or something :)) – and when you go to CN1 it is very strange to have everything more “old school” in one or 2 classes. If it were possible it would be good if each screen in cn1 could actually be a separate class, so when you create an event for postShow or something it doesnt go into statemachine but a class called for example Splash(), and with a method postMain() in there. This would make it far easier to navigate projects and understand them (new coders have been scared of even looking at my gargantuan statemachines, preferring to do a rewrite(!)). Just a suggestion of course, and we could easily do this ourself by simply making calls from StateMachine to custom classes we can make for each screen, which is actually what I am planing on doing in my next cn1 app. Current I mostly have one large statemachine, another class holding the business logic that is called on from statemachine, and then a pile of POJOs.
52-
>
53-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fandroid-migration-tool.html)
5452
5553

5654
### **bryan** — July 27, 2016 at 9:08 pm ([permalink](https://www.codenameone.com/blog/android-migration-tool.html#comment-22906))
5755

5856
> bryan says:
5957
>
6058
> A class per screen/form is the “new” way to do CN1, and the way the new GUI builder works, so this porting tool would do that.
61-
>
62-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fandroid-migration-tool.html)
6359
6460

6561
### **Shai Almog** — July 28, 2016 at 4:18 am ([permalink](https://www.codenameone.com/blog/android-migration-tool.html#comment-22706))
6662

6763
> Shai Almog says:
6864
>
6965
> Yep. I mentioned this uses the new GUI builder so it’s one form class per layout.
70-
>
71-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fandroid-migration-tool.html)
7266
7367
---
7468

docs/website/content/blog/automatically-install-update-distribute-cn1libs-extensions.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ _This post was automatically migrated from the legacy Codename One blog. The ori
7070
> How best can I handle this? Make two separate CN1libs (e.g. Parse4CN1.Push and Parse4CN1.NoPush)? Ideas are most welcome.
7171
>
7272
> Can’t wait to try this out 🙂
73-
>
74-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fautomatically-install-update-distribute-cn1libs-extensions.html)
7573
7674

7775
### **Shai Almog** — June 9, 2016 at 3:50 am ([permalink](https://www.codenameone.com/blog/automatically-install-update-distribute-cn1libs-extensions.html#comment-22892))
@@ -81,33 +79,25 @@ _This post was automatically migrated from the legacy Codename One blog. The ori
8179
> We wanted the current version to be as simple as possible and the only complexity we really tried to solve was relatively simple dependency management. So I don’t see another way other than the one you suggested.
8280
>
8381
> FYI parse4cn1 is already in the current repository (we added most of our existing cn1libs section). At the moment we didn’t take that strategy and it’s listed as the standard cn1lib.
84-
>
85-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fautomatically-install-update-distribute-cn1libs-extensions.html)
8682
8783

8884
### **Chidiebere Okwudire** — June 9, 2016 at 7:47 am ([permalink](https://www.codenameone.com/blog/automatically-install-update-distribute-cn1libs-extensions.html#comment-22696))
8985

9086
> Yeah, I already peeped at the git repo. The version number is also incorrect but that’s no problem. I’ll fix it within the coming update hopefully next week. At the time, I’ll also split it up
91-
>
92-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fautomatically-install-update-distribute-cn1libs-extensions.html)
9387
9488

9589
### **Shai Almog** — June 9, 2016 at 8:05 am ([permalink](https://www.codenameone.com/blog/automatically-install-update-distribute-cn1libs-extensions.html#comment-22810))
9690

9791
> Shai Almog says:
9892
>
9993
> Notice that this isn’t the “actual” version number. It’s the version in our repo which is an integer. We use this to determine if there is an update only and this isn’t displayed to the user… So the number is fine in that sense.
100-
>
101-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fautomatically-install-update-distribute-cn1libs-extensions.html)
10294
10395

10496
### **Chidiebere Okwudire** — June 17, 2016 at 8:30 am ([permalink](https://www.codenameone.com/blog/automatically-install-update-distribute-cn1libs-extensions.html#comment-22817))
10597

10698
> Chidiebere Okwudire says:
10799
>
108100
> Good point. By the way, do the IDEs automatically detect updates of the github repo is are the changes only available after the weekly cn1 updates?
109-
>
110-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fautomatically-install-update-distribute-cn1libs-extensions.html)
111101
112102

113103
### **Shai Almog** — June 17, 2016 at 11:51 am ([permalink](https://www.codenameone.com/blog/automatically-install-update-distribute-cn1libs-extensions.html#comment-22709))
@@ -117,17 +107,13 @@ _This post was automatically migrated from the legacy Codename One blog. The ori
117107
> Neither. It’s a separate process where we manually deploy the changes to the [codenameone.com](<http://codenameone.com>) website. We try to be quick about it but there is also caching from CDN and it’s a manual thing.
118108
>
119109
> The logic is that we want the ability to migrate hosting. In the past we had an update center for NetBeans on Google code and it seems some people were still using it until now… In the future github might come down on partial binary hosting and we’d like such an eventuality to be seamless to our users.
120-
>
121-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fautomatically-install-update-distribute-cn1libs-extensions.html)
122110
123111

124112
### **Jérémy MARQUER** — August 9, 2016 at 10:15 am ([permalink](https://www.codenameone.com/blog/automatically-install-update-distribute-cn1libs-extensions.html#comment-22970))
125113

126114
> Jérémy MARQUER says:
127115
>
128116
> Hey. I cannot access to the new Preferences UI of CN1 with eclipse. My cn1 plugin version is “1.0.0.201608062027”. Thanks.
129-
>
130-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fautomatically-install-update-distribute-cn1libs-extensions.html)
131117
132118

133119
### **Shai Almog** — August 10, 2016 at 5:37 am ([permalink](https://www.codenameone.com/blog/automatically-install-update-distribute-cn1libs-extensions.html#comment-22470))
@@ -137,8 +123,6 @@ _This post was automatically migrated from the legacy Codename One blog. The ori
137123
> Hi,
138124
> is this on a Mac or a PC?
139125
> Are you using JDK 8 to run Eclipse (you need to set it up in eclipse.ini)?
140-
>
141-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fautomatically-install-update-distribute-cn1libs-extensions.html)
142126
143127

144128
### **Jérémy MARQUER** — August 10, 2016 at 7:09 am ([permalink](https://www.codenameone.com/blog/automatically-install-update-distribute-cn1libs-extensions.html#comment-22734))
@@ -148,8 +132,6 @@ _This post was automatically migrated from the legacy Codename One blog. The ori
148132
> On a PC. Yes sure, I launch Eclipse with this flag
149133
> “-vm
150134
> C:/Program Files/Java/jre1.8.0_77/bin/javaw.exe”
151-
>
152-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fautomatically-install-update-distribute-cn1libs-extensions.html)
153135
154136

155137
### **Shai Almog** — August 11, 2016 at 4:41 am ([permalink](https://www.codenameone.com/blog/automatically-install-update-distribute-cn1libs-extensions.html#comment-21456))
@@ -159,36 +141,27 @@ _This post was automatically migrated from the legacy Codename One blog. The ori
159141
> Check that you have the GUIBuilder jar at c:myuserhomedir.codenameoneguibuilder_1.jar
160142
>
161143
> Assuming it’s there try running it from command line using java -jar c:myuserhomedir.codenameoneguibuilder_1.jar -settings path_to_project[codenameone_settings.proper…](<http://codenameone_settings.properties>) are there any errors printed to the console?
162-
>
163-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fautomatically-install-update-distribute-cn1libs-extensions.html)
164-
165144
166145
### **Jérémy MARQUER** — August 11, 2016 at 7:12 am ([permalink](https://www.codenameone.com/blog/automatically-install-update-distribute-cn1libs-extensions.html#comment-22557))
167146

168147
> Jérémy MARQUER says:
169148
>
170149
> As I expected, I obtain the old settings UI (not the latest I think) …
171150
> (and no errors printed)
172-
>
173-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fautomatically-install-update-distribute-cn1libs-extensions.html)
174151
175152

176153
### **Shai Almog** — August 12, 2016 at 4:16 am ([permalink](https://www.codenameone.com/blog/automatically-install-update-distribute-cn1libs-extensions.html#comment-22903))
177154

178155
> Shai Almog says:
179156
>
180157
> That’s a problem. We’ll look into it.
181-
>
182-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fautomatically-install-update-distribute-cn1libs-extensions.html)
183158
184159

185160
### **Jérémy MARQUER** — August 17, 2016 at 4:31 pm ([permalink](https://www.codenameone.com/blog/automatically-install-update-distribute-cn1libs-extensions.html#comment-22635))
186161

187162
> Jérémy MARQUER says:
188163
>
189164
> It’s ok, thanks.
190-
>
191-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fautomatically-install-update-distribute-cn1libs-extensions.html)
192165
193166

194167
### **Julien Sosin** — December 5, 2017 at 3:24 pm ([permalink](https://www.codenameone.com/blog/automatically-install-update-distribute-cn1libs-extensions.html#comment-23705))
@@ -198,8 +171,6 @@ _This post was automatically migrated from the legacy Codename One blog. The ori
198171
> Hi !
199172
>
200173
> How can I delete a lib ? I tried CodeScanner but it looks deprecated and I can’t build iOS app anymore :/
201-
>
202-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fautomatically-install-update-distribute-cn1libs-extensions.html)
203174
204175

205176
### **Shai Almog** — December 6, 2017 at 9:11 am ([permalink](https://www.codenameone.com/blog/automatically-install-update-distribute-cn1libs-extensions.html#comment-23713))
@@ -208,8 +179,6 @@ _This post was automatically migrated from the legacy Codename One blog. The ori
208179
>
209180
> Hi,
210181
> there is currently no standard uninstaller but it shouldn’t be too hard. See the instructions I posted here: [https://stackoverflow.com/a…](<https://stackoverflow.com/a/46986250/756809>)
211-
>
212-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fautomatically-install-update-distribute-cn1libs-extensions.html)
213182
214183
---
215184

docs/website/content/blog/cats-in-toolbars.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,44 +56,34 @@ _This post was automatically migrated from the legacy Codename One blog. The ori
5656
> Anonymous says:
5757
>
5858
> That’s an interesting demo. I notice that there is no back behaviour (i.e. on Android the hardware back key exits the application, irrespective of which form you are on).
59-
>
60-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fcats-in-toolbars.html)
6159
6260

6361
### **Anonymous** — January 6, 2015 at 7:45 am ([permalink](https://www.codenameone.com/blog/cats-in-toolbars.html#comment-22226))
6462

6563
> Anonymous says:
6664
>
6765
> Is it possible to mix SideMenuBar with native android action bar in the same app now? For example one form i might want to use the SideMenuBar, but the next form, I might want to use the android action bar?
68-
>
69-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fcats-in-toolbars.html)
7066
7167

7268
### **Anonymous** — January 7, 2015 at 5:08 am ([permalink](https://www.codenameone.com/blog/cats-in-toolbars.html#comment-22062))
7369

7470
> Anonymous says:
7571
>
7672
> Yes, should be possible with the Toolbar
77-
>
78-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fcats-in-toolbars.html)
7973
8074

8175
### **Anonymous** — January 7, 2015 at 6:41 am ([permalink](https://www.codenameone.com/blog/cats-in-toolbars.html#comment-22199))
8276

8377
> Anonymous says:
8478
>
8579
> Thanks Chen, very good work!
86-
>
87-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fcats-in-toolbars.html)
8880
8981

9082
### **Anonymous** — January 7, 2015 at 8:43 am ([permalink](https://www.codenameone.com/blog/cats-in-toolbars.html#comment-21606))
9183

9284
> Anonymous says:
9385
>
9486
> What a great feature. Will this be available on iOS too? And is it possible to zoom in the cat image when you tensileDrag the container down?
95-
>
96-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fcats-in-toolbars.html)
9787
9888

9989
### **Anonymous** — January 7, 2015 at 6:17 pm ([permalink](https://www.codenameone.com/blog/cats-in-toolbars.html#comment-21951))
@@ -103,8 +93,6 @@ _This post was automatically migrated from the legacy Codename One blog. The ori
10393
> This feature is available to all supported platforms.
10494
>
10595
> Zoom in should be possible, I suggest you to check out the new Flickr Demo from the project svn and have a look at the code.
106-
>
107-
> [Log in to Reply](https://www.codenameone.com/wp-login.php?redirect_to=https%3A%2F%2Fwww.codenameone.com%2Fblog%2Fcats-in-toolbars.html)
10896
10997

11098
### **Anonymous** — January 8, 2015 at 5:52 am ([permalink](https://www.codenameone.com/blog/cats-in-toolbars.html#comment-22089))

0 commit comments

Comments
 (0)