6a80db7844 
								
							
								 
							
						 
						
							
							
								
								Enable support for sharing urls in SAE.  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								5dde17d939 
								
							
								 
							
						 
						
							
							
								
								Show approval/caption view in app.  
							
							... 
							
							
							
							ApprovalView/Captioning is shown for:
- Images/Videos from Library
- Images/Video from Camera
- Document Picker
- GIFs
Voice notes are intentionally not captionable.
Also, in main app, hide status bar when ApprovalView is presented
// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								94d58b88b8 
								
							
								 
							
						 
						
							
							
								
								Play video inline in approval view  
							
							... 
							
							
							
							Previously we launched the MPMoviePlayerController
// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0c6a42003f 
								
							
								 
							
						 
						
							
							
								
								clang-format after RI  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a423fe8a0e 
								
							
								 
							
						 
						
							
							
								
								WIP Merge tag '2.19.4.4'  
							
							... 
							
							
							
							- restore video playback in fullscreen
This was a large merge, so I'm opting to make some changes in separate
commits. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e77c3e6717 
								
							
								 
							
						 
						
							
							
								
								Retain changes from session database branch.  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3a6ddd4bf8 
								
							
								 
							
						 
						
							
							
								
								CR: cleanup  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								6e2d9c8141 
								
							
								 
							
						 
						
							
							
								
								identity change vs. share extension  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								6b5883dc10 
								
							
								 
							
						 
						
							
							
								
								Don't resize attachment view when switching between alerts.  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								01fa3c89cc 
								
							
								 
							
						 
						
							
							
								
								CR: cleanup comments, extract callback into method  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b87079d4b4 
								
							
								 
							
						 
						
							
							
								
								Sharing attachment shows progress / retry dialog  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								42ea1dfbbe 
								
							
								 
							
						 
						
							
							
								
								CR: more margin, match button size to default text field, fix layout  
							
							... 
							
							
							
							when rotated.
There was an issue with captions changing line-count when rotated.
// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								7907a64dfe 
								
							
								 
							
						 
						
							
							
								
								move gradient up with keyboard  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								653a272b54 
								
							
								 
							
						 
						
							
							
								
								Don't obscure attachment when keyboard is popped.  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								38d94952f7 
								
							
								 
							
						 
						
							
							
								
								Shadow for Send button, clean up color accessors  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								cfa147831a 
								
							
								 
							
						 
						
							
							
								
								"Done" button for caption toolbar  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								9eb4178c6f 
								
							
								 
							
						 
						
							
							
								
								style for captioning toolbar  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								513e33b0fd 
								
							
								 
							
						 
						
							
							
								
								Cleanup before code review  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								2c20cb9e7b 
								
							
								 
							
						 
						
							
							
								
								make sure mediaview isn't too tall in detail view  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0e9c9a9bb3 
								
							
								 
							
						 
						
							
							
								
								Separate gestures for text/vs media  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e20f44024c 
								
							
								 
							
						 
						
							
							
								
								WIP: Support sending attachment captions  
							
							... 
							
							
							
							Looks fine on other clients, but locally we don't display the caption.
// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0964c16417 
								
							
								 
							
						 
						
							
							
								
								cleanup, plus ill fated attempt to offset content beyond keyboard height.  
							
							... 
							
							
							
							Probably should just pin scrollview above initial toolbar height. I
think it's somewhat convoluted because of the scroll view zoom
functionality that we already use in this view.
// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								26be69975a 
								
							
								 
							
						 
						
							
							
								
								cleanup constraint based layout  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3a078c831d 
								
							
								 
							
						 
						
							
							
								
								lays out in iOS11, but doesn't resize  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								03e786a145 
								
							
								 
							
						 
						
							
							
								
								input toolbar looks good on iOS9/10, but totally broken on 11  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								96906440a7 
								
							
								 
							
						 
						
							
							
								
								remove height animation, ensure growing text area has content in proper  
							
							... 
							
							
							
							place.
// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								562e706ec9 
								
							
								 
							
						 
						
							
							
								
								animate height change, but looks goofy  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a5c5dd3f96 
								
							
								 
							
						 
						
							
							
								
								WIP, extract subclass  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								9ee9a0efeb 
								
							
								 
							
						 
						
							
							
								
								resizing input accessory view.  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f9524b02e2 
								
							
								 
							
						 
						
							
							
								
								multiline must be textview, not textfield  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								57a5e62db8 
								
							
								 
							
						 
						
							
							
								
								WIP - attachment caption  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								9a990b58e8 
								
							
								 
							
						 
						
							
							
								
								Respond to CR.  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								6fb5990faa 
								
							
								 
							
						 
						
							
							
								
								Don't zoom for audio/generic attachments  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								73b215229f 
								
							
								 
							
						 
						
							
							
								
								Fixup approval view for audio and generic attachments  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								813f4e474e 
								
							
								 
							
						 
						
							
							
								
								Respond to CR  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8996741277 
								
							
								 
							
						 
						
							
							
								
								DocumentPicker converts to mp4 when necessary  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								031e40d090 
								
							
								 
							
						 
						
							
							
								
								Use SignalAttachment logic in conversation view too  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								56f1bf0305 
								
							
								 
							
						 
						
							
							
								
								cleanup  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								90e9b4a4f2 
								
							
								 
							
						 
						
							
							
								
								WIP - send all video types  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								538b3e5fd5 
								
							
								 
							
						 
						
							
							
								
								Async API for video export  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								21fd7b040e 
								
							
								 
							
						 
						
							
							
								
								Ensure sent video is mp4  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d3e7c99a63 
								
							
								 
							
						 
						
							
							
								
								Attachment approval: cancel/confirm to top/bottom toolbars  
							
							... 
							
							
							
							- avoid double-submit by disabling after hitting send.
- Animate SAE dismissal as modal
  Requires hiding the load view
- attachment is centered in screen
- add gradient to ensure controls are visible
- Fix clamp constraints - I think this was a typo
  Otherwise we couldn't show an image which was 1" wide by 2" tall
- set max zoom, hide scroll indicators
- use media view
- slower panning feels right
- white send button
- can share GIF, static, and sort of video...
- Play button for attachment approval
  - move to image assets so we can use it in SAE
  - slightly larger button for full-screen approval view
  - don't launch redundant fullscreen UI for images when in approval view
- fix scrollOffset in AttachmentApproval
- consolidate view initialization logic in loadView and fix white background
- CR: more legible arithmetic
// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								bf09c805b9 
								
							
								 
							
						 
						
							
							
								
								Respond to CR.  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c918279597 
								
							
								 
							
						 
						
							
							
								
								Convert image attachment thresholds to be based on file size.  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								80ae5e0fcf 
								
							
								 
							
						 
						
							
							
								
								Respond to CR.  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								11b4848530 
								
							
								 
							
						 
						
							
							
								
								Respond to CR.  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								84061cca9f 
								
							
								 
							
						 
						
							
							
								
								Change image resizing/quality behavior, preferring smaller images in the common case.  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								55aa5eef6c 
								
							
								 
							
						 
						
							
							
								
								Clean up ahead of PR.  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								125aabb0a3 
								
							
								 
							
						 
						
							
							
								
								Change image resizing/quality behavior, preferring smaller images in the common case.  
							
							
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d9cca77e23 
								
							
								 
							
						 
						
							
							
								
								update header references  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3ecf0a7537 
								
							
								 
							
						 
						
							
							
								
								Cancelling dismisses share extension, remove "import with signal"  
							
							... 
							
							
							
							Usinig the new ShareViewDelegate to dismiss the share extension, might
have broken the "import with signal" functionality. But because we
want to remove it anyway, I've done that now, rather than fix it up.
// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								0429836ff9 
								
							
								 
							
						 
						
							
							
								
								CR: rename keyWindow -> keyReferenceView, split long line  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3f6f881d3f 
								
							
								 
							
						 
						
							
							
								
								Use assets from duplicated main bundle  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								eca19e5874 
								
							
								 
							
						 
						
							
							
								
								Reconcile MediaMessageView zoom behavior with AppExtension  
							
							... 
							
							
							
							Previously it was predicated on UIApplication.shared
// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								3eceb86371 
								
							
								 
							
						 
						
							
							
								
								Show alert if we fail to build the attachment  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								89b9887f1d 
								
							
								 
							
						 
						
							
							
								
								Make DeviceSleepManager extension compatible  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e20072ff2b 
								
							
								 
							
						 
						
							
							
								
								CR: remove bundle specific image assets  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								56fe9d057d 
								
							
								 
							
						 
						
							
							
								
								Attachment Approval  
							
							... 
							
							
							
							// FREEBIE 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a58f1f385c 
								
							
								 
							
						 
						
							
							
								
								Share a photo from photos app  
							
							... 
							
							
							
							Shows the conversation picker, and sends the attachment to that
conversation.
There's still a lot TODO
-[ ] resolve JSQ dependency
-[ ] properly wait for app to load
-[ ] dismiss share extension after send is complete
-[ ] support non jpeg file types
-[ ] Fix device sleep manager
// FREEBIE 
							
						 
						
							8 years ago